Bug 968939 - jboss-errai-kitchensink-archetype fails to build with openjdk7
Summary: jboss-errai-kitchensink-archetype fails to build with openjdk7
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Errai, Examples
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 2.3.0
Assignee: Jonathan Fuerth
QA Contact: Matous Jobanek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-30 10:19 UTC by Marek Schmidt
Modified: 2013-07-01 16:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
java version "1.7.0_19" OpenJDK Runtime Environment (fedora-2.3.9.5.fc18-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Last Closed: 2013-07-01 16:41:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Schmidt 2013-05-30 10:19:19 UTC
Description of problem:

A project generated by the jboss-errai-kitchensink-archetype fails to build on OpenJDK7, while it builds on both oracle JDK 1.6 and JDK7

Version-Release number of selected component (if applicable):
org.jboss.errai.archetypes:jboss-errai-kitchensink-archetype:2.2.1.Final


...
[INFO]          Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
[INFO]             Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO]                Generating Marshallers Bootstrapper...
[INFO]    Scanning for additional dependencies: /home/maschmid/workspace-7.0.0.Beta1/errai-kitchensink/target/.generated/org/example/errai_kitchensink/client/shared/_MemberValidator.java
[INFO]       Adding '1' new generated units
[INFO]          Validating newly compiled units
[INFO]             Ignored 1 unit with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    [ERROR] Errors in '/home/maschmid/workspace-7.0.0.Beta1/errai-kitchensink/target/.generated/org/example/errai_kitchensink/client/shared/_MemberValidatorImpl.java'
[INFO]       [ERROR] Line 431:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractG
wtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForMap, ConstraintDescriptorImpl<Size>, Class<?>[])
[INFO]       [ERROR] Line 451:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractG
wtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForMap, ConstraintDescriptorImpl<Size>, Class<?>[])
[INFO]       [ERROR] Line 476:  The method validate(GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, V, ConstraintValidator<A,? super V>, ConstraintDescriptorImpl<A>, Class<?>[]) in the type AbstractG
wtSpecificValidator<Member> is not applicable for the arguments (GwtValidationContext<T>, Set<ConstraintViolation<T>>, Member, String, SizeValidatorForMap, ConstraintDescriptorImpl<Size>, Class<?>[])
[INFO]    [ERROR] Cannot proceed due to previous errors

Comment 1 Jonathan Fuerth 2013-06-24 15:51:49 UTC
This appears to be a duplicate of bug 921049, which was related to Errai 2.2 and GWT 2.4. Reading the comments there, I see that building under OpenJDK 1.7.0_09 did succeed with Errai 2.2 and GWT 2.5.1.

Are you sure your build is using GWT 2.5.1? That should be the correct GWT version to use with Errai 2.3.x.

Comment 2 Jonathan Fuerth 2013-06-26 16:11:57 UTC
I've just published a new kitchensink archetype: version 2.3.2.Final. This one should be pointing to Errai 2.3.2.Final-redhat-1 when you invoke it with -Denterprise=true. You should find that this problem goes away when you do so (due to the update to GWT 2.5.1)

Comment 3 Matous Jobanek 2013-07-01 16:41:13 UTC
I cannot reproduce the bug.
My environment:
java version "1.7.0_25"
OpenJDK Runtime Environment (fedora-2.3.10.3.fc18-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)


Note You need to log in before you can comment on or make changes to this bug.