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

[JDK 9] Jenkins does not start with "java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter"

XMLWordPrintable

    •  instance-identity-2.2, jenkins-2.130

      Fails with the following stack trace.

      INFOS: Augmented all extensions
      sept. 01, 2017 7:23:28 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
      AVERTISSEMENT: Failed to instantiate Key[type=org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl, annotation=[none]]; skip
      ping this component                                                                                                                    
      com.google.inject.ProvisionException: Unable to provision, see the following errors:                                                   
                                                                                                                                            
      1) Error injecting constructor, java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter                                       
       at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:21)                                  
                                                                                                                                            
      1 error                                                                                                                                
             at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)                   
             at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)                                                    
             at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:424)                                       
             at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)                   
             at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)                                                    
             at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)                                               
             at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)                                                       
             at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:386)                                                          
             at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:377)                                                           
             at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:477)                                                 
             at hudson.ExtensionList.load(ExtensionList.java:365)                                                                           
             at hudson.ExtensionList.ensureLoaded(ExtensionList.java:303)                                                                   
             at hudson.ExtensionList.iterator(ExtensionList.java:157)                                                                       
             at hudson.diagnosis.NullIdDescriptorMonitor.verify(NullIdDescriptorMonitor.java:72)                                            
             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                              
             at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)                            
             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                    
             at java.base/java.lang.reflect.Method.invoke(Method.java:564)                                                                  
             at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)                                                              
             at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)                                                        
             at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)                                                                  
             at jenkins.model.Jenkins$7.runTask(Jenkins.java:1090)                                                                          
             at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)                                                                    
             at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)                                                                 
             at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)                                   
             at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)                                   
             at java.base/java.lang.Thread.run(Thread.java:844)                                                                             
      Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter                                                            
             at org.jenkinsci.main.modules.instance_identity.pem.PEMHelper.writeEncoded(PEMHelper.java:188)                                 
             at org.jenkinsci.main.modules.instance_identity.pem.PEMHelper.encodePEM(PEMHelper.java:113)                                    
             at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.write(InstanceIdentity.java:96)                               
             at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:66)                              
             at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:40)                              
             at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl.<init>(PageDecoratorImpl.java:22)                            
             at org.jenkinsci.main.modules.instance_identity.PageDecoratorImpl$$FastClassByGuice$$68618106.newInstance(<generated>)         
             at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)                              
             at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)           
             at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)                                      
             at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)                                       
             at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)                              
             at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)                
             at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)                                               
             at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)                   
             ... 26 more                                                                                                                    
      Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter                                                          
             at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)                                                        
             at org.eclipse.jetty.webapp.WebAppClassLoader.findClass(WebAppClassLoader.java:510)                                            
             at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)
      
      

            oleg_nenashev Oleg Nenashev
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: