GWT 2.8.0 RC1 is here!

1,572 views
Skip to first unread message

Daniel Kurka

unread,
Jul 29, 2016, 1:39:39 AM7/29/16
to GWT Contributors
Hi all,

I just build the GWT 2.8.0 RC1 and pushed it to maven central. The complete SDK is also available from here.

Please start testing and let us know if you run into any trouble and file bugs.

We are planing to release this as GWT 2.8.0 if we do not here about any serious issues within the next two weeks. The release notes for RC1 will be made available shortly after this notice, in the mean time you can take a look at the github repository.

Daniel,
on behalf of the GWT team

Kay Pac

unread,
Jul 29, 2016, 2:17:05 AM7/29/16
to GWT Contributors
That is fantastic! Thanks to you and the rest of the team for your hard work. I am having trouble with IDE support, but that is related to the product (IntellIJ) and not GWT itself

Awesome!

Sri Harsha Chilakapati

unread,
Jul 29, 2016, 3:13:52 AM7/29/16
to GWT Contributors
It's working for me in IntelliJ Ultimate. The community edition does not support the GWT.

Kirill Prazdnikov

unread,
Jul 29, 2016, 5:07:45 AM7/29/16
to GWT Contributors
My IDEA works perfectly with GWT master.

Kirill Prazdnikov

unread,
Jul 29, 2016, 5:09:53 AM7/29/16
to GWT Contributors
Hi Daniel, 

Thanks for the release.

The maven plugin still requires (and downloads) the BETA version, even if my project does not have BETA in configuration.

There is a workaround,  Thomas kindly pointed to it, but.
 
Is it possible to update the plugin ?

Thanks

Jens

unread,
Jul 29, 2016, 5:19:57 AM7/29/16
to GWT Contributors
You should file a bug on the maven plugin issue tracker https://github.com/gwt-maven-plugin/gwt-maven-plugin

-- J.

Julien Dramaix

unread,
Jul 29, 2016, 5:55:06 AM7/29/16
to GWT Contributors
The release note is now available on the web site: http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0_RC1

- Julien

On Fri, Jul 29, 2016 at 11:19 AM Jens <jens.ne...@gmail.com> wrote:
You should file a bug on the maven plugin issue tracker https://github.com/gwt-maven-plugin/gwt-maven-plugin

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/526d06dc-682b-4263-9cdb-16d5488acadc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ignacio Baca Moreno-Torres

unread,
Jul 29, 2016, 7:22:47 AM7/29/16
to GWT Contributors
Hi Kirill, this is a known limitation of the mojo plugin, you really should try this one https://github.com/tbroyer/gwt-maven-plugin/ which solves most of the limitation of the mojo plugin. In any case, mojo plugin will be released as 2.8.0-rc1 in the next days.

dflorey

unread,
Jul 29, 2016, 7:48:18 AM7/29/16
to GWT Contributors
Very nice indeed!
Now I'm just waiting for App Engine to support Java 8, then I can start migrating our codebase, hurray!

Thanks!

Frank Taffelt

unread,
Jul 29, 2016, 10:27:23 AM7/29/16
to GWT Contributors
thanks for the rc.

updated a project coming from 2.7.0. the project is mainly based on thomas gwt maven-archetypes.

the following build error is dumped doing an mvn package on the gwt-compilation step:

[INFO]                   [WARN] Line 39 column 7: encountered "(". Was expecting one of: <IDENT>
[INFO]    [ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
[INFO]  at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.java:72)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
[INFO]  at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:49)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisitor.java:88)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVisitor.java:331)
[INFO]  at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:785)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:777)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1379)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:875)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1410)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1222)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:1140)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:255)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:255)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:204)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:155)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:144)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
[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:125)
[INFO] Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal
[INFO]  at java.lang.ClassLoader.defineClass1(Native Method)
[INFO]  at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
[INFO]  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[INFO]  at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
[INFO]  at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
[INFO]  at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
[INFO]  at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
[INFO]  at java.security.AccessController.doPrivileged(Native Method)
[INFO]  at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[INFO]  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[INFO]  at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Unknown Source)
[INFO]  at com.google.gwt.uibinder.rebind.W3cDocumentBuilder.<init>(W3cDocumentBuilder.java:51)
[INFO]  at com.google.gwt.uibinder.rebind.W3cDomHelper.documentFor(W3cDomHelper.java:69)
[INFO]  at com.google.gwt.uibinder.rebind.UiBinderGenerator.getW3cDoc(UiBinderGenerator.java:208)
[INFO]  at com.google.gwt.uibinder.rebind.UiBinderGenerator.generateOnce(UiBinderGenerator.java:183)
[INFO]  at com.google.gwt.uibinder.rebind.UiBinderGenerator.generate(UiBinderGenerator.java:128)
[INFO]  at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)
[INFO]  at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:745)
[INFO]  at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:103)
[INFO]  at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)
[INFO]  at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:262)
[INFO]  at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:251)
[INFO]  at com.google.gwt.dev.PrecompilationContextCreator$1.getAllPossibleRebindAnswers(PrecompilationContextCreator.java:86)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createStaticRebindExpression(UnifyAst.java:493)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.createRebindExpression(UnifyAst.java:463)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.handleMagicMethodCall(UnifyAst.java:588)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:293)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:268)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[INFO]  ... 40 more
[INFO] Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal
[INFO]  at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[INFO]  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[INFO]  ... 72 more
[INFO]       [ERROR] at DashboardAdminMainPanel.java(52): GWT.create(DashboardAdminMainPanel$Binder.class)
[INFO]          com.google.gwt.dev.jjs.ast.JMethodCall

Manuel Carrasco Moñino

unread,
Jul 29, 2016, 11:09:23 AM7/29/16
to GWT Contributors
Seems like gwt-dev is not in your classpath

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.

Thomas Broyer

unread,
Jul 29, 2016, 11:47:36 AM7/29/16
to GWT Contributors
I'd start with double-checking your dependencies. With 2.8 from the Central repository, most dependencies that used to be bundled into the gwt-user and gwt-dev JARs have now been unbundled and properly declared as Maven dependencies, so you may have had exclusions that now need to be removed.
I just updated my archetypes to 2.8.0-rc1 and they still work OK (from the tests): https://travis-ci.org/tbroyer/gwt-maven-archetypes/builds/148343628

Frank Taffelt

unread,
Aug 1, 2016, 5:41:21 AM8/1/16
to GWT Contributors
some steps further:

[INFO] \- com.google.gwt:gwt-dev:jar:2.8.0-rc1:compile
[INFO]    +- com.google.code.gson:gson:jar:2.6.2:compile
[INFO]    +- org.ow2.asm:asm:jar:5.0.3:compile
[INFO]    +- org.ow2.asm:asm-util:jar:5.0.3:compile
[INFO]    |  \- org.ow2.asm:asm-tree:jar:5.0.3:compile
[INFO]    |     \- (org.ow2.asm:asm:jar:5.0.3:compile - omitted for duplicate)
[INFO]    +- org.ow2.asm:asm-commons:jar:5.0.3:compile
[INFO]    |  \- (org.ow2.asm:asm-tree:jar:5.0.3:compile - omitted for duplicate)
[INFO]    +- colt:colt:jar:1.2.0:compile
[INFO]    +- ant:ant:jar:1.6.5:compile
[INFO]    +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO]    +- commons-io:commons-io:jar:2.4:compile
[INFO]    +- com.ibm.icu:icu4j:jar:50.1.1:compile
[INFO]    +- tapestry:tapestry:jar:4.0.2:compile
[INFO]    +- net.sourceforge.htmlunit:htmlunit:jar:2.19:compile
[INFO]    |  +- xalan:xalan:jar:2.7.2:compile
[INFO]    |  |  \- xalan:serializer:jar:2.7.2:compile
[INFO]    |  |     \- xml-apis:xml-apis:jar:1.3.04:compile

in the referenced xml-apis version 1.3.04 there is no class  org/w3c/dom/ElementTraversal. So adding a new dependency to xml-apis with version 1.4.01 fixed my build.  
btw: trying a clean dagger-guice-rf-activities (because it also uses UI binder) build also breaks on my system with the same error. 

