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 201008180001) VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07 OS: Windows XP User Comments: bokc: edit ant script Stacktrace: java.lang.AssertionError at org.netbeans.modules.ant.grammar.AntHighlightsContainer$1.moveNext(AntHighlightsContainer.java:112) at org.netbeans.modules.editor.lib2.highlighting.CheckedHighlightsSequence.moveNext(CheckedHighlightsSequence.java:102) at org.netbeans.modules.editor.lib2.highlighting.ProxyHighlightsContainer$Sequence2Marks.moveNext(ProxyHighlightsContainer.java:432) at org.netbeans.modules.editor.lib2.highlighting.ProxyHighlightsContainer$ProxySeq.moveNext(ProxyHighlightsContainer.java:287) at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:293) at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:116)
Created attachment 101513 [details] stacktrace
I added better diagnostics to the assertion in core-main #5037882f2b27 which should be in a dev build soon. Are you able to reproduce on a particular Ant script? If so, could you attach that script (assuming it is not confidential; else a similar script that has the same problem)?
*** Bug 189683 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201008200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/5037882f2b27 User: Jesse Glick <jglick@netbeans.org> Log: Diagnostics for #189668.
I do not know how to reproduce. Perhaps my exception in exception reporter with your diagnostics logging will help.
In Product Version: NetBeans IDE Dev (Build 100824-1fbd63af7530) Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01 System: Linux version 2.6.32-24-generic running on i386; UTF-8; en_NZ (nb) this happen to me always whenever I hover mouse caret over an Ant variable (I have line wrapping ON), eg. <?xml version="1.0" encoding="UTF-8"?> <project name="changeme" default="all" basedir="."> <target name="all"> <fail unless="${aaa}">XXX</fail> </target> </project> if I move mouse caret over aaa then exception is thrown.
Created attachment 101674 [details] stacktrace Getting this from time to time when editing ant build files, impossible to say why :-(
core-main #d6d6d031fc97
Integrated into 'main-golden', will be available in build *201008270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d6d6d031fc97 User: Jesse Glick <jglick@netbeans.org> Log: #189668: AssertionError at org.netbeans.modules.ant.grammar.AntHighlightsContainer$1.moveNext
*** Bug 190016 has been marked as a duplicate of this bug. ***