Debug not working with 1.6 in eclipse ganymede (3.4) on Ubuntu Jaunty (9.04)

1,396 views
Skip to first unread message

Ron Trask

unread,
Jun 3, 2009, 6:14:52 PM6/3/09
to Google Web Toolkit
Eclipse seems to function just fine, and I am able to debug regular
java applications, but when I run a GWT app in hosted mode it ignores
my break points. I know that it is executing the code. but it does not
matter where the breakpoint is it does not stop. Any ideas?

Greg

unread,
Jun 4, 2009, 11:04:49 AM6/4/09
to Google Web Toolkit
Ron Trask wrote
A workaround for the same problem on Vista is in the thread rooted at

http://groups.google.com/group/Google-Web-Toolkit/msg/12a9a25112bab475

Hope this helps,
Greg

Ronald Trask

unread,
Jun 4, 2009, 4:32:07 PM6/4/09
to Google-We...@googlegroups.com
Thanks for the link Greg, It has helped me make some progress. After
turning on spam level messaging on the compile, I got the following:

Invoking <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
Analyzing method 'disclosurePanelClosed' in type
com.google.gwt.user.client.ui.DisclosurePanelImages
Adding image
'com/google/gwt/user/client/ui/disclosurePanelClosed.png'
[ERROR] Errors in
'jar:file:/usr/local/GWT/gwt-linux-1.6.4/gwt-user.jar!/com/google/gwt/user/client/ui/DisclosurePanel.java'
[ERROR] Internal compiler error
java.util.ServiceConfigurationError: sun.java2d.cmm.PCMM: Provider
sun.java2d.cmm.lcms.LCMS could not be instantiated:
java.lang.UnsatisfiedLinkError: Can't load
library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.util.ServiceLoader.fail(ServiceLoader.java:224)
at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:370)
at java.util.ServiceLoader$1.next(ServiceLoader.java:438)
at sun.java2d.cmm.CMSManager$1.run(CMSManager.java:65)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.cmm.CMSManager.getModule(CMSManager.java:55)
...

And


[ERROR] Unexpected
java.util.ServiceConfigurationError: sun.java2d.cmm.PCMM: Provider
sun.java2d.cmm.lcms.LCMS could not be instantiated:
java.lang.UnsatisfiedLinkError: Can't load
library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.util.ServiceLoader.fail(ServiceLoader.java:224)
at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:370)
at java.util.ServiceLoader$1.next(ServiceLoader.java:438)
at sun.java2d.cmm.CMSManager$1.run(CMSManager.java:65)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.cmm.CMSManager.getModule(CMSManager.java:55)
at
java.awt.color.ICC_Profile.activateDeferredProfile(ICC_Profile.java:1089)
at java.awt.color.ICC_Profile$1.activate(ICC_Profile.java:741)
at
sun.java2d.cmm.ProfileDeferralMgr.activateProfiles(ProfileDeferralMgr.java:93)
at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:774)


Now this is pretty strange. I loaded the latest Sun JVM, and the error
indicates a Sun provider trying to load a java-6-openjdk library. I'll
attempt to load java-6-openjdk onto the system but I am afraid that will
make things worse.

Rajeev Dayal

unread,
Jun 5, 2009, 10:04:58 AM6/5/09
to Google-We...@googlegroups.com
Hi,

I'm currently looking into this issue, and what I've found is that this problem is cropping up when using JDK 1.6.0_14. When using JDK 1.6.0_13, the problem does not seem to happen - all breakpoints are hit. So, as an alternate workaround, use a different JDK other than 1.6.0_14.

See the thread that Greg pointed out for updated information.


Rajeev
Reply all
Reply to author
Forward
0 new messages