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 10648 - Exception in RequestProcessor while resolving JavaNode icons
Summary: Exception in RequestProcessor while resolving JavaNode icons
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-25 20:56 UTC by Jan Chalupa
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2001-03-25 20:56:18 UTC
[NB 3.2-11, MDI]

Started the IDE in MDI with several Java files open in the Source editor. Got
the following exception:

Sun Mar 25 22:05:29 GMT+02:00 2001java.lang.NullPointerException: null
Annotation: Exception occurred in Request Processor
org.openide.util.RequestProcessor$Holder(task
org.netbeans.modules.java.JavaNode$1@4bf534 [-5259, 1])
        at
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:274)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:98)
        at org.openide.util.RequestProcessor.post(RequestProcessor.java:82)
        at org.openide.util.RequestProcessor.postRequest(RequestProcessor.java:168)
        at org.netbeans.modules.java.JavaNode.requestResolveIcons(JavaNode.java:251)
        at org.netbeans.modules.java.JavaNode.sourceParsed(JavaNode.java:212)
        at org.netbeans.modules.java.JavaNode$PropL.stateChanged(JavaNode.java:169)
        at org.openide.util.WeakListener$Change.stateChanged(WeakListener.java:583)
        at
org.netbeans.modules.java.parser.ParsingSupport.fireStateChange(ParsingSupport.java:255)
        at
org.netbeans.modules.java.parser.ParsingSupport.changeStatus(ParsingSupport.java:238)
        at
org.netbeans.modules.java.parser.ParsingSupport$Processor.complete(ParsingSupport.java:659)
        at
org.netbeans.modules.java.parser.ParsingSupport$Processor.run(ParsingSupport.java:596)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:567)

Sun Mar 25 22:05:29 GMT+02:00 2001java.lang.NullPointerException: null
java.lang.NullPointerException
        at
org.openide.util.IconManager$CompositeImageKey.hashCode(IconManager.java:160)
        at java.util.HashMap.get(HashMap.java:266)
        at org.openide.util.IconManager.mergeImages(IconManager.java:179)
        at org.openide.util.Utilities.mergeImages(Utilities.java:1626)
        at
org.netbeans.modules.java.tools.BadgeCache.createCompositeImage(BadgeCache.java:143)
        at org.netbeans.modules.java.tools.BadgeCache.getIcon(BadgeCache.java:132)
        at org.netbeans.modules.java.JavaNode.getIcon(JavaNode.java:340)
        at
org.openide.text.DataEditorSupport$DataNodeListener.propertyChange(DataEditorSupport.java:435)
        at
org.openide.util.WeakListener$PropertyChange.propertyChange(WeakListener.java:307)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:656)
        at org.openide.nodes.Node.fireIconChange(Node.java:530)
        at org.netbeans.modules.java.JavaNode.setBadges(JavaNode.java:443)
        at org.netbeans.modules.java.JavaNode.resolveIcons(JavaNode.java:528)
        at org.netbeans.modules.java.JavaNode$1.run(JavaNode.java:256)
        at org.openide.util.Task.run(Task.java:124)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:567)
Comment 1 Svata Dedic 2001-03-26 06:05:39 UTC
Should be fixed along wih a race bug in openide (IconManager). Reopen if it
still appears in 3.2.12+
Comment 2 Jan Chalupa 2001-04-27 18:20:11 UTC
Verified in [release32-38].
Comment 3 Jan Chalupa 2001-05-05 23:27:03 UTC
Target milestone -> 3.2
Comment 4 Quality Engineering 2003-07-01 13:20:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.