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 87255

Summary: LAYOUT: Assertion errors using Matisse
Product: guibuilder Reporter: Jesse Glick <jglick>
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace
A working form file after I started getting exceptions

Description Jesse Glick 2006-10-17 03:30:05 UTC
Dev 061014. Free layout. No way I know how to reproduce, sorry.
Comment 1 Jesse Glick 2006-10-17 03:30:39 UTC
Created attachment 35257 [details]
Stack trace
Comment 2 Jesse Glick 2006-10-17 03:31:41 UTC
Created attachment 35258 [details]
A working form file after I started getting exceptions
Comment 3 Jesse Glick 2006-10-17 03:36:11 UTC
Try to align directoryField and masterProjectField - can't, errors.
Unfortunately I saved the bogus form and now I cannot get back my working form
(it is lost, and Ramon Ramos' Local History module apparently does not save
.form files, only .java).

Could you fix the form editor so that if any assertion errors are thrown while
editing a form (pretty frequent in my experience), the last action is
automatically undone?
Comment 4 Jesse Glick 2006-10-17 03:42:48 UTC
Was able to get form back by switching to flow layout, switching back to free
design, then moving everything back into place manually.
Comment 5 Tomas Pavek 2007-01-12 16:06:31 UTC
> Could you fix the form editor so that if any assertion errors are thrown
> while editing a form (pretty frequent in my experience), the last action
> is automatically undone?

We do this. Not sure why it did not work in your case. Will try with the
attached form.
Comment 6 Jan Stola 2008-03-10 17:04:11 UTC
Stack trace from the latest build:

java.lang.NullPointerException
	at org.netbeans.modules.form.layoutdesign.LayoutFeeder.getExpectedBorderPosition(LayoutFeeder.java:1882)
	at org.netbeans.modules.form.layoutdesign.LayoutFeeder.checkParallelResizing(LayoutFeeder.java:1790)
	at org.netbeans.modules.form.layoutdesign.LayoutFeeder.addInterval(LayoutFeeder.java:761)
	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$ResizeComponentDrag.end(HandleLayer.java:2505)
	at org.netbeans.modules.form.HandleLayer$ComponentDrag.end(HandleLayer.java:2146)
	at org.netbeans.modules.form.HandleLayer.endDragging(HandleLayer.java:939)
	at org.netbeans.modules.form.HandleLayer.mouseReleased(HandleLayer.java:1495)
        ...
Comment 7 Tomas Pavek 2010-08-20 12:03:18 UTC
Now I'm getting AE only when using the Align Left in Column action, and it is the same AE as in bug 91892.

*** This bug has been marked as a duplicate of bug 91892 ***