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 6.5 Beta (Build 200808111757) VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.AssertionError: Highlight attributes must not be null. at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlightImpl(OffsetsBag.java:492) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:724) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:184) at org.netbeans.modules.editor.lib.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:300) at org.netbeans.modules.editor.lib.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:169) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:261)
Created attachment 73838 [details] stacktrace
Can you provide steps to reproduce, please?
*** Issue 153341 has been marked as a duplicate of this issue. ***
What file are you editing? Could you please attach your <ide-userdir>/var/log/messages.log here? Thanks
Build: NetBeans IDE Dev (Build 200901060201) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.27-11-generic, i386 User Comments: Undoing changes made just in front of a guarded block while verifying "off-by-one bug"... Stacktrace: java.lang.AssertionError: Start offset must be before the end offset. startOffset = 36, endOffset = 1 at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlightImpl(OffsetsBag.java:491) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:724) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:184) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:302) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:170) at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:618)
Created attachment 75579 [details] stacktrace
See #156469 too (according to message in assertion, I don't know if my stacktrace is from the same place as the original one)...
#156469 looks different from the original exception. Let's track it separately.
Build: NetBeans IDE Dev (Build 200902031446) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.27-11-generic, i386 User Comments: Redo in code customizer. Stacktrace: java.lang.AssertionError: Start offset must be before the end offset. startOffset = 69, endOffset = 40 at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addHighlightImpl(OffsetsBag.java:491) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlightsImpl(OffsetsBag.java:724) at org.netbeans.spi.editor.highlighting.support.OffsetsBag.addAllHighlights(OffsetsBag.java:184) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.updateCache(CompoundHighlightsContainer.java:302) at org.netbeans.modules.editor.lib2.highlighting.CompoundHighlightsContainer.getHighlights(CompoundHighlightsContainer.java:170) at org.netbeans.editor.HighlightingDrawLayer.processOffset(HighlightingDrawLayer.java:618)
Created attachment 76539 [details] stacktrace
Unfortunately, I was not able to reproduce this issue from provided information. As there has been no activity since February (no additional info provided, no other Exception report), I am closing this as WORKSFORME. Please reopen, if this problem still persist.
I can't tell you how to reproduce it either, but I had it aleast 3 times (see below) during the last 2 days using a current dev version. So I'd say it's still persists... http://statistics.netbeans.org/analytics/exception.do?id=380518 http://statistics.netbeans.org/analytics/exception.do?id=380547 http://statistics.netbeans.org/analytics/exception.do?id=381084
No idea...
Created attachment 99264 [details] stacktrace
Created attachment 99456 [details] stacktrace
Created attachment 99568 [details] stacktrace
I am facing this at RC1 now.
http://hg.netbeans.org/jet-main/rev/64a12dc8b48b I fixed the infrastructure to simply skip highlights with no (null) AttributeSet and also added more logging to GsfSemanticLayer. This revealed that there is no coloring defined for mod-class (CLASS) coloring in PHP. Use -J-Dorg.netbeans.modules.csl.editor.semantic.GsfSemanticLayer.level=FINE to see details.
Integrated into 'main-golden', will be available in build *201006080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/64a12dc8b48b User: Vita Stejskal <vstejskal@netbeans.org> Log: #153340: check for highlights with null AttributeSet and skip them
added additional assert to get more info: http://hg.netbeans.org/web-main/rev/d3193aa8bc47
Integrated into 'main-golden', will be available in build *201006090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d3193aa8bc47 User: Radek Matous <rmatous@netbeans.org> Log: #153340 - [69cat] AssertionError: Highlight attributes must not be null - added additional assert to get more info
Created attachment 99929 [details] stacktrace
Created attachment 99974 [details] stacktrace I had CVS annotations displayed in the editor. I right-clicked on one such annotation and selected "Diff 1.14 to 1.13".
netbeans-dev-201006130001 here and same problem occures. Did't have this problem with previous nightly builds! Steps to reproduce: 1. Install netbeans-dev-201006130001, 2. open PHP file with it.
Created attachment 101327 [details] stacktrace Clicked on a Row at CVS-"Show Changes" - Window (while Scanningt Projects was running).
Created attachment 101345 [details] stacktrace
Created attachment 101558 [details] stacktrace Exception occured after CVS-Checkin
Created attachment 101951 [details] stacktrace
batch reassigning
This should be already fixed. Although there are no reports from NB 7.x releases. Closing as fixed.