Community
Participate
Working Groups
Internal Error WindowBuilder encountered unexpected internal error. This could be caused by a WindowBuilder bug or by a misconfiguration issue, conflict, partial update, etc. Show stack trace. Hide stack trace. Stack trace: java.lang.NullPointerException at org.eclipse.wb.internal.swing.MigLayout.model.MigLayoutInfo.getIntervalsForOrigins(MigLayoutInfo.java:1506) at org.eclipse.wb.internal.swing.MigLayout.model.MigLayoutInfo.refresh_afterCreate2(MigLayoutInfo.java:1235) at org.eclipse.wb.core.model.ObjectInfo.refresh_afterCreate2(ObjectInfo.java:635) at org.eclipse.wb.core.model.ObjectInfo.refresh_afterCreate2(ObjectInfo.java:635) at org.eclipse.wb.core.model.ObjectInfo.refreshCreate0(ObjectInfo.java:553) at org.eclipse.wb.core.model.ObjectInfo.access$0(ObjectInfo.java:546) at org.eclipse.wb.core.model.ObjectInfo$5$1.run(ObjectInfo.java:486) at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:139) at org.eclipse.wb.core.model.ObjectInfo$5.run(ObjectInfo.java:484) at org.eclipse.wb.internal.swing.utils.SwingUtils$2.run(SwingUtils.java:76) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.awt.EventQueue$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Created attachment 202930 [details] bug info
Unable to reproduce. Please provide a complete test case that will reproduce the problem and reopen the case. Also provide details on exactly what you were doing when the exception occurred.
Could you please reopen this bug? I'm attaching a simple test program that triggers the problem. It has two classes: 1. NormalFrame.java: this creates a JPanel, sets its layout to MigLayout, adds a few components to it, and then adds the panel to a JFrame. This frame can be opened in Design mode without problems. 2. BuggyFrame.java: this creates a JXCollapsiblePane (from SwingX), sets its layout to MigLayout, adds a few components to it, and then adds the pane to a JFrame. This frame fails to load in Design mode. To trigger the error, open BuggyFrame.java in the Eclipse Editor. In the lower left part of the editor window, click on the Design tab, and the error should show up.
Created attachment 239633 [details] Simple test program that triggers the problem.
Reproduced using test case. Thanks!
Closing. Please reopen if this is still an issue.