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.
Summary: | [68cat] NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner.isUnplacedComponent | ||
---|---|---|---|
Product: | guibuilder | Reporter: | _ theanuradha <theanuradha> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aldobrucale, arvindd, asenk, bokc, Chiana, joe1465, marco_bresciani, misterm, prayag, rendicahya, sunnyben |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 163203 |
Bug Depends on: | |||
Bug Blocks: | 136425 | ||
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace Navigator stacktrace |
Description
_ theanuradha
2009-12-01 09:30:29 UTC
Created attachment 91944 [details]
stacktrace
theanuradha, do you still have the form on which this exception can be reproduced? That would help a lot, thanks. nope after restart problem not reproducible. BUT you can checkout http://code.google.com/p/cubeon/source/browse/trunk/core/common/src/main/java/org/netbeans/cubeon/common/ui/internals/TaskEditorUI.java and try to enclose "jPanel1" with tab and you can reproduce this issue Created attachment 100920 [details]
stacktrace
Created attachment 100921 [details]
stacktrace
Created attachment 105106 [details]
stacktrace
Enclosed a JTextArea in a JPanel using the context meny, then marked the new panel in the inspector and this was thrown
Created attachment 105107 [details]
stacktrace
Well, has to try it again, just can't find the new panel in the form, it is either invisible or just not inserted...
Created attachment 105109 [details]
stacktrace
rightclicked the panel in the inspector to set a size on it, thrown when right-click
Reproducible on the TaskEditorUI form mentioned by anuradha: http://cubeon.googlecode.com/svn/trunk/core/common/src/main/java/org/netbeans/cubeon/common/ui/internals/TaskEditorUI.java http://cubeon.googlecode.com/svn/trunk/core/common/src/main/java/org/netbeans/cubeon/common/ui/internals/TaskEditorUI.form Enclose jPanel1 into Tabbed Pane, then try to select the tabbed pane. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/75518cadd9ab User: Tomas Pavek <tpavek@netbeans.org> Log: #177930: enclose in container for components in alternate layer Product Version: NetBeans IDE Dev (Build 201110030601) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb) If I follow anuradha steps to reproduce on their code no exception is thrown anymore. But this use case doesn't work correctly anyway. When JPanel1 is enclosed in Tabbed Pane, it is somehow doubled in navigator. More in attachment. Created attachment 111459 [details]
Navigator
Doubled JPanel1 in navigator.
Created attachment 111648 [details]
stacktrace
Clicked on a swing component in navigator (I had previously switched from null layout yo free design, and got an exception)
asenk@netbeans.org: I don't see the duplication happen in current build, do you? I think we can close this as the original reproducible case was fixed, no new reports come in (except one for which we don't have steps to reproduce anyway). I'm not able to reproduce the bug or the "duplication". I agree with closing this bug. |