lisg / gwt-designer

Automatically exported from code.google.com/p/gwt-designer
0 stars 0 forks source link

GWT Designer Internal Error #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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}

Original issue reported on code.google.com by a.m.bala...@gmail.com on 26 Oct 2012 at 12:33

Attachments:

GoogleCodeExporter commented 8 years ago
Found in GWT Release: 2.5.0

Encountered on OS: Ubuntu 12.04 (precise) 64-bit

Original comment by a.m.bala...@gmail.com on 26 Oct 2012 at 12:34

GoogleCodeExporter commented 8 years ago
Good news: I was able to fix this (at least for Linux), see the attached 
partial patch. The problem was, that transferring the browser screenshot to an 
SWT image was broken.

I patched it similar to the existing Windows implementation. The fix works, but 
I'm marking it as "partial", because

1.) I only fixed it for Linux 64bit (should be easy to port it to Linux 32 bit 
though, just replace long with int)
2.) Maybe a distinction will need to be made between Eclipse 3.7.x (which might 
still need to use the unpatched version?) and 3.8.x/4.2.x (which *both* need 
the patched version)

Bad news: I don't know, what the process is to get this fix into the GWT 
Designer project. Can somebody review the patch, and add the above-mentioned 
points?

Original comment by chris.lercher on 26 Oct 2012 at 2:49

Attachments:

GoogleCodeExporter commented 8 years ago
By the way, the bug has been reported before in the GWT issue tracker: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=7492

Original comment by chris.lercher on 26 Oct 2012 at 2:56

GoogleCodeExporter commented 8 years ago
I deployed a patched version to my update site:

http://chris-lercher.appspot.com/update-sites/gwt-designer-patch-updates/

Please open the link in your browser first - it contains a README. The patch is 
ONLY for Eclipse 3.8/4.2 users on LINUX (both 32 and 64 bit). Do not use it 
with Eclipse 3.7.

Original comment by chris.lercher on 31 Oct 2012 at 10:27

GoogleCodeExporter commented 8 years ago
Thank you so much Sir. 
This is magic to me.
I wish I was a magician too.

Original comment by emilesa...@gmail.com on 5 Jan 2013 at 8:22

GoogleCodeExporter commented 8 years ago
Same error too.
    Google Plugin for Eclipse 4.2   3.1.3.v201212122042-rel-r42 
    GWT Designer Core   2.6.0.r42x201206111222  
    WindowBuilder Core  1.5.1.r42x201209161109  
    WindowBuilder CSS Support   1.5.0.r42x201206111208  
    WindowBuilder XML Core (requires Eclipse WTP/WST)   1.5.1.r42x201209161132  

Eclipse Juno SR1

Patch from chris lercher (2.6.0.r42x201210271200) solved the problem!
Thanks!

Original comment by lpe...@gmail.com on 10 Feb 2013 at 9:53