steffenschaefer / gwt-gradle-plugin

Gradle plugin to support GWT (http://www.gwtproject.org/) related tasks.
Other
117 stars 45 forks source link

vaadinCompile issue, with vaadin 8 at 1.0 version #108

Closed zotona closed 8 years ago

zotona commented 8 years ago

Empty widgetset

<module>
        <inherits name="com.vaadin.DefaultWidgetSet" />
        <set-configuration-property name="devModeRedirectEnabled" value="true" />
        <set-property name="user.agent" value="ie8,ie9,ie10,gecko1_8,safari" />
        <source path="client" />
        <source path="shared" />
        <collapse-all-properties />
        <set-property name="compiler.useSymbolMaps" value="true" />
</module>
01:53:08.283 [ERROR] [org.gradle.api.Project] com.google.gwt.dev.jjs.InternalCompilerException: Error constructing Java AST
01:53:08.284 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.translateException(GwtAstBuilder.java:3099)
01:53:08.284 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:352)
01:53:08.284 [ERROR] [org.gradle.api.Project] at org.eclipse.jdt.internal.compiler.ast.AllocationExpression.traverse(AllocationExpression.java:670)
01:53:08.284 [ERROR] [org.gradle.api.Project] at org.eclipse.jdt.internal.compiler.ast.ReturnStatement.traverse(ReturnStatement.java:373)
01:53:08.284 [ERROR] [org.gradle.api.Project] at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:347)
01:53:08.284 [ERROR] [org.gradle.api.Project] at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1379)
01:53:08.284 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3058)
01:53:08.285 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:141)
01:53:08.285 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384)
01:53:08.285 [ERROR] [org.gradle.api.Project] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:470)
01:53:08.285 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:985)
01:53:08.285 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:339)
01:53:08.285 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:580)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:513)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:499)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:668)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
01:53:08.286 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Compiler.run(Compiler.java:206)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Compiler.run(Compiler.java:158)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
01:53:08.287 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.Compiler.main(Compiler.java:127)
01:53:08.287 [ERROR] [org.gradle.api.Project] Caused by: java.lang.NullPointerException
01:53:08.288 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.ReferenceMapper.get(ReferenceMapper.java:99)
01:53:08.288 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.pushNewExpression(GwtAstBuilder.java:2642)
01:53:08.288 [ERROR] [org.gradle.api.Project] at com.google.gwt.dev.jjs.impl.GwtAstBuilder$AstVisitor.endVisit(GwtAstBuilder.java:350)
01:53:08.288 [ERROR] [org.gradle.api.Project] ... 23 more
01:53:08.288 [ERROR] [org.gradle.api.Project] at ByteArrayOutputStream.java(137): new String(buf, 0, count)
01:53:08.288 [ERROR] [org.gradle.api.Project] org.eclipse.jdt.internal.compiler.ast.AllocationExpression