Re: GWT 2.6.0 to 2.7.0 leads to compiler error 'java.lang.IncompatibleClassChangeError'
Thanks for the hint. It was an old ASM version. Now it builds fine. Am Mittwoch, 3. Dezember 2014 09:42:18 UTC+1 schrieb Cristiano: Hi, find out which dependency is including ASM and then try to exclude it in your pom.xml In our project, app-hmi-soaconnector was importing ASM as a sub-dependency due to CXF, so It did added the exclusion tag like you can see below directly in our main GWT web app project. --- app_main/hmi/app-gwt-webapp/pom.xml (revision 7903) +++ app_main/hmi/app-gwt-webapp/pom.xml (working copy) @@ -130,6 +136,12 @@ artifactIdapp-hmi-soaconnector/artifactId version${app.version}/version + exclusions + exclusion + artifactIdasm/artifactId + groupIdasm/groupId + /exclusion + /exclusions /dependency dependency I found out the responsible using Eclipse Dependency Hierarchy. Also remember to include codeserver dependency if you want to use super dev mode @@ -79,6 +79,12 @@ version${gwt.version}/version scoperuntime/scope /dependency + dependency + groupIdcom.google.gwt/groupId + artifactIdgwt-codeserver/artifactId + version${gwt.version}/version + scopetest/scope + /dependency !-- Guice Injection dependencies -- dependency groupIdcom.google.inject/groupId Regards, Cristiano Il giorno Wed, 3 Dec 2014 alle 08:33 Thomas Broyer t.br...@gmail.com javascript: ha scritto: You must have an incompatible version of ASM in your build path. ASM only ensures backwards compatible starting with version 4, earlier versions should have been repackaged but it's not always the case (people have listed Hibernate as a culprit for example) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. To post to this group, send email to google-we...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
GWT 2.6.0 to 2.7.0 leads to compiler error 'java.lang.IncompatibleClassChangeError'
Hello, after switching to GWT 2.7.0 I cannot build our project anymore. I cleaned everything in my Maven target folder (gwt unit cache, build classes, ...) but with no luck. Every time I get this stacktrace: [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.IncompatibleClassChangeError: class com.google.gwt.dev.javac.asm.CollectMethodData has interface org.objectweb.asm.MethodVisitor as super class [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:760) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:455) [INFO] at java.net.URLClassLoader.access$100(URLClassLoader.java:73) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:367) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:360) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [INFO] at java.lang.Class.getDeclaredMethods0(Native Method) [INFO] at java.lang.Class.privateGetDeclaredMethods(Class.java:2688) [INFO] at java.lang.Class.getDeclaredMethod(Class.java:2115) [INFO] at java.io.ObjectStreamClass.getPrivateMethod(ObjectStreamClass.java:1431) [INFO] at java.io.ObjectStreamClass.access$1700(ObjectStreamClass.java:72) [INFO] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:494) [INFO] at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:468) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.io.ObjectStreamClass.init(ObjectStreamClass.java:468) [INFO] at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:365) [INFO] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:602) [INFO] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623) [INFO] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) [INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774) [INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [INFO] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993) [INFO] at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:501) [INFO] at com.google.gwt.dev.javac.CachedCompilationUnit.readObject(CachedCompilationUnit.java:204) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] at java.lang.reflect.Method.invoke(Method.java:483) [INFO] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017) [INFO] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896) [INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [INFO] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707) [INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345) [INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) [INFO] at com.google.gwt.dev.javac.CompilationUnitArchive.readObject(CompilationUnitArchive.java:124) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [INFO] at java.lang.reflect.Method.invoke(Method.java:483) [INFO] at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017) [INFO] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896) [INFO] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801) [INFO] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351) [INFO] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371) [INFO] at com.google.gwt.dev.javac.CompilationUnitArchive.createFromStream(CompilationUnitArchive.java:59) [INFO] at com.google.gwt.dev.javac.CompilationUnitArchive.createFromURL(CompilationUnitArchive.java:66) [INFO] at com.google.gwt.dev.ArchivePreloader.preloadArchives(ArchivePreloader.java:62) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:246) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:206) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:158) [INFO] at
Re: [gwt-contrib] Release workflow
Hello Daniel, this issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=8249 This commit: https://gwt-review.googlesource.com/7153 It's a very small fix but urgent for our customers. Stephan Am Montag, 28. April 2014 08:26:07 UTC+2 schrieb Daniel Kurka: Hello Stephan, we already closed of changes for the GWT 2.6.1 release. You should always make a fix against trunk and when it is reviewed and submitted, cherrypick it to an appropriate release branch. What issue are you talking about? -Daniel On Sun, Apr 27, 2014 at 10:52 PM, Stephan Beutel stephan...@gmail.comjavascript: wrote: Hello, I'd like to know where to commit if I want my fixed into the next release? I think the nect release is 2.6.1. Should I commit into 2.6.0 branch or into trunk revision? Thanks. Stephan -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.comjavascript: . For more options, visit https://groups.google.com/d/optout. -- Google Germany GmbH *Dienerstr. 12* *80331 München* Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Katherine Stephens -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [gwt-contrib] Release workflow
Hello Daniel, this issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=8249 This commit: https://gwt-review.googlesource.com/7151 It's a very small fix but urgent for our customers. Stephan Am Montag, 28. April 2014 08:26:07 UTC+2 schrieb Daniel Kurka: Hello Stephan, we already closed of changes for the GWT 2.6.1 release. You should always make a fix against trunk and when it is reviewed and submitted, cherrypick it to an appropriate release branch. What issue are you talking about? -Daniel On Sun, Apr 27, 2014 at 10:52 PM, Stephan Beutel stephan...@gmail.comjavascript: wrote: Hello, I'd like to know where to commit if I want my fixed into the next release? I think the nect release is 2.6.1. Should I commit into 2.6.0 branch or into trunk revision? Thanks. Stephan -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.comjavascript: . For more options, visit https://groups.google.com/d/optout. -- Google Germany GmbH *Dienerstr. 12* *80331 München* Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Graham Law, Katherine Stephens -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Release workflow
Hello, I'd like to know where to commit if I want my fixed into the next release? I think the nect release is 2.6.1. Should I commit into 2.6.0 branch or into trunk revision? Thanks. Stephan -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [gwt-contrib] Re: Setup Eclipse workspace for core development
Hello, I tried it now on Linux and it works very well. No problems setting up the workspace. I think the problem was, that some jars are build by shell scripts which won't run on Windows. Thanks for help. Stephan Am Donnerstag, 17. April 2014 12:32:49 UTC+2 schrieb Stephan Beutel: Hello, This setting is correct. In eclipse i'm Not able to change the selection. Mit freundlichen Grüßen Best regards Stephan Beutel Am 17.04.2014 um 12:12 schrieb Jens jens.nehlme...@gmail.com: Could not find the GWT compiler jarfile. Serialization errors might occur when accessing the persistent unit cache. Starting http://10.43.9.45:56704/com.google.gwt.user.cellview.CellView.JUnit/junit-standards.html?gwt.codesvr=10.43.9.45:56702on browser FF17 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/junit-standards.html?gwt.codesvr= 10.43.9.45:56702 (10.43.9.45) 2625 bytes 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/com.google.gwt.user.cellview.CellView.JUnit.nocache.js (10.43.9.45) 8184 bytes 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/com.google.gwt.user.cellview.CellView.JUnit.devmode.js (10.43.9.45) 15713 bytes [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/web/bindery/event/Event.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 Looks like you have GWT 2.6 on class path. If you import gwt-user/gwt-dev correctly GPE should detect that you are using GWT from source. Under project settings - Google - GWT the SDK selection should be disabled and use specific SDK should be pre-selected. It should point to your GWT project. -- J. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to a topic in the Google Groups GWT Contributors group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit-contributors/Ik4JOg-qIGk/unsubscribe . To unsubscribe from this group and all its topics, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Setup Eclipse workspace for core development
:201) at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:144) at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:110) at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302) at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235) at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:229) at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:106) at com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:61) at com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:1) at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:259) at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412) 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 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:104) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:360) 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 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368) at java.lang.Thread.run(Unknown Source) Should I build the Constants class before executing the test? How can I do this? Stephan Am Donnerstag, 17. April 2014 10:34:11 UTC+2 schrieb Thomas Broyer: First, you should probably subscribe and post to https://groups.google.com/d/forum/google-web-toolkit-contributors for questions related to developing GWT itself (as opposed to developing *with* GWT) Cc'ing that group, please follow-up there. On Wednesday, April 16, 2014 4:03:20 PM UTC+2, Stephan Beutel wrote: Hello, I'm trying to setup a working Eclipse workspace with the GWT core like described in the included README.txt which comes with the GWT source code. In the last 3 weeks I tried out several Eclipse distributions without success. The main questions are: Which Operationg systems are supported? Windows7? In theory, any; though most contributors use Mac or Linux (in other words: it's supposed to work on Windows, but not many people use it so it's mostly untested there) Which Java version must be installed? Java 7; either OpenJDK or Oracle JDK (I use OpenJDK). You should be able to use Java 6 but some tests would fail: https://code.google.com/p/google-web-toolkit/issues/detail?id=8574 Which Eclipse distrubition and version? Any (in theory at least). I still use an oldish Indigo, but I think I tried once with Juno without any problem. I personally use a for Java Developers edition (no JavaEE here). Which plugins required and which version? Google Plugin for Eclipse is not required, but highly recommended (helps to edit JSNI methods and run tests right from Eclipse) The Checkstyle plugin can be used to check the code right in Eclipse instead of requiring ant checkstyle. I personally don't use it as it (used to) slow down Eclipse a lot. Checkstyle is automatically run on your patches before they can be merged anyway. Is there any working description how to setup the workspace to develop GWT core? The existing one is very misunderstanding, e.g. changing project properties before importimg the project (gwt-user)? Hmm
[gwt-contrib] Re: Setup Eclipse workspace for core development
:201) at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:144) at com.google.gwt.junit.client.GWTTestCase.__doRunTest(GWTTestCase.java:110) at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:302) at com.google.gwt.junit.client.impl.GWTRunner.doRunTest(GWTRunner.java:235) at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java:229) at com.google.gwt.junit.client.impl.GWTRunner$TestBlockListener.onSuccess(GWTRunner.java:106) at com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:61) at com.google.gwt.junit.client.impl.GWTRunner$InitialResponseListener.onSuccess(GWTRunner.java:1) at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:232) at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:259) at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:412) 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 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:341) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:222) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:137) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:589) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:293) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:104) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:360) 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 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:72) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:296) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:551) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:368) at java.lang.Thread.run(Unknown Source) Should I build the Constants class before executing the test? How can I do this? Stephan Am Donnerstag, 17. April 2014 10:34:11 UTC+2 schrieb Thomas Broyer: First, you should probably subscribe and post to https://groups.google.com/d/forum/google-web-toolkit-contributors for questions related to developing GWT itself (as opposed to developing *with* GWT) Cc'ing that group, please follow-up there. On Wednesday, April 16, 2014 4:03:20 PM UTC+2, Stephan Beutel wrote: Hello, I'm trying to setup a working Eclipse workspace with the GWT core like described in the included README.txt which comes with the GWT source code. In the last 3 weeks I tried out several Eclipse distributions without success. The main questions are: Which Operationg systems are supported? Windows7? In theory, any; though most contributors use Mac or Linux (in other words: it's supposed to work on Windows, but not many people use it so it's mostly untested there) Which Java version must be installed? Java 7; either OpenJDK or Oracle JDK (I use OpenJDK). You should be able to use Java 6 but some tests would fail: https://code.google.com/p/google-web-toolkit/issues/detail?id=8574 Which Eclipse distrubition and version? Any (in theory at least). I still use an oldish Indigo, but I think I tried once with Juno without any problem. I personally use a for Java Developers edition (no JavaEE here). Which plugins required and which version? Google Plugin for Eclipse is not required, but highly recommended (helps to edit JSNI methods and run tests right from Eclipse) The Checkstyle plugin can be used to check the code right in Eclipse instead of requiring ant checkstyle. I personally don't use it as it (used to) slow down Eclipse a lot. Checkstyle is automatically run on your patches before they can be merged anyway. Is there any working description how to setup the workspace to develop GWT core? The existing one is very misunderstanding, e.g. changing project properties before importimg the project (gwt-user)? Hmm
Re: [gwt-contrib] Re: Setup Eclipse workspace for core development
Hello, This setting is correct. In eclipse i'm Not able to change the selection. Mit freundlichen Grüßen Best regards Stephan Beutel Am 17.04.2014 um 12:12 schrieb Jens jens.nehlme...@gmail.com: Could not find the GWT compiler jarfile. Serialization errors might occur when accessing the persistent unit cache. Starting http://10.43.9.45:56704/com.google.gwt.user.cellview.CellView.JUnit/junit-standards.html?gwt.codesvr=10.43.9.45:56702 on browser FF17 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/junit-standards.html?gwt.codesvr=10.43.9.45:56702 (10.43.9.45) 2625 bytes 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/com.google.gwt.user.cellview.CellView.JUnit.nocache.js (10.43.9.45) 8184 bytes 200 - GET /com.google.gwt.user.cellview.CellView.JUnit/com.google.gwt.user.cellview.CellView.JUnit.devmode.js (10.43.9.45) 15713 bytes [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 [WARN] Unable to read: jar:file:/D:/sts-3.5.0/plugins/com.google.gwt.eclipse.sdkbundle_2.6.0/gwt-2.6.0/gwt-user.jar!/com/google/web/bindery/event/Event.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompilationUnit; local class incompatible: stream classdesc serialVersionUID = 3631357674639647071, local class serialVersionUID = 5263131532433775474 Looks like you have GWT 2.6 on class path. If you import gwt-user/gwt-dev correctly GPE should detect that you are using GWT from source. Under project settings - Google - GWT the SDK selection should be disabled and use specific SDK should be pre-selected. It should point to your GWT project. -- J. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to a topic in the Google Groups GWT Contributors group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit-contributors/Ik4JOg-qIGk/unsubscribe. To unsubscribe from this group and all its topics, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[gwt-contrib] Re: Not able to run GWTTestCase
I also tried it with the Eclipse 3.8 and end up at the same point. I'm not able to run any GWTTestCase. Am Mittwoch, 12. Februar 2014 12:17:55 UTC+1 schrieb Stephan Beutel: Hello, I set up my Eclipse to contribute to GWT and worked through the Readme to set up an Eclipse workspace. All errors are gone in my Eclipse (Springsource Toolsuite) now, but I'm not able to run any GWTTestCase from within my Eclipse. The Ant build runs successfully. When trying to run any GWTTestCase I get this error: java.lang.Error: Unresolved compilation problems: The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved AbstractLifeCycle cannot be resolved to a type RequestLog cannot be resolved to a type Request cannot be resolved to a type Response cannot be resolved to a type AbstractHttpConnection cannot be resolved to a type HttpFields cannot be resolved to a type Field cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Log cannot be resolved WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type Log cannot be resolved Log cannot be resolved Server cannot be resolved to a type Server cannot be resolved to a type Log cannot be resolved WebAppContext cannot be resolved to a type WebAppClassLoader cannot be resolved to a type The method findResource(String) of type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension must override or implement a supertype method WebAppClassLoader cannot be resolved to a type WebAppClassLoader cannot be resolved to a type The method findClass(String) of type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension must override or implement a supertype method WebAppClassLoader cannot be resolved to a type The method isServerClass(String) is undefined for the type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension WebAppClassLoader cannot be resolved to a type The method addClassPath(String) is undefined for the type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension The method getInitParams() is undefined for the type JettyLauncher.WebAppContextWithReload The method setParentLoaderPriority(boolean) is undefined for the type JettyLauncher.WebAppContextWithReload The method isSystemClass(String) of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method WebAppContext cannot be resolved to a type The method doStart() of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method The method setClassLoader(JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension) is undefined for the type JettyLauncher.WebAppContextWithReload WebAppContext cannot be resolved to a type The method doStop() of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method WebAppContext cannot be resolved to a type The method getClassLoader() is undefined for the type JettyLauncher.WebAppContextWithReload The method setClassLoader(null) is undefined for the type JettyLauncher.WebAppContextWithReload AbstractConnector cannot be resolved to a type Log cannot be resolved Server cannot be resolved to a type Server cannot be resolved to a type AbstractConnector cannot be resolved to a type The method getConnector(TreeLogger) from the type JettyLauncher refers to the missing type AbstractConnector WebAppContext cannot be resolved to a type The method createWebAppContext(TreeLogger, File) from the type JettyLauncher refers to the missing type WebAppContext RequestLogHandler cannot be resolved to a type RequestLogHandler cannot be resolved to a type Log cannot be resolved Server cannot be resolved to a type WebAppContext cannot be resolved to a type WebAppContext cannot be resolved to a type AbstractConnector cannot be resolved to a type SslSocketConnector cannot
[gwt-contrib] Not able to run GWTTestCase
Hello, I set up my Eclipse to contribute to GWT and worked through the Readme to set up an Eclipse workspace. All errors are gone in my Eclipse (Springsource Toolsuite) now, but I'm not able to run any GWTTestCase from within my Eclipse. The Ant build runs successfully. When trying to run any GWTTestCase I get this error: java.lang.Error: Unresolved compilation problems: The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved The import org.eclipse.jetty cannot be resolved AbstractLifeCycle cannot be resolved to a type RequestLog cannot be resolved to a type Request cannot be resolved to a type Response cannot be resolved to a type AbstractHttpConnection cannot be resolved to a type HttpFields cannot be resolved to a type Field cannot be resolved to a type Logger cannot be resolved to a type Logger cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Log cannot be resolved WebAppContext cannot be resolved to a type Server cannot be resolved to a type WebAppContext cannot be resolved to a type Server cannot be resolved to a type Log cannot be resolved Log cannot be resolved Server cannot be resolved to a type Server cannot be resolved to a type Log cannot be resolved WebAppContext cannot be resolved to a type WebAppClassLoader cannot be resolved to a type The method findResource(String) of type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension must override or implement a supertype method WebAppClassLoader cannot be resolved to a type WebAppClassLoader cannot be resolved to a type The method findClass(String) of type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension must override or implement a supertype method WebAppClassLoader cannot be resolved to a type The method isServerClass(String) is undefined for the type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension WebAppClassLoader cannot be resolved to a type The method addClassPath(String) is undefined for the type JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension The method getInitParams() is undefined for the type JettyLauncher.WebAppContextWithReload The method setParentLoaderPriority(boolean) is undefined for the type JettyLauncher.WebAppContextWithReload The method isSystemClass(String) of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method WebAppContext cannot be resolved to a type The method doStart() of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method The method setClassLoader(JettyLauncher.WebAppContextWithReload.WebAppClassLoaderExtension) is undefined for the type JettyLauncher.WebAppContextWithReload WebAppContext cannot be resolved to a type The method doStop() of type JettyLauncher.WebAppContextWithReload must override or implement a supertype method WebAppContext cannot be resolved to a type The method getClassLoader() is undefined for the type JettyLauncher.WebAppContextWithReload The method setClassLoader(null) is undefined for the type JettyLauncher.WebAppContextWithReload AbstractConnector cannot be resolved to a type Log cannot be resolved Server cannot be resolved to a type Server cannot be resolved to a type AbstractConnector cannot be resolved to a type The method getConnector(TreeLogger) from the type JettyLauncher refers to the missing type AbstractConnector WebAppContext cannot be resolved to a type The method createWebAppContext(TreeLogger, File) from the type JettyLauncher refers to the missing type WebAppContext RequestLogHandler cannot be resolved to a type RequestLogHandler cannot be resolved to a type Log cannot be resolved Server cannot be resolved to a type WebAppContext cannot be resolved to a type WebAppContext cannot be resolved to a type AbstractConnector cannot be resolved to a type SslSocketConnector cannot be resolved to a type SslSocketConnector cannot be resolved to a type SelectChannelConnector cannot be resolved to a type at com.google.gwt.dev.shell.jetty.JettyLauncher.init(JettyLauncher.java:27) at com.google.gwt.junit.JUnitShell$MyJettyLauncher.init(JUnitShell.java:580) at