Andrei Preda

unread,
Aug 1, 2016, 12:43:10 PM8/1/16
to GWT Contributors
Hi and thank you for the RC1,

I have a problem that I can't wrap my head around, because I don't know if it is a problem with the RC1 or with the gwtjackson lib?

Everything works fine with gwt2.8.0-beta1 but if I try to compile with RC1 the following is logged:
Computing all possible rebind results for 'com.google.gwt.user.client.DocumentModeAsserter.DocumentModeProperty'
           
Rebinding com.google.gwt.user.client.DocumentModeAsserter.DocumentModeProperty
               
Checking rule <replace-with class='com.github.nmorel.gwtjackson.client.JsonSerializationContext.DefaultBuilder'/>
                 
[WARN] Unknown type 'com.github.nmorel.gwtjackson.client.JsonSerializationContext.Builder' specified in deferred binding rule
               
Checking rule <generate-with class='com.github.nmorel.gwtjackson.rebind.ObjectMapperGenerator'/>
                 
[WARN] Unknown type 'com.github.nmorel.gwtjackson.client.ObjectWriter' specified in deferred binding rule
         
[ERROR] Errors in 'com/github/nmorel/gwtjackson/client/JsonSerializer.java'
           
[ERROR] Line 19: The import javax.annotation.Nonnull cannot be resolved
           
[ERROR] Line 20: The import javax.annotation.Nullable cannot be resolved
           
[ERROR] Line 121: Nullable cannot be resolved to a type
           
[ERROR] Line 128: Nullable cannot be resolved to a type
           
[ERROR] Line 140: Nonnull cannot be resolved to a type
         
Tracing compile failure path for type 'com.github.nmorel.gwtjackson.client.JsonSerializer'
           
[ERROR] Errors in 'com/github/nmorel/gwtjackson/client/JsonSerializer.java'
               
[ERROR] Line 128: Nullable cannot be resolved to a type
               
[ERROR] Line 121: Nullable cannot be resolved to a type
               
[ERROR] Line 140: Nonnull cannot be resolved to a type
               
[ERROR] Line 20: The import javax.annotation.Nullable cannot be resolved
               
[ERROR] Line 19: The import javax.annotation.Nonnull cannot be resolved

Can anyone point me to a solution?

Thank you for your help,
Andrei

Thomas Broyer

unread,
Aug 1, 2016, 2:14:26 PM8/1/16
to GWT Contributors
This is https://github.com/gwtproject/gwt/issues/9382 and is a bug in gwt-jackson's POM.

Thomas Broyer

unread,
Aug 1, 2016, 8:56:19 PM8/1/16
to GWT Contributors
Do you somehow exclude xerces?
Here's dependency:tree excerpt from the "dynatablerf" sample; see how it inherits 1.4.01 from xercesImpl 2.11.0:

