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.
Build: NetBeans IDE Dev (Build 20131016-9d84b87bf3ee) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b51, Java(TM) SE Runtime Environment, 1.8.0-ea-b109 OS: Windows 8 User Comments: ralphbenjamin: Opened diff for mercurial changes Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:651) at org.netbeans.modules.javadoc.highlighting.Highlighting.isWhiteSpace(Highlighting.java:182) at org.netbeans.modules.javadoc.highlighting.Highlighting.findFirstSentence(Highlighting.java:157) at org.netbeans.modules.javadoc.highlighting.Highlighting.access$000(Highlighting.java:73) at org.netbeans.modules.javadoc.highlighting.Highlighting$HSImpl.moveNext(Highlighting.java:235) at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:443)
Created attachment 141153 [details] stacktrace
Created attachment 141371 [details] stacktrace Routine Git diff, broken.
Created attachment 141372 [details] stacktrace Was just editing and suddenly lost all coloration in a Java source. Other syntax highlighting (bold, italic) remains.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=204631
Created attachment 141419 [details] stacktrace Editor seems totally broken.
Created attachment 141799 [details] stacktrace Started NB, opened a source file and started to edit the value for the member [public static final String MAIN_APPLICATION_VERSION_STRING = "Previous Application Name";
Created attachment 142085 [details] stacktrace scrolling through a java file
Created attachment 142098 [details] stacktrace still broken
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=204631
Token.text() return an empty CharSequence which should not happen. From javadoc: @return non-null, non-empty text of this token.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss