GWT Designer Internal Error in Design mode (Eclipse Juno)

333 views
Skip to first unread message

k2s

unread,
Oct 5, 2012, 8:23:39 AM10/5/12
to google-we...@googlegroups.com
anybody has solution for problem described here http://code.google.com/p/google-web-toolkit/issues/detail?id=7492 ?

Instead of design form of UI editor I get this message:
 
Internal Error
encountered unexpected internal error.
 
This could be caused by a bug or by a misconfiguration issue, conflict, partial update, etc.

java.lang.Error: fullImage.getBounds()=Rectangle {0, 0, 1, 1} cropBounds=Rectangle {10, 10, 450, 300}


Stack trace:

java.lang.IllegalArgumentException: Argument not valid
    at org.eclipse.swt.SWT.error(SWT.java:4342)
    at org.eclipse.swt.SWT.error(SWT.java:4276)
    at org.eclipse.swt.SWT.error(SWT.java:4247)
    at org.eclipse.swt.graphics.GC.drawImage(GC.java:864)
    at org.eclipse.swt.graphics.GC.drawImage(GC.java:841)
    at org.eclipse.wb.internal.core.utils.ui.UiUtils.getCroppedImage(UiUtils.java:519)
    at com.google.gdt.eclipse.designer.uibinder.model.widgets.UIObjectInfo.fetchImage(UIObjectInfo.java:366)
    at com.google.gdt.eclipse.designer.uibinder.model.widgets.UIObjectInfo.refresh_fetch(UIObjectInfo.java:303)
    at org.eclipse.wb.core.model.ObjectInfo$6$1.run(ObjectInfo.java:496)
    at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:139)
....

thank you

John Flournoy

unread,
Oct 18, 2013, 3:02:06 PM10/18/13
to google-we...@googlegroups.com, martin...@gmail.com
I had this problem after trying to resize a layout panel and even pulling the source files down from backup didn't resolve the issue.   GWT plugin must be saving the size information somewhere other than the XML file.

I resolved it by cleaning, then deleting the project and importing it again as existing source.
Once I did all that I was able to view the UIBinder file in the WindowBuilder design tab.

Regards
Reply all
Reply to author
Forward
0 new messages