We are evaluating WindowBuilder Pro in the hopes that it'll ease the pain of migrating our existing project (which uses an old JBuilder layout manager called XYLayout) to GroupLayout. Designer seems able to render our screens, and allows us to change the layout to GroupLayout. Shortly after changing the layout, however, the Designer becomes unresponsive, and the following exception starts showing up in the Error Log:
!ENTRY com.swtdesigner 4 4 2007-10-31 11:28:33.490
!MESSAGE Designer internal error [6.5.0.20071030095216]: Component model not found for id = 95
!STACK 0
java.lang.IllegalStateException: Component model not found for id = 95
at com.swtdesigner.model.swing.layouts.managers.group.GroupLayoutInfo.getComponentBeanInfoByID(GroupLayoutInfo.java:624)
at com.swtdesigner.model.swing.layouts.managers.group.GroupLayoutInfo.getComponentBounds(GroupLayoutInfo.java:667)
at org.netbeans.modules.form.layoutdesign.LayoutDesigner.imposeCurrentContainerSize(LayoutDesigner.java:2531)
at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updatePositions(LayoutDesigner.java:133)
at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:72)
at com.swtdesigner.gef.policy.swing.layout.group.GroupLayoutEditPolicy$2.run(GroupLayoutEditPolicy.java:544)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Any thoughts? Is there a prescribed process one should adhere to when changing layout managers? Should I first manually remove all of the code for the old layout manager? Thanks for your help.