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: | NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutOperations.mergeParallelGroups | ||
---|---|---|---|
Product: | guibuilder | Reporter: | ekenschaft |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | asenk, dkonecny, falven, ljnelson, mholste, rgarske, rojanu |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 170172 |
Bug Depends on: | |||
Bug Blocks: | 136425 | ||
Attachments: |
stacktrace
stacktrace stacktrace |
Description
ekenschaft
2010-05-26 21:41:48 UTC
Created attachment 99517 [details]
stacktrace
Created attachment 103052 [details]
stacktrace
I was dragging to elements and dropped them in the middle of existing form
Don't how to reproduce, but from the exception and looking at the code it seems clear what is wrong and what needs to be fixed. Much likely happens when moving multiple components at once -- their common group can get eliminated (removed) when inserted to the target place, so when in the end trying to perform mergeParallelGroups on the group's parent, it has no parent anymore. Created attachment 108876 [details]
stacktrace
1.Start IDE with clean user dir
2. Create new JSE project and add JFrame Form into it
3. Add 3raadio buttons and one checkbox and some other Swing components
4. Select these 3 radio buttons and a checkbox
5. Move them
Fixed in 7.1 - Free Design improvements Product Version: NetBeans IDE Dev (Build 201110040601) 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) |