I tried some different combinations of source levels, jdk versions, gwt versions. The exception occurs on pair jdk8 + gwt 2.6.0-rc1 It doesn't depend on source level.
01.12.2013 20:06, Thomas Broyer пишет: > Try setting <sourceLevel> explicitly in the gwt-maven-plugin > configuration. By default, the gwt-maven-plugin will use the current > JVM's source level (i.e. "1.8" for jdk8), and GWT only supports 1.6 > and 1.7. > > On Sunday, December 1, 2013 2:51:10 PM UTC+1, [email protected] wrote: > > I create a trivial maven based gwt-project on gwt 2.6.0-rc1. The > project compilation work fine on jdk7. But it interrupts with an > exception jdk8-b117: > > [INFO] --- gwt-maven-plugin:2.6.0-rc1:compile (default) @ > control-center-server --- > [INFO] Compiling module net.kst_d.rbas.cc.ui.ControlCenter > [INFO] [ERROR] Unexpected internal compiler error > [INFO] java.lang.NullPointerException > [INFO] at > > com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:534) > [INFO] at > com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:878) > [INFO] at > > com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:284) > [INFO] at > > com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:511) > [INFO] at > > com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:434) > [INFO] at > > com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:420) > [INFO] at > > com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:485) > [INFO] at > com.google.gwt.dev.Precompile.precompile(Precompile.java:241) > [INFO] at > com.google.gwt.dev.Precompile.precompile(Precompile.java:223) > [INFO] at > com.google.gwt.dev.Precompile.precompile(Precompile.java:139) > [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:165) > [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:130) > [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:97) > [INFO] at > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55) > [INFO] at > > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50) > [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:104) > > > The project a really trivial. It doesn't consists any widget or > some thing else. Only module.gwt.xml аnd empty EntryPoint. > > -- > You received this message because you are subscribed to the Google > Groups "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/groups/opt_out. -- Denis Kostousov email: denis.kostousovATgmailDOTcom jabber: denis.kostousovATgmailDOTcom fingerprint: D32B A253 F678 9EF1 1079 4F5A 52E1 8EEA FAF9 E1F1 linkedin: http://www.linkedin.com/profile/view?id=101014719 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
