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,Aldoerror: java.lang.NullPointerExceptionat 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment