I wanted to experiment with some visual inheritance. So I have two
classes. One is extends Composite, and the other extends the first
class. I have an AbsolutePanel as a public member of the first class,
but when I'm trying to change it (resize) from window builder in the
second class I get this:

Internal Error
GWT Designer encountered unexpected internal error.

This could be caused by a GWT Designer bug or by a misconfiguration
issue, conflict, partial update, etc.

org.eclipse.wb.internal.core.utils.check.AssertionFailedException:
assertion failed:
        at org.eclipse.wb.internal.core.utils.check.Assert.fail(Assert.java:
224)
        at org.eclipse.wb.internal.core.utils.check.Assert.isTrue(Assert.java:
267)
        at org.eclipse.wb.internal.core.utils.check.Assert.isTrue(Assert.java:
251)
        at
org.eclipse.wb.internal.core.utils.ast.AstEditor.addStatement(AstEditor.java:
1595)
        at
org.eclipse.wb.internal.core.utils.ast.AstEditor.addStatement(AstEditor.java:
1581)
        at
org.eclipse.wb.core.model.JavaInfo.addExpressionStatement(JavaInfo.java:
957)
        at
com.google.gdt.eclipse.designer.model.widgets.panels.AbsolutePanelInfo.setLocation(AbsolutePanelInfo.java:
176)
        at
com.google.gdt.eclipse.designer.model.widgets.panels.AbsolutePanelInfo.command_BOUNDS(AbsolutePanelInfo.java:
117)
        at
com.google.gdt.eclipse.designer.model.widgets.panels.AbsolutePanelInfo.command_BOUNDS(AbsolutePanelInfo.java:
1)
        at
com.google.gdt.eclipse.designer.gef.policy.AbsolutePanelLayoutEditPolicy
$4.executeEdit(AbsolutePanelLayoutEditPolicy.java:190)
        at org.eclipse.wb.core.gef.command.EditCommand$1.run(EditCommand.java:
52)
        at
org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:
318)
        at
org.eclipse.wb.core.gef.command.EditCommand.execute(EditCommand.java:
50)
        at
org.eclipse.wb.internal.gef.core.CompoundCommand.execute(CompoundCommand.java:
89)
        at org.eclipse.wb.core.gef.command.CompoundEditCommand.access
$0(CompoundEditCommand.java:1)
        at org.eclipse.wb.core.gef.command.CompoundEditCommand
$1.run(CompoundEditCommand.java:47)
        at
org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.run(ExecutionUtils.java:
318)
        at
org.eclipse.wb.core.gef.command.CompoundEditCommand.execute(CompoundEditCommand.java:
45)
        at
org.eclipse.wb.internal.gef.core.EditDomain.executeCommand(EditDomain.java:
59)
        at org.eclipse.wb.gef.core.tools.Tool.executeCommand(Tool.java:209)
        at
org.eclipse.wb.gef.graphical.tools.ResizeTracker.handleButtonUp(ResizeTracker.java:
140)
        at org.eclipse.wb.gef.core.tools.Tool.mouseUp(Tool.java:395)
        at
org.eclipse.wb.gef.graphical.tools.SelectionTool.mouseUp(SelectionTool.java:
250)
        at
org.eclipse.wb.internal.gef.core.EditDomain.mouseUp(EditDomain.java:
255)
        at
org.eclipse.wb.internal.gef.graphical.EditEventManager.mouseUp(EditEventManager.java:
149)
        at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.wb.internal.draw2d.EventManager
$8.invoke(EventManager.java:325)
        at $Proxy1.mouseUp(Unknown Source)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
213)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
4066)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2640)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
115)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
369)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1408)


Could anyone help me with this. Because I don't know whether I did
something wrong, it is a bug or limitation, or if there's any other
solution to this problem? Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to