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.
The error (see appended error.txt) does not seem to be related to bugs #34129 or #36500. It does seem to have something to do with the GUI builder (perhaps a corrupted form file). I've added to a JFrame a toolbar with some buttons, renamed the buttons and cleared the text off the first three buttons (which I've now changed to have "x" as text). After this change, I get the exception in RequestProcessor every time opening the project. I've also tried to delete the project and re-create it, but nothing changes. The problem is - and this is why I've set priority to P1 - that after the exception occured, no changes in the code editor are tracked, so no compiling is possible and all changes are lost after closing the project.
Created attachment 12096 [details] The error message
Created attachment 12097 [details] The project files
Excerpt from excetion: java.lang.IndexOutOfBoundsException: ยจ Invalid line index=217 >= lineCount=119 at_org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at_org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) Mila, the exception looks familiar. Was not this already fixed?
Yes this should be fixed in the trunk by the patch made for issue 33165. *** This issue has been marked as a duplicate of 33165 ***
verified duplicate