I'm running the test via a Intellij config. The tests run fine with ant so it's really a problem of classpath. What is weird is that this is an old configuration and it worked fine before I synchronize my master branch one week ago.
Anyway I'll tweak a bit the classpath in order to fine what cause that bug. Thanks for your help, Julien On Sat Nov 15 2014 at 10:13:28 AM Manuel Carrasco Moñino <[email protected]> wrote: > Julien could you explain how are you trying to run tests, I mean if you > are using ant and what parameters you are using. I have just checked out > master and run non gwt tests, and everything went ok: > $ ant clean buildonly; (cd user && ant test.nongwt) > > Can you try the same? what ant and java versions are you using? > > > > On Fri, Nov 14, 2014 at 10:46 PM, 'Roberto Lublinerman' via GWT > Contributors <[email protected]> wrote: > >> This looks awfully a class path issue. Did you ant clean before building? >> >> On Fri, Nov 14, 2014 at 3:06 AM, Julien Dramaix <[email protected] >> > wrote: >> >>> I've updated my master branch (of the GWT-core project) the with the >>> remote and now I'm not able to run any GWT test cases included in the >>> project. I receive first this error: >>> >>> >>> java.lang.NoSuchFieldError: VOID >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker$JSORestrictionsVisitor.isGetter(JSORestrictionsChecker.java:294) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker$JSORestrictionsVisitor.checkJsTypeMethodsForOverloads(JSORestrictionsChecker.java:341) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker$JSORestrictionsVisitor.checkJsType(JSORestrictionsChecker.java:262) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker$JSORestrictionsVisitor.checkType(JSORestrictionsChecker.java:368) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker$JSORestrictionsVisitor.visit(JSORestrictionsChecker.java:239) >>> at >>> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1286) >>> at >>> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:712) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker.check(JSORestrictionsChecker.java:601) >>> at >>> com.google.gwt.dev.javac.JSORestrictionsChecker.check(JSORestrictionsChecker.java:524) >>> at >>> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:99) >>> at >>> com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384) >>> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470) >>> at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:985) >>> at >>> com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339) >>> at >>> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:580) >>> at >>> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:513) >>> at >>> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:499) >>> at >>> com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:668) >>> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1312) >>> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1277) >>> at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:671) >>> at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421) >>> at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247) >>> at >>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) >>> at org.junit.runner.JUnitCore.run(JUnitCore.java:157) >>> at >>> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134) >>> >>> >>> Then each test case fails with: >>> java.lang.NullPointerException >>> at >>> com.google.gwt.junit.JUnitShell.checkTestClassInCurrentModule(JUnitShell.java:714) >>> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1321) >>> at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:1277) >>> at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:671) >>> at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:421) >>> at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:247) >>> at >>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) >>> at org.junit.runner.JUnitCore.run(JUnitCore.java:157) >>> at >>> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211) >>> at >>> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134) >>> >>> >>> I'm sure something is wrong locally but I don't see what. Any hint ? >>> >>> Julien >>> >>> -- >>> 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 [email protected] >>> . >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D66%3DKJkw6JW%3D4Lyk%2BPNkD6z_PMyqQp2zW%3D9ggVTjoVDrA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D66%3DKJkw6JW%3D4Lyk%2BPNkD6z_PMyqQp2zW%3D9ggVTjoVDrA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gmJ0mBaREemwX1gP6HQPSv8By01Hv22UU0yr2SSPMp5yA%40mail.gmail.com >> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAC7T7gmJ0mBaREemwX1gP6HQPSv8By01Hv22UU0yr2SSPMp5yA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAs_7-gfw7r95z-p_nH4-UNGkf5prAO-Q_X7%2BXZrraexRw%40mail.gmail.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAM28XAs_7-gfw7r95z-p_nH4-UNGkf5prAO-Q_X7%2BXZrraexRw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D7F3%3DoraJzxsgYPKvrnrpF%3DaK2qU3yVuy9W%3Df%2B4tD5pZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
