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.
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)
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.
If I invoke Customize Bean Action on examples.advanced.MemoryView, NPE is thrown. I'm not sure if it belongs to clazz module ...
Created attachment 2826 [details] NPE
NPE reported as attachment #2826 [details] is unrelated to clazz module and in fact is the one solved by issue #16004. Closing as resolved.
[200110050100] Verified
Resolved for 3.3.x or earlier, no new info since then -> closing.