Uploaded image for project: 'Turbine'
  1. Turbine
  2. TRB-99

Fulcrum Intake Tests failing with Java 8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Fulcrum
    • None

    Description

      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?

      Attachments

        Activity

          People

            gm_kall Georg Kallidis
            gm_kall Georg Kallidis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: