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 # : 200910170201 ] [ JDK VERSION : 1.6.* ] I started a Debug-Session and debugged Step-by-Step some Java-Classes. After pressing F7, the debugger stopped and only the Stop-Button is enabled. There´s one Exception in the Log-file: INFO [org.netbeans.spi.editor.highlighting.support.OffsetsBag]: Too high endIdx=1, marks.size()=1, startIdx=0, startOffset=4504, endOffset=4519, changeStart=4504, document.getLength()=5220, lastMark=offset=4504, attribs=org.netbeans.api.editor.settings.AttributesUtilities$Immutable @16e3d49 java.lang.Exception at org.netbeans.spi.editor.highlighting.support.OffsetsBag.removeHighligh ts(OffsetsBag.java:405) at org.netbeans.modules.debugger.jpda.projects.DebuggerAnnotation$Highlig htAnnotatable.removeAnnotation(DebuggerAnnotation.java:169) at org.openide.text.Annotation.detach(Annotation.java:133) at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl.removeAn notation(EditorContextImpl.java:352) at org.netbeans.modules.debugger.jpda.projects.EditorContextImpl.removeAn notation(EditorContextImpl.java:344) [catch] at org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener$ RemoveAnnotationsTask.run(CurrentThreadAnnotationListener.java:374) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java: 1084)
Created attachment 89672 [details] The Logfile
Created attachment 89673 [details] A Hardcopy of the Windows
Created attachment 89674 [details] NPS File in this state.
I changed the priority, because today I started 7 Debug-Sessions and only 2 Sessions worked correct.
I experienced two similar issues, but I am not sure if they are the same as this, so I filed them separately: http://www.netbeans.org/issues/show_bug.cgi?id=174863 http://www.netbeans.org/issues/show_bug.cgi?id=174869
The exception at OffsetsBag.removeHighlights is already submitted as issue #173662. I can reproduce this strange state, it seems to be caused by bad pairing of ReentrantReadWriteLocks.
I see this as a stopper for beta.
I had the fix yesterday, but could not integrate it due to Mercurial issues. Now it's fixed in changeset: 150009:18279e58b2a2 http://hg.netbeans.org/main/rev/18279e58b2a2
Martin Thanks, Vojta please verify in trunk before we'll integrate into beta clone ... it means we will have a new build tomorrow - for sure.
*** Issue 174869 has been marked as a duplicate of this issue. ***
Verified in trunk build 20091020112920. Will mark as verified once it is integrated into beta.
Thanks. I'm in process of cloning release68_beta, but the first attempt failed with "unknown exception encountered" error after 2.5 hours. Mercurial malfunction really delays things a lot.
*** Issue 174983 has been marked as a duplicate of this issue. ***
After 4 hours I have a successful clon of release68_beta. I'll transplant the fix later today...
Transplant of the trivial change in 1 file took 8 minutes. I really do not get why Mercurial must do such tremendous amount of work for trivial tasks. Pushed as changeset: 149857:aba2985f3202 http://hg.netbeans.org/release68_beta/rev/aba2985f3202
Verified in NetBeans IDE 6.8 Beta (Build 200910202101)
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/18279e58b2a2 User: mentlicher@netbeans.org Log: #174849 - Assure that the thread access lock gets unlocked. Fix of issue #174710 is changed.