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 170272 - NullPointerException at org.netbeans.modules.editor.lib.ColoringMap.collectLegacyTokenColorings
Summary: NullPointerException at org.netbeans.modules.editor.lib.ColoringMap.collectLe...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 13:43 UTC by J Bachorik
Modified: 2009-08-15 06:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 155637


Attachments
stacktrace (907 bytes, text/plain)
2009-08-12 13:44 UTC, J Bachorik
Details
stacktrace (893 bytes, text/plain)
2009-08-13 18:49 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2009-08-12 13:43:52 UTC
Build: NetBeans IDE Dev (Build 200908120201)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.27-14-generic, amd64

User Comments:
yardus: Starting IDE



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.lib.ColoringMap.collectLegacyTokenColorings(ColoringMap.java:328)
        at org.netbeans.modules.editor.lib.ColoringMap.loadTheMap(ColoringMap.java:244)
        at org.netbeans.modules.editor.lib.ColoringMap.<init>(ColoringMap.java:171)
        at org.netbeans.modules.editor.lib.ColoringMap.getInternal(ColoringMap.java:206)
        at org.netbeans.modules.editor.lib.ColoringMap.get(ColoringMap.java:87)
        at org.netbeans.modules.editor.NbEditorKit.call(NbEditorKit.java:929)
Comment 1 J Bachorik 2009-08-12 13:44:06 UTC
Created attachment 86152 [details]
stacktrace
Comment 2 Jesse Glick 2009-08-13 18:49:31 UTC
Build: NetBeans IDE Dev (Build 090813)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02
OS: Linux, 2.6.28-14-generic, i386

User Comments: 
Just opened IDE w/ a project & file open. (ant.browsetask, NbBrowse.java)

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.lib.ColoringMap.collectLegacyTokenColorings(ColoringMap.java:328)
        at org.netbeans.modules.editor.lib.ColoringMap.loadTheMap(ColoringMap.java:244)
        at org.netbeans.modules.editor.lib.ColoringMap.<init>(ColoringMap.java:171)
        at org.netbeans.modules.editor.lib.ColoringMap.getInternal(ColoringMap.java:206)
        at org.netbeans.modules.editor.lib.ColoringMap.get(ColoringMap.java:87)
        at org.netbeans.modules.editor.NbEditorKit.call(NbEditorKit.java:929)
Comment 3 Jesse Glick 2009-08-13 18:49:35 UTC
Created attachment 86211 [details]
stacktrace
Comment 4 Miloslav Metelka 2009-08-14 16:48:54 UTC
Looks like a race condition. Please reopen if it still happens.
http://hg.netbeans.org/jet-main/rev/18b13af24ffd
Comment 5 Quality Engineering 2009-08-15 06:30:53 UTC
Integrated into 'main-golden', will be available in build *200908150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/18b13af24ffd
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #170272 - NullPointerException at org.netbeans.modules.editor.lib.ColoringMap.collectLegacyTokenColorings.