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.

Bug 154404 - NullPointerException at org.netbeans.modules.java.editor.semantic.TokenList$3.run
Summary: NullPointerException at org.netbeans.modules.java.editor.semantic.TokenList$3...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL: http://statistics.netbeans.org/except...
Keywords:
: 154451 (view as bug list)
Depends on: 154992
Blocks:
  Show dependency tree
 
Reported: 2008-12-02 22:43 UTC by Martin Entlicher
Modified: 2009-10-26 15:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 143523


Attachments
stacktrace (2.54 KB, text/plain)
2008-12-02 22:43 UTC, Martin Entlicher
Details
stacktrace (2.54 KB, text/plain)
2008-12-17 13:29 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2008-12-02 22:43:18 UTC
Build: NetBeans IDE Dev (Build 081202)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Linux, 2.6.22-14-generic, i386

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.java.editor.semantic.TokenList$.run(TokenList.java:189)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1362)
        at org.netbeans.modules.java.editor.semantic.TokenList.firstIdentifier(TokenList.java:174)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.firstIdentifier(SemanticHighlighter.java:476)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(SemanticHighlighter.java:1292)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(SemanticHighlighter.java:440)
Comment 1 Martin Entlicher 2008-12-02 22:43:26 UTC
Created attachment 74447 [details]
stacktrace
Comment 2 Filip Zamboj 2008-12-17 13:28:51 UTC
Build: NetBeans IDE Dev (Build 200812170242)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-9-generic, amd64

User Comments: 
NPE when invoking code completion in Expression Evaluator dialog during debugging session

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.java.editor.semantic.TokenList$3.run(TokenList.java:189)
        at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1362)
        at org.netbeans.modules.java.editor.semantic.TokenList.firstIdentifier(TokenList.java:174)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.firstIdentifier(SemanticHighlighter.java:476)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(SemanticHighlighter.java:1292)
        at org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(SemanticHighlighter.java:440)
Comment 3 Filip Zamboj 2008-12-17 13:29:12 UTC
Created attachment 75085 [details]
stacktrace
Comment 4 Max Sauer 2009-02-12 13:32:23 UTC
*** Issue 154451 has been marked as a duplicate of this issue. ***
Comment 5 Max Sauer 2009-02-12 13:54:26 UTC
Cannot be reproduced and fixed until #154992 will be fixed.
Comment 6 Max Sauer 2009-10-26 15:22:23 UTC
Seems to be fixed in 
Product Version: NetBeans IDE Dev (Build 091026)
Java: 1.5.0_19; Java HotSpot(TM) Client VM 1.5.0_19-137
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)