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.
I would follow the IDE's instructions and attach my messages.log file, but there's no way to attach anything to an issue. So I'm providing the "details", which at least has the stacktrace for the particular exception. Please forgive me if I have initially directed this to the wrong team or subcomponent; I'm still feeling my way around your particular delineations. Using qbuild 200508231315. java.lang.RuntimeException: javax.swing.text.BadLocationException: Invalid offset=19490, docLength=18869 at org.netbeans.modules.java.hints.GeneratorUtils. getPositionForMethods(GeneratorUtils.java:364) at org.netbeans.modules.java.hints.ImplementMethodJavaHint. implement(ImplementMethodJavaHint.java:55) at org.netbeans.modules.editor.hints.HintsUI.invokeHint(HintsUI.java:328) at org.netbeans.modules.editor.hints.HintsUI.mouseClicked(HintsUI.java: 244) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212) at java.awt.Component.processMouseEvent(Component.java:5491) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread. pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread. pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Caused by: javax.swing.text.BadLocationException: Invalid offset=19490, docLength=18869 at org.netbeans.editor.DocumentContent.checkOffset(DocumentContent.java: 275) at org.netbeans.editor.DocumentContent.createMark(DocumentContent.java: 103) at org.netbeans.editor.DocumentContent.createPosition(DocumentContent. java:89) at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java: 836) at org.netbeans.modules.java.hints.GeneratorUtils. getPositionForMethods(GeneratorUtils.java:359) ... 22 more
Created attachment 24587 [details] HERE's the messages.log file I couldn't attach from the earlier screen!
This was fixed in GeneratorUtils, revision 1.6. This revision is in q-build. It seems to me that you have hints installed from update center in userdir, so this old hints are used in your q-build. See line with old timestamp in your log: org.netbeans.modules.java.hints/1 [1.8.0.1 1 *200508011800*] We do not increase specification version, so there is still 1.8.0.1 version on update center. Because the hints are part of build now, it is IMO enough to remove hints jars from your userdir: {userdir}/modules/org-netbeans-modules-java-hints.jar {userdir}/modules/org-netbeans-modules-editor-hints.jar (Bear in mind your IDE shouldn't be running when you removing the jars.)
Reorganization of java component