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

Summary: NullPointerException while dragging the JFrame border
Product: guibuilder Reporter: mna <mna>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Test Project
Exception stack-trace

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