A man looking at a screen at the New York Stock ExchangeMichael Nagle/Xinhua via Getty ImagesThe NYSE will cancel trades after a glitch caused halts for 40 stocks, including Berkshire Hathaway.The glitch caused Berkshire Hathaway to appear to trade at a 99% discount.The technical issue lasted two hours and was linked to the Consolidated Tape Association's software.The New York Stock Exchange said it will cancel trades made after a glitch caused trading halts for 40 stocks on Monday morning — including Berkshire Hathaway, which appeared to trade at a 99% discount.Class A shares of the Warren Buffett company appeared to trade at $185.10 per share before a trading halt kicked in.