Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68498

JAXB error during job run with HPE ALI plugin on Java 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Micro Focus ALM 12.60
      Jenkins 2.319.3 + Java 11
      HPE ALI plug-in 2.2.57-1123.0

      Error text:

      10:41:13 INFO:  [ALI] Process of updating build information in HPE ALI started.
      10:41:13 ERROR: [ALI] Error occurred during updating information in ALI (prebuild).
      10:41:13 Marking build as UNSTABLE due to previous error. Disable 'Fail build on error' in ALI plugin settings if you want to ignore the ALI plugin problems.
      10:41:13 java.lang.RuntimeException: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
      10:41:13  - with linked exception:
      10:41:13 [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
      10:41:13              at com.hp.alm.ali.hudson.JAXBApi.marshall(JAXBApi.java:63)
      10:41:13              at com.hp.alm.ali.hudson.AbstractBuildRecorder.postBuildDescriptor(AbstractBuildRecorder.java:257)
      10:41:13              at com.hp.alm.ali.hudson.AbstractBuildRecorder.pushBuild(AbstractBuildRecorder.java:194)
      10:41:13              at com.hp.alm.ali.hudson.DelayedUpstreamPush.prebuild(DelayedUpstreamPush.java:86)
      10:41:13              at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:857)
      10:41:13              at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:852)
      10:41:13              at hudson.model.Build$BuildExecution.doRun(Build.java:145)
      10:41:13              at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
      10:41:13              at hudson.model.Run.execute(Run.java:1888)
      10:41:13              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      10:41:13              at hudson.model.ResourceController.execute(ResourceController.java:99)
      10:41:13              at hudson.model.Executor.run(Executor.java:432)
      10:41:13 Caused by: javax.xml.bind.JAXBException: Implementation of JAXB-API has not been found on module path or classpath.
      10:41:13  - with linked exception:
      10:41:13 [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
      10:41:13              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:278)
      10:41:13              at javax.xml.bind.ContextFinder.find(ContextFinder.java:421)
      10:41:13              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:721)
      10:41:13              at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:662)
      10:41:13              at com.hp.alm.ali.hudson.JAXBApi.marshall(JAXBApi.java:55)
      10:41:13              ... 11 more
      10:41:13 Caused by: java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory
      10:41:13              at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
      10:41:13              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
      10:41:13              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      10:41:13              at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:538)
      10:41:13              at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      10:41:13              at javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:122)
      10:41:13              at javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:155)
      10:41:13              at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:276)
      10:41:13              ... 15 more
      

      We are unable to upgrade ALM.

        1. config.xml
          5 kB
          Stanislav Bebej
        2. stacktrace.txt
          10 kB
          Stanislav Bebej

            jakubv Jakub
            andrey_osipov Andrey Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: