Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWT Designer Internal Error #2

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 6 comments
Open

GWT Designer Internal Error #2

GoogleCodeExporter opened this issue Mar 14, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant