I'm using Java 1.6 on both, but Oracle on Windows and OpenJDK on Linux. The command is the same and the classpath should not be the problem, as I have other requests in the same directory as this one (the ContratoUsuarioRequest) and they present no errors.
Thanks On Sat, Oct 6, 2012 at 7:09 PM, Thomas Broyer <[email protected]> wrote: > Which version of Java (Oracle vs. OpenJDK, 6 vs. 7, etc.) are you using on > both OSes? > Are they exactly the same? > Are you sure you're running exactly the same command? (same classpath, > etc.) > > On Saturday, October 6, 2012 11:41:18 PM UTC+2, Aldo wrote: >> >> Hi, >> >> I'm migrating my project to GWT 2.4 (I was using GWT v2.3) and when >> running the ValidationTool I'm getting an error, but that error is only >> displayed on Windows. When I run the same project on Linux, I get no error. >> >> The output message is below. >> >> I checked the ContratoUsuarioRequest class and I could not find anything >> different from other request classes. >> >> Thanks, >> Aldo >> >> >> error: java.lang.NullPointerException >> at com.sun.tools.javac.code.**Symbol$MethodSymbol.params(** >> Symbol.java:1196) >> at com.sun.tools.javac.code.**Symbol$MethodSymbol.** >> getParameters(Symbol.java:**1222) >> at com.sun.tools.javac.code.**Symbol$MethodSymbol.** >> getParameters(Symbol.java:974) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker$MethodFinder.**visitExecutable(DomainChecker.**java:71) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker$MethodFinder.**visitExecutable(DomainChecker.**java:48) >> at com.sun.tools.javac.code.**Symbol$MethodSymbol.accept(** >> Symbol.java:1230) >> at javax.lang.model.util.**ElementScanner6.scan(** >> ElementScanner6.java:122) >> at com.google.web.bindery.**requestfactory.apt.** >> ScannerBase.scan(ScannerBase.**java:63) >> at com.google.web.bindery.**requestfactory.apt.**ScannerBase.** >> scanAllInheritedMethods(**ScannerBase.java:126) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker$MethodFinder.**visitType(DomainChecker.java:**118) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker$MethodFinder.**visitType(DomainChecker.java:**48) >> at com.sun.tools.javac.code.**Symbol$ClassSymbol.accept(** >> Symbol.java:835) >> at javax.lang.model.util.**ElementScanner6.scan(** >> ElementScanner6.java:122) >> at com.google.web.bindery.**requestfactory.apt.** >> ScannerBase.scan(ScannerBase.**java:63) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker.visitExecutable(**DomainChecker.java:179) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker.visitExecutable(**DomainChecker.java:42) >> at com.sun.tools.javac.code.**Symbol$MethodSymbol.accept(** >> Symbol.java:1230) >> at javax.lang.model.util.**ElementScanner6.scan(** >> ElementScanner6.java:122) >> at com.google.web.bindery.**requestfactory.apt.** >> ScannerBase.scan(ScannerBase.**java:63) >> at com.google.web.bindery.**requestfactory.apt.**ScannerBase.** >> scanAllInheritedMethods(**ScannerBase.java:126) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker.visitType(**DomainChecker.java:263) >> at com.google.web.bindery.**requestfactory.apt.** >> DomainChecker.visitType(**DomainChecker.java:42) >> at com.sun.tools.javac.code.**Symbol$ClassSymbol.accept(** >> Symbol.java:835) >> at javax.lang.model.util.**ElementScanner6.scan(** >> ElementScanner6.java:122) >> at com.google.web.bindery.**requestfactory.apt.** >> ScannerBase.scan(ScannerBase.**java:63) >> at com.google.web.bindery.**requestfactory.apt.State.** >> executeJobs(State.java:248) >> at com.google.web.bindery.**requestfactory.apt.** >> RfValidator.process(**RfValidator.java:83) >> at com.sun.tools.javac.**processing.**JavacProcessingEnvironment. >> **callProcessor(**JavacProcessingEnvironment.**java:627) >> at com.sun.tools.javac.**processing.**JavacProcessingEnvironment. >> **discoverAndRunProcs(**JavacProcessingEnvironment.**java:556) >> at com.sun.tools.javac.**processing.**JavacProcessingEnvironment. >> **doProcessing(**JavacProcessingEnvironment.**java:701) >> at com.sun.tools.javac.main.**JavaCompiler.**processAnnotations(* >> *JavaCompiler.java:987) >> at com.sun.tools.javac.main.**JavaCompiler.compile(** >> JavaCompiler.java:727) >> at com.sun.tools.javac.main.Main.**compile(Main.java:353) >> at com.sun.tools.javac.api.**JavacTaskImpl.call(** >> JavacTaskImpl.java:115) >> at com.google.web.bindery.**requestfactory.apt.** >> ValidationTool.exec(**ValidationTool.java:261) >> at com.google.web.bindery.**requestfactory.apt.** >> ValidationTool.main(**ValidationTool.java:209) >> error: Could not load domain mapping for context ContratoUsuarioRequest. >> Check that both the shared interfaces and server domain types are on the >> classpath. >> 2 errors >> >> -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/hcM9UfHgAN4J. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
