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: | LAYOUT: Assertion errors using Matisse | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Jesse Glick <jglick> |
Component: | Natural Layout | Assignee: | 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
Created attachment 35257 [details]
Stack trace
Created attachment 35258 [details]
A working form file after I started getting exceptions
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? Was able to get form back by switching to flow layout, switching back to free design, then moving everything back into place manually. > 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.
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) ... |