java.lang.reflect.InvocationTargetException

Jenkins JIRA | Thomas Schiffler | 3 years ago
  1. 0

    I am running a Debian Server with an installed Jboss 7.0.2 runnning on Java 1.7 After deploying the jenkins.war the Server is able to deploy and start the application. When I open the applications-url the jenins is displayed but there are no images shown. The following exception can be found in the log after I opened the URL the first time: {quote} 18:05:59,463 INFO [hudson.WebAppMain] (Jenkins initialization thread) Jenkins is fully up and running 18:06:09,282 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jenkins]] (Handling GET /jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js : http--0%3A0%3A0%3A0%3A0%3A0%3A0%3A0-8080-5) Error while serving http://192.168.1.100:8080/jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_09] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_09] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_09] at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_09] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:370) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.service(Stapler.java:224) [stapler-1.221.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) [jenkins-core-1.536.jar:] at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) [jenkins-core-1.536.jar:] at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at java.lang.Thread.run(Thread.java:722) [:1.7.0_09] Caused by: java.lang.NoClassDefFoundError: sun/net/www/protocol/jar/JarURLConnection at org.kohsuke.stapler.Stapler$OpenConnection.getLastModified(Stapler.java:273) [stapler-1.221.jar:] ... {quote} It seems that the server is not able to find the deployed ressources. When I start it directly from the console (java -jar ..) the application starts. Can you tell me where i have to search for the solution?

    Jenkins JIRA | 3 years ago | Thomas Schiffler
    bind.js: java.lang.reflect.InvocationTargetException
  2. 0

    I am running a Debian Server with an installed Jboss 7.0.2 runnning on Java 1.7 After deploying the jenkins.war the Server is able to deploy and start the application. When I open the applications-url the jenins is displayed but there are no images shown. The following exception can be found in the log after I opened the URL the first time: {quote} 18:05:59,463 INFO [hudson.WebAppMain] (Jenkins initialization thread) Jenkins is fully up and running 18:06:09,282 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jenkins]] (Handling GET /jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js : http--0%3A0%3A0%3A0%3A0%3A0%3A0%3A0-8080-5) Error while serving http://192.168.1.100:8080/jenkins/adjuncts/5340685a/org/kohsuke/stapler/bind.js: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_09] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_09] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_09] at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_09] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:370) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.service(Stapler.java:224) [stapler-1.221.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) [jenkins-core-1.536.jar:] at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) [jenkins-core-1.536.jar:] at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) [jenkins-core-1.536.jar:] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:388) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at java.lang.Thread.run(Thread.java:722) [:1.7.0_09] Caused by: java.lang.NoClassDefFoundError: sun/net/www/protocol/jar/JarURLConnection at org.kohsuke.stapler.Stapler$OpenConnection.getLastModified(Stapler.java:273) [stapler-1.221.jar:] ... {quote} It seems that the server is not able to find the deployed ressources. When I start it directly from the console (java -jar ..) the application starts. Can you tell me where i have to search for the solution?

    Jenkins JIRA | 3 years ago | Thomas Schiffler
    java.lang.reflect.InvocationTargetException
  3. 0

    when i upgrade from 1.535 to 1.536 and open the webpage all static ressources are not displayed and in the server log the follwoing shows up: 2013-10-22 08:53:49,653 ERROR [io.undertow.servlet] (Handling GET /jenkins/static/389b820a/plugin/translation/flags.png : default task-34) Error while serving http://localhost/jenkins/static/389b820a/plugin/translation/flags.png: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45] at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160) [stapler-1.221.jar:] at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:370) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) [stapler-1.221.jar:] at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:727) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:841) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.invoke(Stapler.java:630) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.service(Stapler.java:224) [stapler-1.221.jar:] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Beta1.jar:1.0.0.Beta1] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) [jenkins-core-1.536.jar:] at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) [jenkins-core-1.536.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) [jenkins-core-1.536.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) [jenkins-core-1.536.jar:] at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [acegi-security-1.0.7.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) [acegi-security-1.0.7.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) [acegi-security-1.0.7.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) [acegi-security-1.0.7.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) [acegi-security-1.0.7.jar:] at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) [jenkins-core-1.536.jar:] at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) [jenkins-core-1.536.jar:] at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) [jenkins-core-1.536.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) [stapler-1.221.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) [jenkins-core-1.536.jar:] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:93) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:81) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:55) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:218) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:205) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:69) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:134) [undertow-servlet-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:619) [undertow-core-1.0.0.Beta17.jar:1.0.0.Beta17] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45] Caused by: java.lang.NoClassDefFoundError: sun/net/www/protocol/jar/JarURLConnection at org.kohsuke.stapler.Stapler$OpenConnection.getLastModified(Stapler.java:273) [stapler-1.221.jar:] at org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:394) [stapler-1.221.jar:] at org.kohsuke.stapler.ResponseImpl.serveLocalizedFile(ResponseImpl.java:210) [stapler-1.221.jar:] at hudson.Plugin.doDynamic(Plugin.java:222) [jenkins-core-1.536.jar:] ... 78 more sitching back to 1.535 the issue is gone, this also shows up for me on a fresh installation

    Jenkins JIRA | 3 years ago | Michael Cramer
    flags.png: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 301#177885059

    GitHub | 10 months ago | oarshad
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: sun/net/www/protocol/file/FileURLConnection
  6. 0

    JBoss Community / Mailing Lists

    sourceforge.net | 11 months ago
    java.lang.NoClassDefFoundError: org/jboss/net/protocol/jar/Handler (wrong name: org/jboss/varia/property/PropertyEditorManagerService)

    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.NoClassDefFoundError

      sun/net/www/protocol/jar/JarURLConnection

      at org.kohsuke.stapler.Stapler$OpenConnection.getLastModified()
    2. Stapler
      Stapler$OpenConnection.getLastModified
      1. org.kohsuke.stapler.Stapler$OpenConnection.getLastModified(Stapler.java:273)[stapler-1.221.jar:]
      1 frame