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.
This was encountered while verifying issue 101119. To reproduce: 1) Create new Web project with default values 2) Edit your index.jsp to the following result (the | char is where your cursor should be): ... <body> <h2>Hello World!</h2> <h3>${1+2}</h3>| </body> ... 3) Press Backspace 5 times (deleting '}</h3>') ERROR: java.lang.IndexOutOfBoundsException (see attached file and issue 137685) 4) Select the entire line and delete it ERROR: java.lang.ArrayIndexOutOfBoundsException (see attached file) ERROR: Code coloring and CC is broken, everything from doctype declaration to </html> is treated like a plain text 5) Type anything anywhere ERROR: java.lang.AssertionError occurs after each char typed (see attached file)
Created attachment 63071 [details] First exception - IndexOutOfBoundsException
Created attachment 63072 [details] Second exception - ArrayIndexOutOfBoundsException
Created attachment 63073 [details] Repeating AssertionError
NOTE: This is probably related to issue 137685 , where you can get repeating NullPointerExceptions
NOTE: This happened on [Build 200806190009, JDK 1.6.0, Vista]
All of the exceptions are caused by some bugs in lexer, reassigning.
this issue blocks jsp editing, it needs to be fixed in 6.5M1
Should be eliminated by fixes in issue 137685.
v