Wednesday, December 21, 2016

Ant Build Error with GWT 2.8 and GWTP

Hi, our current GWT 2.7 project is being upgraded to 2.8.

We have builds working locally via eclipse but when published to our build server we hit the following issue. The build server has 1.8 JDK as well as GWT 2.8.0 source and our ant build script has been updated appropriately however I keep getting this exception on build. I'm a little unsure on which way to take this to obtain more information, any help or pointers would be useful.

[12:31:28][antcall] The following error occurred while executing this line:
C
:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:85: Java returned: 1
[12:31:28][antcall] The following error occurred while executing this line:
C
:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:100: The following error occurred while executing this line:
C
:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:85: Java returned: 1
[12:31:28]Process exited with code 1
[12:31:28]Ant output
[12:31:28][Ant output]      [java]       at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:402)
[12:31:28][Ant output]      [java]         at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:265)
[12:31:28][Ant output]      [java]      at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
[12:31:28][Ant output]      [java]      at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
[12:31:28][Ant output]      [java]        ... 40 more
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(27): GWT.create(MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder.class)
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JMethodCall
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(27): (MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder) GWT.create(MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder.class)
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JCastOperation
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(27): static MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder uiBinder = (MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder) GWT.create(MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder.class)
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JDeclarationStatement
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(25): {
[12:31:28][Ant output]      [java]   ViewImpl.$clinit();
[12:31:28][Ant output]      [java]   static MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder uiBinder = (MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder) GWT.create(MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder.class);
[12:31:28][Ant output]      [java] }
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JBlock
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(25): {
[12:31:28][Ant output]      [java]   ViewImpl.$clinit();
[12:31:28][Ant output]      [java]   static MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder uiBinder = (MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder) GWT.create(MapFeaturePopupViewImpl$MapFeaturePopupViewImplUiBinder.class);
[12:31:28][Ant output]      [java] }
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JMethodBody
[12:31:28][Ant output]      [java]       [ERROR] at MapFeaturePopupViewImpl.java(25): uk.co.yotta.alloy.mapping.overlays.views.MapFeaturePopupViewImpl.$clinit()V
[12:31:28][Ant output]      [java]          com.google.gwt.dev.jjs.ast.JMethod
[12:31:28][Ant output]
[12:31:28][Ant output] BUILD FAILED
[12:31:28][Ant output] C:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:161: The following error occurred while executing this line:
[12:31:28][Ant output] C:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:100: The following error occurred while executing this line:
[12:31:28][Ant output] C:\TeamCity\buildAgent\work\3247a5125e90f3e1\AlloyClient\build.xml:85: Java returned: 1
[12:31:28][Ant output]
[12:31:28][Ant output] Total time: 1 minute 1 second


--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment