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 22427 - resource missing exception when open tools menu
Summary: resource missing exception when open tools menu
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-15 05:09 UTC by _ hlu
Modified: 2003-07-02 08:29 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 _ hlu 2002-04-15 05:09:46 UTC
In build 020411:

The bug happened in windows2000, not in solaris.
when WEB-INF was selected in explorer window and got Tools 
menu in the menu bar, the following exception occurred:
Fri Apr 12 16:53:34 PDT 2002: 
java.lang.IllegalStateException: Icon for 
org.netbeans.modules.web.context.actions.PackageWarAction 
with resource 
org/netbeans/modules/web/context/resources/packageWar.gif 
not found
java.lang.IllegalStateException: Icon for 
org.netbeans.modules.web.context.actions.PackageWarAction 
with resource 
org/netbeans/modules/web/context/resources/packageWar.gif 
not found
        at org.openide.util.actions.SystemAction.getIcon
(SystemAction.java:220)
        at org.openide.util.actions.SystemAction.getIcon
(SystemAction.java:180)
        at org.openide.util.actions.SystemAction.getValue
(SystemAction.java:131)
        at org.openide.awt.Actions$MenuBridge.updateState
(Actions.java:532)
        at org.openide.awt.Actions.connect(Actions.java:93)
        at org.openide.awt.Actions.connect(Actions.java:81)
        at org.openide.awt.Actions$MenuItem.<init>
(Actions.java:791)
        at 
org.openide.util.actions.CallableSystemAction.getMenuPresen
ter(CallableSystemAction.java:35)
        at org.openide.actions.ToolsAction.generate
(ToolsAction.java:114)
        at org.openide.actions.ToolsAction.access$200
(ToolsAction.java:44)
        at org.openide.actions.ToolsAction$Inline.run
(ToolsAction.java:182)
        at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:178)
[catch] at java.awt.EventQueue.dispatchEvent
(EventQueue.java:443)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:190)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:144)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
        at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)
Comment 1 _ rkubacki 2002-04-15 08:32:54 UTC
Leading slash needs to be there in icon resource.
Comment 2 _ rkubacki 2002-04-15 15:04:06 UTC
fixed in orion_fcs branch
Comment 3 Petr Jiricka 2002-04-23 10:01:06 UTC
Changing target milestone to FFJ 4.0
Comment 4 Petr Jiricka 2002-04-23 10:10:35 UTC
Changing target milestone to FFJ 4.0
Comment 5 Jason Rush 2003-04-03 02:19:49 UTC
Verified in Nevada build 030401.
Comment 6 Quality Engineering 2003-07-02 08:29:42 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.