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 145894 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutOperations.mergeParallelGroups
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutOperatio...
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Natural Layout (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
: 177075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-02 11:52 UTC by rojanu
Modified: 2009-11-19 03:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 22600


Attachments
stacktrace (2.45 KB, text/plain)
2008-09-02 11:52 UTC, rojanu
Details
stacktrace (2.45 KB, text/plain)
2008-09-09 00:49 UTC, ljnelson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rojanu 2008-09-02 11:52:45 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments: 
Drag N Drop use on multiple selected JLabels and JTextFields

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.layoutdesign.LayoutOperations.mergeParallelGroups(LayoutOperations.java:358)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:801)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:307)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:806)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:750)
        at org.netbeans.modules.form.HandleLayer$ExistingComponentDrag.end(HandleLayer.java:2671)
Comment 1 rojanu 2008-09-02 11:52:50 UTC
Created attachment 68859 [details]
stacktrace
Comment 2 Jan Stola 2008-09-02 12:40:25 UTC
I am sorry, I am not able to reproduce this issue and the attached stack trace is not sufficient ot track the problem 
down (it is clear what is null, but it is not clear how it can happen and what should be done in such a case). Are you 
still able to reproduce it? If so, could you, please, provide more details? It would be ideal to attach the problematic 
form (both .java and .form files) and describe exact steps that lead to this exception. Thank you in advance.
Comment 3 ljnelson 2008-09-09 00:49:04 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments: 
Dragging things around somewhat recklessly in Matisse.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.layoutdesign.LayoutOperations.mergeParallelGroups(LayoutOperations.java:358)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:801)
        at org.netbeans.modules.form.layoutdesign.LayoutFeeder.add(LayoutFeeder.java:307)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.addComponents(LayoutDesigner.java:806)
        at org.netbeans.modules.form.layoutdesign.LayoutDesigner.endMoving(LayoutDesigner.java:750)
        at org.netbeans.modules.form.HandleLayer$ExistingComponentDrag.end(HandleLayer.java:2369)
Comment 4 ljnelson 2008-09-09 00:49:08 UTC
Created attachment 69365 [details]
stacktrace
Comment 5 Jiri Vagner 2008-09-09 08:09:24 UTC
Thank you for your report. Can you please help us more to track the problem down (it is clear what is null, but it is
not clear how it can happen and what should be done in such a case). Are you still able to reproduce it? If so, could
you, please, provide more details? It would be ideal to attach the problematic form (both .java and .form files) and
describe exact steps that lead to this exception. Thank you in advance.
Comment 6 Jan Stola 2008-09-15 14:22:31 UTC
No additional information provided => closing as non-reproducible.
Comment 7 rgarske 2009-11-18 06:08:25 UTC
I had created a new JDialog, and added multiple JCheckBoxes to it.
Then at some point I selected some of these JCheckBoxes by clicking on them with the shift key down. I then tried to move them as a group to a slightly different location on the JDialog. The exception happended when I released the mouse button.
Comment 8 Jan Stola 2009-11-19 03:28:59 UTC
*** Bug 177075 has been marked as a duplicate of this bug. ***