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 87085 - NPE in code customizer
Summary: NPE in code customizer
Status: RESOLVED DUPLICATE of bug 87492
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 103888 114213 120988 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-13 12:35 UTC by Jana Maleckova
Modified: 2008-06-02 08:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
87085 (5.71 KB, text/plain)
2007-05-14 10:10 UTC, Jana Maleckova
Details
stacktrace (3.20 KB, text/plain)
2008-06-02 08:08 UTC, patrick17
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-10-13 12:35:35 UTC
NetBeans IDE Dev (Build 200610121800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250

Description:
============
1. Create new JPanel in project.
2. Add e.g. JButton
3. Select button in design view of new created JPanel and invoke "Customize
Code" item from popup menu.
4. Switch "Component" to "Form".


Stack Trace:
============
java.lang.NullPointerException
	at org.netbeans.modules.form.CustomCodeView.setCodeData(CustomCodeView.java:167)
	at
org.netbeans.modules.form.CodeCustomizer.selectComponent(CodeCustomizer.java:100)
	at
org.netbeans.modules.form.CodeCustomizer.componentExchanged(CodeCustomizer.java:227)
	at
org.netbeans.modules.form.CustomCodeView.componentComboActionPerformed(CustomCodeView.java:1191)
Comment 1 Jana Maleckova 2007-05-14 10:10:39 UTC
Created attachment 42365 [details]
87085
Comment 2 Jana Maleckova 2007-05-14 10:11:12 UTC
*** Issue 103888 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Pavek 2007-07-26 14:58:04 UTC

*** This issue has been marked as a duplicate of 87492 ***
Comment 4 Tomas Pavek 2007-08-31 13:36:03 UTC
*** Issue 114213 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Pavek 2007-11-05 12:47:45 UTC
*** Issue 120988 has been marked as a duplicate of this issue. ***
Comment 6 patrick17 2008-06-02 08:08:32 UTC
Created attachment 62227 [details]
stacktrace