Bonjour à tous,
Je suis en train de développer une appli web, le client étant basé sur GWT 2.5.
J'ai mis à place 3 modules GWT :
- module "App" : partie "application" nécessitant une authentification
- module "Portal" : partie publique accessible avec ou sans authentification
- module "Common" : module "utilitaire" métant à disposition des composants communs au 2 autres modules.
Les 2 modules "App" et "Commun" passent à la compilation.
Par contre, le module "Portal" ne passe pas. Pire, il provoque une erreur interne au compilateur, et qui rend donc difficile le débuggage.
Voici l'erreur :A votre avis qu'est-ce qui a pu causer cette erreur ? Bug du compilateur ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.NullPointerException [INFO] at com.google.gwt.dev.javac.CompilationProblemReporter.reportErrors(CompilationProblemReporter.java:200) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:666) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:970) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1033) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1024) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:940) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:678) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985) [INFO] at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621) [INFO] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229) [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232) [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198) [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) [INFO] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) [INFO] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
Merci d'avance pour votre aide.
Partager