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 10312 - [Win2k NB 3.2.3] When in properties of a jar-file I get an NPE
Summary: [Win2k NB 3.2.3] When in properties of a jar-file I get an NPE
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-14 17:03 UTC by javaiware
Modified: 2003-07-01 10:01 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 javaiware 2001-03-14 17:03:11 UTC
Hi,

When I'm rightclicking on a jar in explorer that has the JarPackager icon and I 
select 'properties', all properties but 'Template' and 'Contents' have the 
value '<java.lang.NullPointerException>', when I click on the property the 
value becomes '???', then when I click '...' I get the exception below.

Iwan
----

Wed Mar 14 12:00:10 EST 2001java.lang.NullPointerException: null
Annotation: Exception in org.netbeans.modules.jarpackager.CompressionEditor 
Property Editor.
java.lang.NullPointerException
        at org.netbeans.modules.jarpackager.JarDataObject$2.getValue
(JarDataObject.java:400)
        at org.openide.explorer.propertysheet.PropertyDetails.getPropertyValue
(PropertyDetails.java:142)
        at 
org.openide.explorer.propertysheet.PropertyDisplayer$CustomPEListener.sheetButto
nClicked(PropertyDisplayer.java:935)
        at 
org.openide.explorer.propertysheet.SheetButton.notifySheetButtonListenersAboutCl
ick(SheetButton.java:362)
        at 
org.openide.explorer.propertysheet.SheetButton$InnerListener.mouseReleased
(SheetButton.java:434)
[catch] at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:230)
        at java.awt.Component.processMouseEvent(Component.java:3717)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Mike Schilling 2001-03-16 17:08:19 UTC
Please attach the jarcontent file which causzes this behavior.
Comment 2 javaiware 2001-04-02 16:48:28 UTC
I tried it in NB 3.2.18 and no problem there. So I guess it is resolved, but 
you may want to check yourself.

Iwan
Comment 3 Mike Schilling 2001-04-03 18:41:15 UTC
I can't make it happen.  Closing, but feel free to reopen if it reoccurs.
Comment 4 Quality Engineering 2003-07-01 09:57:43 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 10:00:10 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-07-01 10:01:19 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.