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 7030 - NullPointerException is thrown when you try to add some component BoxLayouted JFrame.
Summary: NullPointerException is thrown when you try to add some component BoxLayouted...
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 normal (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-12 10:43 UTC by Jiri Skrivanek
Modified: 2003-06-30 18:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackTrace of exception (1.72 KB, text/plain)
2000-07-12 10:44 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2000-07-12 10:43:41 UTC
Steps to reproduce:
- create JFrame from template
- set layout to BoxLayout
- add two JPanels
- try to add some component (e.g. JButton) from the Component Palette to a
JPanel => exception is thrown (see att.)
Comment 1 Jiri Skrivanek 2000-07-12 10:44:59 UTC
Created attachment 29 [details]
StackTrace of exception
Comment 2 Tomas Pavek 2000-07-18 15:35:59 UTC
This happens whenever trying to add a component to a container which was copied
(cut) & pasted. No relation to BoxLayout.
Comment 3 Tomas Pavek 2000-07-24 09:13:59 UTC
Fixed in the main trunk, not in branch "boston".
Comment 4 Jan Stola 2000-07-27 17:54:59 UTC
Bug assigned to the module owner.
Comment 5 Tomas Pavek 2000-10-02 16:36:59 UTC
Fixed in boston branch too.
Comment 6 Quality Engineering 2003-06-30 18:26:20 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.