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 200808010201) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows Vista, 6.0, x86 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.groovy.editor.VariableScopeVisitor.collect(VariableScopeVisitor.java:101) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.highlight(GroovyOccurrencesFinder.java:167) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.run(GroovyOccurrencesFinder.java:131) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.run(GroovyOccurrencesFinder.java:69) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:173) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:113)
Created attachment 66336 [details] stacktrace
Can you please provide source code and cursor position where this happened?
Build: NetBeans IDE Dev (Build 200809120201) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments: Commented, prefixed a line with // Stacktrace: java.lang.NullPointerException at org.netbeans.modules.groovy.editor.VariableScopeVisitor.collect(VariableScopeVisitor.java:128) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.highlight(GroovyOccurrencesFinder.java:177) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.run(GroovyOccurrencesFinder.java:141) at org.netbeans.modules.groovy.editor.parser.GroovyOccurrencesFinder.run(GroovyOccurrencesFinder.java:71) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:173) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:113)
Created attachment 69830 [details] stacktrace
Fixed. http://hg.netbeans.org/main/rev/8e7eec27d8ab
Integrated into 'main-golden', will be available in build *200809151401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8e7eec27d8ab User: Martin Adamek <martin_adamek@netbeans.org> Log: #142606: NullPointerException at org.netbeans.modules.groovy.editor.VariableScopeVisitor.collect