I have a similar problem with my custom generator. It works fine in
hosted mode but will not compile in web mode.
The error message :
Computing all possible rebind results for
'com.mw4gwt.client.IGeneratableAbstrac
tActionFactoryTag'
Rebinding com.mw4gwt.client.IGeneratableAbstractActionFactoryTag
Assimilating generated source
[ERROR] Errors in 'C:\eclipseWorkspace\mnewsWebClient\src
\mnews\client\
Main.java'
[ERROR] Internal compiler error
java.lang.NullPointerException
at
com.google.gwt.user.rebind.ClassSourceFileComposer.print(ClassSourceF
ileComposer.java:144)
at
com.google.gwt.user.rebind.ClassSourceFileComposer.println(ClassSourc
eFileComposer.java:159)
at
com.google.gwt.user.rebind.ClassSourceFileComposer.<init>(ClassSource
FileComposer.java:61)
at
com.google.gwt.user.rebind.ClassSourceFileComposerFactory.createSourc
eWriter(ClassSourceFileComposerFactory.java:98)
at
com.mw4gwt.rebind.AbstractActionFactoryGenerator.generate(AbstractAct
ionFactoryGenerator.java:26)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java
:43)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.tryRebind(Stan
dardRebindOracle.java:116)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(Standar
dRebindOracle.java:61)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOr
acle.java:173)
at com.google.gwt.dev.GWTCompiler
$DistillerRebindPermutationOracle.getAl
lPossibleRebindAnswers(GWTCompiler.java:195)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesU
singRebinds(WebModeCompilerFrontEnd.java:105)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.process(Abstract
Compiler.java:137)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:329)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.compile(Abstract
Compiler.java:74)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.compile(Abstract
Compiler.java:162)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access
$600(Abstr
actCompiler.java:61)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java
:430)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDecl
arations(WebModeCompilerFrontEnd.java:65)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.<init>(JavaToJavaScri
ptCompiler.java:248)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:
329)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:755)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)
Exception in thread "main" java.lang.NullPointerException
at
com.google.gwt.user.rebind.ClassSourceFileComposer.print(ClassSourceF
ileComposer.java:144)
at
com.google.gwt.user.rebind.ClassSourceFileComposer.println(ClassSourc
eFileComposer.java:159)
at
com.google.gwt.user.rebind.ClassSourceFileComposer.<init>(ClassSource
FileComposer.java:61)
at
com.google.gwt.user.rebind.ClassSourceFileComposerFactory.createSourc
eWriter(ClassSourceFileComposerFactory.java:98)
at
com.mw4gwt.rebind.AbstractActionFactoryGenerator.generate(AbstractAct
ionFactoryGenerator.java:26)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java
:43)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.tryRebind(Stan
dardRebindOracle.java:116)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(Standar
dRebindOracle.java:61)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOr
acle.java:173)
at com.google.gwt.dev.GWTCompiler
$DistillerRebindPermutationOracle.getAl
lPossibleRebindAnswers(GWTCompiler.java:195)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesU
singRebinds(WebModeCompilerFrontEnd.java:105)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.process(Abstract
Compiler.java:137)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:329)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.compile(Abstract
Compiler.java:74)
at com.google.gwt.dev.jdt.AbstractCompiler
$CompilerImpl.compile(Abstract
Compiler.java:162)
at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access
$600(Abstr
actCompiler.java:61)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java
:430)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDecl
arations(WebModeCompilerFrontEnd.java:65)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.<init>(JavaToJavaScri
ptCompiler.java:248)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:
329)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:755)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)