• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • dimensionsscm-plugin
    • None
    • Jenkins enterprise 2.346.2.3
      dimensions plugin 0.93

      I have updated jenkins in our environment after the update .. When we select the dimension under SCM on creating new job or saving a job we are getting OOPS page from jenkins .. if don't select dimensions we are fine .. 

      Not sure what is causing this issue 

          [JENKINS-70055] Jenkins upgrade with Dimensions plugin

          Thanks for the report. Will take a look at this soon. To help with recreating the problem, do you know which version of Jenkins you were running before your upgrade (no problem if you don't - it just might help speed things up a bit)?

          David Conneely added a comment - Thanks for the report. Will take a look at this soon. To help with recreating the problem, do you know which version of Jenkins you were running before your upgrade (no problem if you don't - it just might help speed things up a bit)?

          adi added a comment -

          I am running the Jenkins 2.346.3.4  java11 environment with dimensions plugin .9.3 

          does the dimensions 0.9.3 support Java11 

          When i am trying to make a connection to dimensions server i am getting following Java exception with no class found 

          2023-02-15 23:16:59.884+0000 [id=640]   WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving https://jenkins-master-ha.prod.aws.glic.com/descriptorByName/hudson.plugins.dimensionsscm.DimensionsSCM/checkServerGlobal
          java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
                  at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1402)
                  at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357)
                  at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112)
                  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
          Caused: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
                  at com.serena.dmnet.SimpleAes.<clinit>(SimpleAes.java:50)
                  at com.serena.dmnet.RPCCryptV2.getSimpleAes(RPCCryptV2.java:130)
                  at com.serena.dmnet.RPCCryptV2.encryptAes(RPCCryptV2.java:169)

          adi added a comment - I am running the Jenkins 2.346.3.4  java11 environment with dimensions plugin .9.3  does the dimensions 0.9.3 support Java11  When i am trying to make a connection to dimensions server i am getting following Java exception with no class found  2023-02-15 23:16:59.884+0000 [id=640]   WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving https://jenkins-master-ha.prod.aws.glic.com/descriptorByName/hudson.plugins.dimensionsscm.DimensionsSCM/checkServerGlobal java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter         at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1402)         at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1357)         at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1112)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) Caused: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter         at com.serena.dmnet.SimpleAes.<clinit>(SimpleAes.java:50)         at com.serena.dmnet.RPCCryptV2.getSimpleAes(RPCCryptV2.java:130)         at com.serena.dmnet.RPCCryptV2.encryptAes(RPCCryptV2.java:169)

          @adi apologies for missing your update: this looks to be an issue with the Java API for Dimensions CM rather than the Jenkins DImensions Plugin.

          The most straightforward fix is to download https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar and put the JAR file into the same folder where you placed the Dimensions CM Java API JAR files. This will provide the missing class file that Java 11 is not supplying.

          David Conneely added a comment - @adi apologies for missing your update: this looks to be an issue with the Java API for Dimensions CM rather than the Jenkins DImensions Plugin. The most straightforward fix is to download https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar and put the JAR file into the same folder where you placed the Dimensions CM Java API JAR files. This will provide the missing class file that Java 11 is not supplying.

            Unassigned Unassigned
            adi_nuthanapati adi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: