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 15433 - NPE when more .ser files are selected in explorer
Summary: NPE when more .ser files are selected in explorer
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-13 08:41 UTC by _ rkubacki
Modified: 2003-06-30 16:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (1.72 KB, text/plain)
2001-10-03 16:05 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2001-09-13 08:41:52 UTC
I received two NPEs:
Thu Sep 13 09:38:28 CEST 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at
org.netbeans.modules.clazz.ClassDataObject$ClazzInstanceSupport.instanceOf(ClassDataObject.java:609)
        at org.openide.loaders.InstanceSupport.isApplet(InstanceSupport.java:240)
        at
org.netbeans.modules.clazz.ClassDataObject.isApplet(ClassDataObject.java:323)
        at
org.netbeans.modules.clazz.ClassDataNode$5.getValue(ClassDataNode.java:160)
        at
org.openide.explorer.propertysheet.ProxyNode$ProxyProperty.getValue(ProxyNode.java:200)
        at
org.openide.explorer.propertysheet.PropertyPanel$SimpleModel.getValue(PropertyPanel.java:1231)
        at
org.openide.explorer.propertysheet.PropertyPanel.updateEditor(PropertyPanel.java:569)
        at
org.openide.explorer.propertysheet.PropertyPanel.<init>(PropertyPanel.java:237)
        at
org.openide.explorer.propertysheet.PropertyPanel.<init>(PropertyPanel.java:259)
        at
org.openide.explorer.propertysheet.PropertySheetTab.fillProperties(PropertySheetTab.java:337)
        at
org.openide.explorer.propertysheet.PropertySheetTab.createPane(PropertySheetTab.java:307)
        at
org.openide.explorer.propertysheet.PropertySheetTab.<init>(PropertySheetTab.java:180)
        at
org.openide.explorer.propertysheet.PropertySheet.refreshPropertySheet(PropertySheet.java:446)
        at
org.openide.explorer.propertysheet.PropertySheet.access$1100(PropertySheet.java:52)
        at
org.openide.explorer.propertysheet.PropertySheet$3.run(PropertySheet.java:590)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 Svata Dedic 2001-09-14 13:36:13 UTC
The cause of the NPE was, in fact, incorrect implementation of 
instanceOf().
Reproducable by invoking "Customize Bean" action on a java source 
node, provided that the class does not explicitly state "extends 
Object". Then serialize the bean somewhere, point to it and open the 
property sheet.

Fixed in dev trunk.
Comment 2 Jan Becicka 2001-10-03 16:02:23 UTC
If I invoke Customize Bean Action on examples.advanced.MemoryView, 
NPE is thrown. I'm not sure if it belongs to clazz module ...
Comment 3 Jan Becicka 2001-10-03 16:05:24 UTC
Created attachment 2826 [details]
NPE
Comment 4 Tomas Hurka 2001-10-04 09:28:38 UTC
NPE reported as attachment #2826 [details] is unrelated to clazz module and in
fact is the one solved by issue #16004. Closing as resolved.
Comment 5 Jan Becicka 2001-10-05 11:20:41 UTC
[200110050100] Verified
Comment 6 Quality Engineering 2003-06-30 16:43:45 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.