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.
[dev-200508101800, JDK 1.5.0_04] InvalidObjectException is thrown with each switch from Source to Design view of simple form. What I did: 1) Created simple form and added couple of components to it 2) Tweaked the layout and created actionPerformed event handling methods for three buttons and couple of other event handling methods for other components too 3) Filled some dummy content to those event handling methods 4) Deleted all those methods form Events Properties panel of the form Then I switched to Source and then back to Design and from that time each such switch throws InvalidObjectException. javax.jmi.reflect.InvalidObjectException: Object was deleted. at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.throwInvalidObject(MetadataElement.java:145) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:129) at org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement.getElementInfo(SemiPersistentElement.java:185) at org.netbeans.modules.javacore.jmiimpl.javamodel.MethodImpl.initASTElements(MethodImpl.java:103) ...
Created attachment 23716 [details] exc stack trace
fixed in /cvs/java/src/org/netbeans/modules/java/ui/nodes/elements/ElementNode.java new revision: 1.19; previous revision: 1.18
Verified in dev-200510261858.
Reorganization of java component