This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Linux, today's fresh build I'm getting similar relatively often. Not sure if it is duplicate of something. Now the exception behavior seemed to me somehow original ;) Hard to get rid of it (typing furiously ctrl-z). See the attached log. Not reproducible as usually with this kind.
Created attachment 45433 [details] log.txt
This looks like a duplicate of various lexer bugs that were fixed recently (specifically on Monday), so closing as fixed.