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 100413-d5ab89f6f5bc) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: SunOS Stacktrace: java.lang.IndexOutOfBoundsException: Illegal OffsetKind[offset=-1] in org.netbeans.modules.editor.NbEditorDocument@11d15c4, mimeType = 'text/x-java', kitClass = null, length = 16277, file=org.netbeans.modules.java.JavaDataObject@618134[MasterFileObject[/net/d-espb04-127-81/export/devarea/trunk/cnd.makeproject/src/org/netbeans/modules/cnd/makeproject/MakeProjectFileProviderFactory.java@10c987b:1eb922,valid=true]] used by org.netbeans.modules.java.JavaDataObject$JavaEditorSupport@158cdba. at org.openide.text.PositionRef$Manager$OffsetKind.<init>(PositionRef.java:657) at org.openide.text.PositionRef.<init>(PositionRef.java:84) at org.openide.text.CloneableEditorSupport.createPositionRef(CloneableEditorSupport.java:1527) at org.netbeans.modules.editor.hints.HintsControllerImpl$1.run(HintsControllerImpl.java:187) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1388) at org.netbeans.modules.editor.hints.HintsControllerImpl.linePart(HintsControllerImpl.java:183)
Created attachment 97192 [details] stacktrace
Created attachment 99127 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=167964
Created attachment 100563 [details] stacktrace Was copying an pasting from one project to another, this occured after copy, I had not reset the line causing #406825 & #406826 so this is probable the same
Created attachment 100935 [details] stacktrace Opened a .java file with a red exclamation mark button on it in the "Projects" pane. The mouseover hint of said file read "Error parsing file". The project builds correctly.
Created attachment 101197 [details] stacktrace
Created attachment 101198 [details] stacktrace
Created attachment 101363 [details] stacktrace editing :(
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=167964
Created attachment 101525 [details] stacktrace just replay one code with another in editor
Created attachment 101794 [details] stacktrace
Created attachment 103053 [details] stacktrace opened a new java file in editor from Search Results window
55 exception reports
Can you please have a look at this? Thanks.
Found a case how this can happen: http://hg.netbeans.org/jet-main/rev/ffb795cc17f3
Integrated into 'main-golden', will be available in build *201012230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ffb795cc17f3 User: Jan Lahoda <jlahoda@netbeans.org> Log: #184016: preventing IndexOutOfBoundsException for errors originating in annotation processors.