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 - New created action causes NPE
Summary: New created action causes NPE
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Joshua Marinacci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-01 14:53 UTC by Jana Maleckova
Modified: 2007-04-25 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
93817 (6.49 KB, text/plain)
2007-02-01 14:54 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
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