I am facing the same issue exactly. On Jan 28, 10:09 am, CVdS <ni...@zykov.com> wrote: > Hi All, > > Did someone manage to correctly run EclEmma code coverage with GWT > 2.0? > > I tried it many times with Eclipse 3.5, with both EclEmma 1.3.2 and > 1.4.3, both updated (with emma.jar published on the GWT site) and not, > the results are always the same: > > The console says something like > [WARN] > com.crofthawk.mgmt.Management.JUnit:com.crofthawk.mgmt.gwt.GwtTestAdminsMan > agementViewImpl.testShowErrorMessage > is being retried, retry attempt = 1 > ...for every test and I have the following stack trace: > > java.lang.RuntimeException: Remote test failed at 78.106.163.8 / > Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/ > 2008070208 Firefox/3.0.1 > at com.google.gwt.junit.JUnitShell.processTestResult(JUnitShell.java: > 1083) > at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1203) > at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1198) > at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1198) > at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1104) > at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:523) > at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java: > 406) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:282) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at org.junit.internal.runners.JUnit38ClassRunner.run > (JUnit38ClassRunner.java:83) > at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run > (JUnit4TestReference.java:46) > at org.eclipse.jdt.internal.junit.runner.TestExecution.run > (TestExecution.java:38) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > (RemoteTestRunner.java:467) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests > (RemoteTestRunner.java:683) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run > (RemoteTestRunner.java:390) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main > (RemoteTestRunner.java:197) > Caused by: java.lang.NullPointerException > at com.google.gwt.dev.shell.CompilingClassLoader > $MyInstanceMethodOracle.findOriginalDeclaringClass > (CompilingClassLoader.java:409) > at com.google.gwt.dev.shell.rewrite.RewriteRefsToJsoClasses > $MyMethodAdapter.visitMethodInsn(RewriteRefsToJsoClasses.java:83) > at com.google.gwt.dev.asm.ClassReader.accept(ClassReader.java:1371) > at com.google.gwt.dev.asm.ClassReader.accept(ClassReader.java:420) > at com.google.gwt.dev.shell.rewrite.HostedModeClassRewriter.rewrite > (HostedModeClassRewriter.java:244) > at com.google.gwt.dev.shell.CompilingClassLoader.findClassBytes > (CompilingClassLoader.java:1157) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:985) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.lang.ClassLoader.defineClass(ClassLoader.java:462) > at com.google.gwt.dev.shell.CompilingClassLoader.findClass > (CompilingClassLoader.java:1011) > at java.lang.ClassLoader.loadClass(ClassLoader.java:303) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) > at com.crofthawk.mgmt.gwt.GwtTestAdminsManagementViewImpl.gwtSetUp > (GwtTestAdminsManagementViewImpl.java:44) > at com.google.gwt.junit.client.GWTTestCase.setUp(GWTTestCase.java: > 268) > at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java: > 205) > at com.google.gwt.junit.client.GWTTestCase.__doRunTest > (GWTTestCase.java:137) > at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java: > 366) > at com.google.gwt.junit.client.impl.GWTRunner.doRunTest > (GWTRunner.java:295) > at com.google.gwt.junit.client.impl.GWTRunner.access$9(GWTRunner.java: > 289) > at com.google.gwt.junit.client.impl.GWTRunner > $TestBlockListener.onSuccess(GWTRunner.java:105) > at com.google.gwt.junit.client.impl.GWTRunner > $TestBlockListener.onSuccess(GWTRunner.java:1) > at > com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv ed > (RequestCallbackAdapter.java:216) > at com.google.gwt.http.client.Request.fireOnResponseReceived > (Request.java:287) > at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange > (RequestBuilder.java:396) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: > 103) > at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: > 71) > at com.google.gwt.dev.shell.OophmSessionHandler.invoke > (OophmSessionHandler.java:157) > at > com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur n > (BrowserChannel.java:1713) > at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript > (BrowserChannelServer.java:165) > at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke > (ModuleSpaceOOPHM.java:120) > at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: > 507) > at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject > (ModuleSpace.java:264) > at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject > (JavaScriptHost.java:91) > at com.google.gwt.core.client.impl.Impl.apply(Impl.java) > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:195) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: > 103) > at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: > 71) > at com.google.gwt.dev.shell.OophmSessionHandler.invoke > (OophmSessionHandler.java:157) > at com.google.gwt.dev.shell.BrowserChannel.reactToMessages > (BrowserChannel.java:1668) > at com.google.gwt.dev.shell.BrowserChannelServer.processConnection > (BrowserChannelServer.java:401) > at com.google.gwt.dev.shell.BrowserChannelServer.run > (BrowserChannelServer.java:222) > at java.lang.Thread.run(Thread.java:619) > > The most interesting is that the same tests are running fine as simple > JUnit (yes, of course, I put the right classpath in the config), and > EclEmma covers fine all the non-GWT tests on the same machine. > > Any ideas?
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.