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 101072 - NullPointerException while dragging the JFrame border
Summary: NullPointerException while dragging the JFrame border
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-15 13:57 UTC by mna
Modified: 2007-07-26 17:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test Project (13.28 KB, application/octet-stream)
2007-04-15 14:00 UTC, mna
Details
Exception stack-trace (2.03 KB, text/plain)
2007-04-15 14:02 UTC, mna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mna 2007-04-15 13:57:52 UTC
I am getting a NullPointerException when I try to drag the border of the JFrame
with the mouse, in the attached test project.
NetBeans version is "NetBeans IDE 5.5 (Build 200612070100)" and Java version is
1.6.0_01.
To reproduce the issue: Simply open the attached test project as a new project
(after having uncompressed and untarred), open test.java (the only source file
in the project), and try to drag border of the JFrame in the Design tab. You
should see a blinking red sign on the right bottom of the IDE indicating the
exception occured.
Comment 1 mna 2007-04-15 14:00:10 UTC
Created attachment 40929 [details]
Test Project
Comment 2 mna 2007-04-15 14:02:15 UTC
Created attachment 40930 [details]
Exception stack-trace
Comment 3 novakm 2007-07-26 13:39:22 UTC
Reassigning to form for evaluation
Comment 4 Tomas Pavek 2007-07-26 17:50:23 UTC
The attached form contains one misconfigured component - jTabbedPane3 is missing constraints data for its position in 
split pane. Not sure how this could happen, but I've made a fix that is able to deal with it.

/cvs/form/src/org/netbeans/modules/form/layoutsupport/delegates/JSplitPaneSupport.java
new revision: 1.14; previous revision: 1.13