java.lang.Error: java.lang.reflect.InvocationTargetException

Jenkins JIRA | Terry Sposato | 5 years ago
  1. 0

    The current version of Jenkins does not deploy correctly with JBoss 5.1 EAP. Here is the server log: 2012-02-23 12:12:12,088 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)] Started in 36s:389ms 2012-02-23 12:12:13,332 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) Started initialization 2012-02-23 12:12:18,744 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) Listed all plugins 2012-02-23 12:12:21,125 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) Prepared all plugins 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: Your binding is version 1.5.5 or earlier. 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x 2012-02-23 12:12:28,301 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 36 more 2012-02-23 12:12:28,303 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) null returned by binding at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:432) but org.jenkinsci.main.modules.sshd.PortAdvertiser.sshd is not @Nullable while locating org.jenkinsci.main.modules.sshd.SSHD for field at org.jenkinsci.main.modules.sshd.PortAdvertiser.sshd(PortAdvertiser.java:18) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-02-23 12:12:28,304 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 25 more 2012-02-23 12:12:29,602 INFO [jenkins.InitReactorRunner] (pool-14-thread-1) Started all plugins 2012-02-23 12:12:29,603 INFO [jenkins.InitReactorRunner] (pool-14-thread-3) Augmented all extensions 2012-02-23 12:12:49,673 INFO [jenkins.InitReactorRunner] (pool-14-thread-3) Loaded all jobs 2012-02-23 12:12:49,678 WARNING [hudson.ExtensionFinder$GuiceFinder] (SSHD.init) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at hudson.ExtensionList.get(ExtensionList.java:129) at org.jenkinsci.main.modules.sshd.SSHD.get(SSHD.java:128) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 29 more 2012-02-23 12:12:49,678 SEVERE [jenkins.InitReactorRunner] (pool-14-thread-1) Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more 2012-02-23 12:12:49,682 SEVERE [hudson.WebAppMain] (hudson initialization thread) Failed to initialize Jenkins org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:823) at jenkins.model.Jenkins.<init>(Jenkins.java:735) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more 2012-02-23 12:12:49,687 WARNING [hudson.ExtensionFinder$GuiceFinder] (hudson initialization thread) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2448) at hudson.WebAppMain$2.run(WebAppMain.java:242) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 26 more 2012-02-23 12:12:49,688 WARNING [hudson.ExtensionFinder$GuiceFinder] (hudson initialization thread) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) null returned by binding at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:432) but org.jenkinsci.main.modules.sshd.ItemListenerImpl.sshd is not @Nullable while locating org.jenkinsci.main.modules.sshd.SSHD for field at org.jenkinsci.main.modules.sshd.ItemListenerImpl.sshd(ItemListenerImpl.java:14) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2448) at hudson.WebAppMain$2.run(WebAppMain.java:242) 2012-02-23 12:12:49,689 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping javadoc 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping maven-plugin 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping ant 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping promoted-builds 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping active-directory 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping copyartifact 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping subversion 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping WebSVN2 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping deploy 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping dashboard-view 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping cobertura 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping sonar 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping artifactdeployer 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping violations 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping audit-trail 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping disk-usage 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping release 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping publish-over-ssh 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping m2release 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping performance 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping cvs 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping ssh-slaves 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping translation 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) Exception in thread "pool-14-thread-2" 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) java.lang.NullPointerException 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.lang.Thread.run(Thread.java:662) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) Exception in thread "pool-14-thread-3" 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) java.lang.NullPointerException 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 5 years ago | Terry Sposato
    java.lang.Error: java.lang.reflect.InvocationTargetException
  2. 0

    The current version of Jenkins does not deploy correctly with JBoss 5.1 EAP. Here is the server log: 2012-02-23 12:12:12,088 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)] Started in 36s:389ms 2012-02-23 12:12:13,332 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) Started initialization 2012-02-23 12:12:18,744 INFO [jenkins.InitReactorRunner] (pool-14-thread-4) Listed all plugins 2012-02-23 12:12:21,125 INFO [jenkins.InitReactorRunner] (pool-14-thread-2) Prepared all plugins 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding. 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: Your binding is version 1.5.5 or earlier. 2012-02-23 12:12:28,295 ERROR [STDERR] (Initializing plugin copyartifact) SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x 2012-02-23 12:12:28,301 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder; at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121) at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111) at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 36 more 2012-02-23 12:12:28,303 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) null returned by binding at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:432) but org.jenkinsci.main.modules.sshd.PortAdvertiser.sshd is not @Nullable while locating org.jenkinsci.main.modules.sshd.SSHD for field at org.jenkinsci.main.modules.sshd.PortAdvertiser.sshd(PortAdvertiser.java:18) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2012-02-23 12:12:28,304 WARNING [hudson.ExtensionFinder$GuiceFinder] (Initializing plugin copyartifact) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1058) at hudson.plugins.copyartifact.BuildSelectorParameter.initAliases(BuildSelectorParameter.java:100) at hudson.plugins.copyartifact.CopyArtifactPlugin.postInitialize(CopyArtifactPlugin.java:35) at hudson.PluginManager$2$1$2.run(PluginManager.java:310) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 25 more 2012-02-23 12:12:29,602 INFO [jenkins.InitReactorRunner] (pool-14-thread-1) Started all plugins 2012-02-23 12:12:29,603 INFO [jenkins.InitReactorRunner] (pool-14-thread-3) Augmented all extensions 2012-02-23 12:12:49,673 INFO [jenkins.InitReactorRunner] (pool-14-thread-3) Loaded all jobs 2012-02-23 12:12:49,678 WARNING [hudson.ExtensionFinder$GuiceFinder] (SSHD.init) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at hudson.ExtensionList.get(ExtensionList.java:129) at org.jenkinsci.main.modules.sshd.SSHD.get(SSHD.java:128) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 29 more 2012-02-23 12:12:49,678 SEVERE [jenkins.InitReactorRunner] (pool-14-thread-1) Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more 2012-02-23 12:12:49,682 SEVERE [hudson.WebAppMain] (hudson initialization thread) Failed to initialize Jenkins org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:823) at jenkins.model.Jenkins.<init>(Jenkins.java:735) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more 2012-02-23 12:12:49,687 WARNING [hudson.ExtensionFinder$GuiceFinder] (hudson initialization thread) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:40) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:118) at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2448) at hudson.WebAppMain$2.run(WebAppMain.java:242) Caused by: java.lang.IllegalStateException: org.slf4j.LoggerFactory could not be successfully initialized. See also http://www.slf4j.org/codes.html#unsuccessfulInit at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:277) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254) at org.apache.sshd.common.AbstractFactoryManager.<init>(AbstractFactoryManager.java:37) at org.apache.sshd.SshServer.<init>(SshServer.java:140) at org.apache.sshd.SshServer.setUpDefaultServer(SshServer.java:428) at org.jenkinsci.main.modules.sshd.SSHD.<init>(SSHD.java:33) at org.jenkinsci.main.modules.sshd.SSHD$$FastClassByGuice$$c0b3a86e.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:108) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1018) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ... 26 more 2012-02-23 12:12:49,688 WARNING [hudson.ExtensionFinder$GuiceFinder] (hudson initialization thread) Failed to instantiate. Skipping this component com.google.inject.ProvisionException: Guice provision errors: 1) null returned by binding at hudson.ExtensionFinder$AbstractGuiceFinder$SezpozModule.configure(ExtensionFinder.java:432) but org.jenkinsci.main.modules.sshd.ItemListenerImpl.sshd is not @Nullable while locating org.jenkinsci.main.modules.sshd.SSHD for field at org.jenkinsci.main.modules.sshd.ItemListenerImpl.sshd(ItemListenerImpl.java:14) 1 error at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52) at com.google.inject.Scopes$1$1.get(Scopes.java:59) at hudson.ExtensionFinder$AbstractGuiceFinder$2$1.get(ExtensionFinder.java:365) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:965) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1011) at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:961) at hudson.ExtensionFinder$AbstractGuiceFinder._find(ExtensionFinder.java:336) at hudson.ExtensionFinder$AbstractGuiceFinder.find(ExtensionFinder.java:327) at hudson.ExtensionFinder._find(ExtensionFinder.java:147) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:289) at hudson.ExtensionList.load(ExtensionList.java:278) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:231) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2448) at hudson.WebAppMain$2.run(WebAppMain.java:242) 2012-02-23 12:12:49,689 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping javadoc 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping maven-plugin 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping ant 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping promoted-builds 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping active-directory 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping copyartifact 2012-02-23 12:12:49,690 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping subversion 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping WebSVN2 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping deploy 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping dashboard-view 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping cobertura 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping sonar 2012-02-23 12:12:49,691 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping artifactdeployer 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping violations 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping audit-trail 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping disk-usage 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping release 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping publish-over-ssh 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping m2release 2012-02-23 12:12:49,692 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping performance 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping cvs 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping ssh-slaves 2012-02-23 12:12:49,693 INFO [hudson.PluginWrapper] (hudson initialization thread) Stopping translation 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) Exception in thread "pool-14-thread-2" 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) java.lang.NullPointerException 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-23 12:12:49,694 ERROR [STDERR] (pool-14-thread-2) at java.lang.Thread.run(Thread.java:662) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) Exception in thread "pool-14-thread-3" 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) java.lang.NullPointerException 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-23 12:12:49,698 ERROR [STDERR] (pool-14-thread-3) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 5 years ago | Terry Sposato
    java.lang.Error: java.lang.reflect.InvocationTargetException
  3. 0

    Can't install Jenkins on Tomcat/Ubuntu

    Google Groups | 5 years ago | dfl
    java.lang.Error: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Manually forcing build of specific git branch

    Google Groups | 5 years ago | abierbaum
    org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
  6. 0

    Configure System does not work anymore

    Google Groups | 5 years ago | Dirk Kuypers
    java.lang.reflect.InvocationTargetException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jenkinsci.main.modules.sshd.SSHD.init()
    2. org.jenkinsci.main
      SSHD.init
      1. org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Hudson
      InitializerFinder$TaskImpl.run
      1. hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
      2. hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
      2 frames
    5. init
      Reactor.runTask
      1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
      1 frame
    6. jenkins.model
      Jenkins$5.runTask
      1. jenkins.model.Jenkins$5.runTask(Jenkins.java:812)
      1 frame
    7. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames