You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by "Georg Kallidis (JIRA)" <ji...@apache.org> on 2016/10/17 14:26:58 UTC

[jira] [Created] (TRB-99) Fulcrum Intake Tests failing with Java 8

Georg Kallidis created TRB-99:
---------------------------------

             Summary: Fulcrum Intake Tests failing with Java 8 
                 Key: TRB-99
                 URL: https://issues.apache.org/jira/browse/TRB-99
             Project: Turbine
          Issue Type: Bug
          Components: Fulcrum
         Environment: Java HotSpot(TM) 64-Bit Server VM 
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01

Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: ..jdk8\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos"

Fulcrum Intake Version 1.2.2-SNAPSHOT
            Reporter: Georg Kallidis
            Priority: Minor


Running 

mvn clean test 

- with Java7 JDK ok, Java8 JDK fails (same platform):


[DEBUG] Now parsing: ..fulcrum\intake\src\test\intake1.xml
DefaultValidationEventHandler: [ERROR]: null 
     Location: line 28 of  .. fulcrum/intake/src/test/intake1.xml
[ERROR] Initializing the following service failed : intake
javax.xml.bind.UnmarshalException
 - with linked exception:
[java.lang.reflect.InvocationTargetException]
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:726)
..
	at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:189)
	at org.apache.fulcrum.intake.IntakeServiceImpl.initialize(IntakeServiceImpl.java:781)
...
Caused by: java.lang.NullPointerException
	at org.apache.fulcrum.intake.model.Group.afterUnmarshal(Group.java:654)

..

The java 8 javax implementation has changed a little bit - setting the version to 1.6 makes no difference.

The get/setFields methods are not called in class Group?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)