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 bug was originally marked as duplicate of bug 241072, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201407080001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Windows 7 User Comments: GUEST: <Forne
Created attachment 147958 [details] stacktrace
Messages.log and uilog complain about svn, reassigning. Please evaluate, Thanks!
(In reply to Ralph Ruijs from comment #2) > Messages.log and uilog complain about svn, reassigning. Please evaluate, This was cheap. Definitely not related to subversion. Svn complains only in one of about 50 reports and is absolutely unrelated, it is only a logged message. May be a JDK bug, typeAheadMarkers.getFirst() is called but not checked if typeAheadMarkers is empty. In all other occurances in the file typeAheadMarkers.getFirst() is preceded with typeAheadMarkers.size() != 0.
I think that problem could be caused by JINDENT plugin. I deactivated it and problem is gone.
Nope. This is a JDK bug. See https://bugs.openjdk.java.net/browse/JDK-8023148
I can only see that problem if I use JINDENT plugin. With plugin deactivated everything is OK.
In my experience, this issue is random. Can you reproduce it 100% of the time with JIndent enabled?
Yes, I can. It is enough for me to enable the plugin. Type code and format it.
(In reply to mysiar from comment #8) > Yes, I can. It is enough for me to enable the plugin. > Type code and format it. Please, upgrade to JDK 8u20 and verify if the fix of JDK bug mentioned above has helped.
Thanks for the tip. I have installed JDK and JRE both 8.20 and the problem with JINDENT is gone. I do not have this error anymore, at least when I did quick test.
Error reproduced again with Java 8 update 20 and JINDENT plugin activated.
Created attachment 149527 [details] stacktrace Problem occurs exactly when NetBeans started.
Created attachment 151341 [details] stacktrace Inline-Refactoring. There was a comment above the variable to be inlined
All reports (http://statistics.netbeans.org/exceptions/detail.do?id=210624) come from jdk's 8, 8u05 and 8u11. The related JDK bug is fixed in the later 8uX updates.