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 119789 - NullPointerException at org.netbeans.modules.form.BindingCustomizer$ExpressionNode.<init>
Summary: NullPointerException at org.netbeans.modules.form.BindingCustomizer$Expressio...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 15:15 UTC by xylifyx
Modified: 2007-11-16 08:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 8949


Attachments
stacktrace (3.46 KB, text/plain)
2007-10-23 15:15 UTC, xylifyx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xylifyx 2007-10-23 15:15:03 UTC
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
VM: Java HotSpot(TM) Client VM, 1.5.0_07-87
OS: Mac OS X, 10.4.10, i386

User Comments:
Comment 1 xylifyx 2007-10-23 15:15:07 UTC
Created attachment 51500 [details]
stacktrace
Comment 2 Jan Stola 2007-10-23 17:29:11 UTC
I am sorry, I am not able to reproduce this issue. The exception shows that 'designSupport' variable has null value. 
Unfortunately, it is not clear how this can happen. The variable is initialized by 'FormEditor.getBindingSupport
(bindingComponent.getFormModel())' expression that should be always different from null in this context.

Are you still able to reproduce this issue? If so, could you, please, provide exact steps to reproduce? Thank you in 
advance.
Comment 3 xylifyx 2007-10-23 19:39:52 UTC
I haven't attemted to reproduce this exception. If I recall correctly I had placed a panel on a jframe. I then changed the panel in the gui builder so that it used 
the AppFramework. This provoked the gui builder to fail during load of the jframe form.
Comment 4 Jana Maleckova 2007-10-24 08:22:15 UTC
StackTrace for better query
============================
java.lang.NullPointerException
        at org.netbeans.modules.form.BindingCustomizer$ExpressionNode.<init>(BindingCustomizer.java:1286)
        at org.netbeans.modules.form.BindingCustomizer$ExpressionNode.<init>(BindingCustomizer.java:1281)
        at org.netbeans.modules.form.BindingCustomizer.sourceComboActionPerformed(BindingCustomizer.java:1109)
        at org.netbeans.modules.form.BindingCustomizer.access$1200(BindingCustomizer.java:82)
        at org.netbeans.modules.form.BindingCustomizer$FormListener.actionPerformed(BindingCustomizer.java:1024)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197)
Comment 5 Jan Stola 2007-11-16 08:10:31 UTC
I am not able to reproduce this issue => closing as WORKSFORME.