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 201702060002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14 OS: Windows 10 User Comments: GUEST: My java code editor doesn't properly show code highlighting. gtzabari: Renamed field. Exception thrown. gtzabari: Not sure. jrose: Browsing code. GUEST: Picked a character and tried to use Ctrl+[right arrow] to select to the end of the word. GUEST: Just scrollingm reading some code and this popped up Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:418) at java.util.ArrayList.get(ArrayList.java:431) at org.netbeans.modules.editor.java.CamelCaseOperations.nextCamelCasePositionImpl(CamelCaseOperations.java:95) at org.netbeans.modules.editor.java.CamelCaseOperations$1.run(CamelCaseOperations.java:80) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1427) at org.netbeans.modules.editor.java.CamelCaseOperations.nextCamelCasePosition(CamelCaseOperations.java:76)
Created attachment 163597 [details] stacktrace