[INFO] +- com.google.gwt:gwt-dev:jar:2.8.0-rc1:provided
[INFO] |  +- com.google.code.gson:gson:jar:2.6.2:provided
[INFO] |  +- org.ow2.asm:asm:jar:5.0.3:provided
[INFO] |  +- org.ow2.asm:asm-util:jar:5.0.3:provided
[INFO] |  |  \- org.ow2.asm:asm-tree:jar:5.0.3:provided
[INFO] |  +- org.ow2.asm:asm-commons:jar:5.0.3:provided
[INFO] |  +- colt:colt:jar:1.2.0:provided
[INFO] |  +- ant:ant:jar:1.6.5:provided
[INFO] |  +- commons-collections:commons-collections:jar:3.2.2:provided
[INFO] |  +- commons-io:commons-io:jar:2.4:provided
[INFO] |  +- com.ibm.icu:icu4j:jar:50.1.1:provided
[INFO] |  +- tapestry:tapestry:jar:4.0.2:provided
[INFO] |  +- net.sourceforge.htmlunit:htmlunit:jar:2.19:provided
[INFO] |  |  +- xalan:xalan:jar:2.7.2:provided
[INFO] |  |  |  \- xalan:serializer:jar:2.7.2:provided
[INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.4:provided
[INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.5.1:provided
[INFO] |  |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.3:provided
[INFO] |  |  +- org.apache.httpcomponents:httpmime:jar:4.5.1:provided
[INFO] |  |  +- commons-codec:commons-codec:jar:1.10:provided
[INFO] |  |  +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.17:provided
[INFO] |  |  +- xerces:xercesImpl:jar:2.11.0:provided
[INFO] |  |  |  \- xml-apis:xml-apis:jar:1.4.01:provided
[INFO] |  |  +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:provided
[INFO] |  |  +- net.sourceforge.cssparser:cssparser:jar:0.9.18:provided
[INFO] |  |  +- commons-logging:commons-logging:jar:1.2:provided

Maybe it could be linked to the version of Maven being used? Which version are you using?

Frank Taffelt

unread,
Aug 2, 2016, 5:08:32 AM8/2/16
to GWT Contributors
thanks for spotting in the right direction. yes i had an exclusion for the xerces in another dependency.

Andrei Preda

unread,
Aug 2, 2016, 3:01:19 PM8/2/16
to GWT Contributors
Thank you!!

Frank Wynants

unread,
Aug 4, 2016, 10:40:33 AM8/4/16
to GWT Contributors
I run my app using an ant script and have the following gwt jars in my classpath like I had with beta 1 : gwt-codeserver.jar ; gwt-dev.jar ; validation-api-1.0.0.GA-sources.jar ; validation-api-1.0.0.GA.jar
I don't use any GWT-RPC stuff or servlets.

All seems to be working now at first sight :-)

Mark Duesbury

unread,
Aug 4, 2016, 3:46:06 PM8/4/16
to GWT Contributors
Hi .. Thanks for the rc...

I have been struggling for a while now with a java.lang.OutOfMemoryError: GC overhead limit exceeded error on compilation since switching to GWT 2.8.0 beta1. I thought and hoped the problem would be solved with the release of the RC, but it hasn't. I have searched high and low on stackoverflow and elsewhere and tried just about every combination of jvm settings I could find.. but nothing works. I dont think my project is that large with 215 source files.

The last settings I tried were...

<executions>

<execution>

            <configuration>

<localWorkers>4</localWorkers>

  <extraJvmArgs>-Xmx2g -Xms1g -Xss1024k</extraJvmArgs>

                  <draftcompile>true</draftcompile>

            </configuration>

<goals>

<goal>compile</goal>

</goals>

</execution>

</executions>


The error occurs at different points in the compile cycle... A few samples are shown below...

[ERROR] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

[ERROR] at org.eclipse.jdt.internal.compiler.lookup.BoundSet.<init>(BoundSet.java:308)

[ERROR] at org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.createInitialBoundSet(InferenceContext18.java:230)

[ERROR] at org.eclipse.jdt.internal.compiler.lookup.ConstraintExpressionFormula.inferInvocationApplicability(ConstraintExpressionFormula.java:336)

[ERROR] at org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.inferInvocationApplicability(InferenceContext18.java:370)

[ERROR] at org.eclipse.jdt.internal.compiler.lookup.ParameterizedGenericMethodBinding.computeCompatibleMethod18(ParameterizedGenericMethodBinding.java:233)



Roberto Lublinerman

unread,
Aug 4, 2016, 5:13:40 PM8/4/16
to google-web-tool...@googlegroups.com
You might need to increase the heap size. JDT still uses more memory under Java 8 which is the source level that is currently supported by GWT (try -Xmx3g or  -Xmx4g). 

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/1c185f70-edf4-4e54-9cfe-48b7908d54ba%40googlegroups.com.

Mark Duesbury

unread,
Aug 4, 2016, 9:57:29 PM8/4/16
to GWT Contributors
Just tried with -Xmx8g (running on 16gb Macbook Pro)....

[ERROR] Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

[ERROR] at com.google.gwt.dev.jjs.impl.ReferenceMapper.createType(ReferenceMapper.java:280)

[ERROR] at com.google.gwt.dev.jjs.impl.ReferenceMapper.get(ReferenceMapper.java:146)

[ERROR] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createField(GwtAstBuilder.java:3900)

[ERROR] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.createMembers(GwtAstBuilder.java:3969)

[ERROR] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.processImpl(GwtAstBuilder.java:3825)

[ERROR] at com.google.gwt.dev.jjs.impl.GwtAstBuilder.process(GwtAstBuilder.java:3860)

[ERROR] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater$UnitProcessorImpl.process(CompilationStateBuilder.java:129)

[ERROR] at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.process(JdtCompiler.java:384)

[ERROR] at org.eclipse.jdt.internal.compiler.Compiler.processCompiledUnits(Compiler.java:546)

[ERROR] at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:458)

