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 93817

Summary: New created action causes NPE
Product: guibuilder Reporter: Jana Maleckova <janie>
Component: App FrameworkAssignee: Joshua Marinacci <jmarinacci>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: 93817

Description Jana Maleckova 2007-02-01 14:53:45 UTC
NetBeans IDE Dev (Build 070131)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
=============
1. have JDA - basic
2. insert jbutton in JFrame
3. invoke action editor and create new action
4. set text property on basic card and in Advance card set false for enabled
property
5. press OK
6. reload form and invoke action editor again for this button
7. press OK
an NPE will occurs
may be, bug will be solved when form will be merge to trunk
but now, form is corrupted and then it is not possible to insert other
components into it

StackTrace:
===========
java.lang.NullPointerException
        at
org.netbeans.modules.javacore.parser.MDRParser.enterBody(MDRParser.java:210)
        at
org.netbeans.modules.javacore.parser.MDRParser.doAttribution(MDRParser.java:181)
        at
org.netbeans.modules.javacore.parser.MDRParser.isVariableAccess(MDRParser.java:1035)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getElementProxy(MetadataElement.java:639)
        at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.createElement(MetadataElement.java:560)
Comment 1 Jana Maleckova 2007-02-01 14:54:47 UTC
Created attachment 37923 [details]
93817
Comment 2 Tomas Pavek 2007-02-15 16:27:52 UTC
Yes, this will change with retouche...
Comment 3 Joshua Marinacci 2007-04-12 21:49:21 UTC
I am not seeing this exception now that we have switched to trunk.
Comment 4 Jana Maleckova 2007-04-25 12:49:32 UTC
verified on
NetBeans IDE Dev (Build 070425)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

exception has no more appeared ... but described usecase causes other issue ..
described here http://www.netbeans.org/issues/show_bug.cgi?id=101142