[ERROR] at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:1089)

[ERROR] at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:325)

[ERROR] at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:548)

[ERROR] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:479)

[ERROR] at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:465)

[ERROR] at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:423)

[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:222)

[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:202)

[ERROR] at com.google.gwt.dev.Precompile.precompile(Precompile.java:143)

[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:204)

[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:155)

[ERROR] at com.google.gwt.dev.Compiler.compile(Compiler.java:144)

[ERROR] at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)

[ERROR] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

[ERROR] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)

[ERROR] at com.google.gwt.dev.Compiler.main(Compiler.java:125)


Full GWT Maven Plugin config....

<!-- GWT Maven Plugin -->

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>gwt-maven-plugin</artifactId>

<version>2.8.0-beta1</version>

<dependencies>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>gwt-user</artifactId>

<version>${gwtversion}</version>

</dependency>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>gwt-dev</artifactId>

<version>${gwtversion}</version>

</dependency>

<dependency>

<groupId>com.google.gwt</groupId>

<artifactId>gwt-servlet</artifactId>

<version>${gwtversion}</version>

</dependency>

</dependencies>

<executions>

<execution>

            <configuration>

              <extraJvmArgs>-Xms1024M -Xmx8g -Xss1024k</extraJvmArgs>

            </configuration>

<goals>

<goal>compile</goal>

</goals>

</execution>

</executions>

<configuration>

<runTarget>desktop.html</runTarget>

<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>

<noserver>true</noserver>

<compileReport>true</compileReport>

<inplace>true</inplace>

<logLevel>INFO</logLevel>

</configuration>

</plugin> 

It works fine if I switch back to GWT 2.7.0

Roberto Lublinerman

unread,
Aug 4, 2016, 10:05:29 PM8/4/16
to google-web-tool...@googlegroups.com
The issue was addressed post beta 1. Please use the 2.8rc1 instead.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.

Mark Duesbury

unread,
Aug 4, 2016, 10:21:19 PM8/4/16
to GWT Contributors
Sorry should have mentioned...

gwtversion is set to...

<gwtversion>2.8.0-rc1</gwtversion>


But because there was not a 2.8.0-rc1 version of the gwt-maven-plugin i changed the version of the plugin back to 2.8.0-beta1 (should have changed it to 2.8.0-SNAPSHOT)


I just changed the version of the gwt-maven-plugin to 2.8.0-SNAPSHOT and ran again.... Still the same out of memory error occurs.

Mark Duesbury

unread,
Aug 4, 2016, 11:18:03 PM8/4/16
to GWT Contributors
Problem solved.. 

I had the configuration in the wrong place. Should be...

<executions>

<execution>

                  <phase>prepare-package</phase>

<goals>

<goal>compile</goal>

</goals>

</execution>

</executions>

<configuration>

        <extraJvmArgs>-Xms2g -Xmx4g -Xss1024k</extraJvmArgs>

<runTarget>desktop.html</runTarget>

<hostedWebapp>${project.build.directory}/${project.build.finalName}</hostedWebapp>

<noserver>true</noserver>

<compileReport>true</compileReport>

<inplace>true</inplace>

<logLevel>INFO</logLevel>

</configuration>


It seems 2.8 is less forgiving than 2.7 in this regard




Reply all
Reply to author
Forward
0 new messages