com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d

Jenkins JIRA | leo wang | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jenkins issues - [JIRA] [groovy-plugin] (JENKINS-29971) Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d

    nabble.com | 1 year ago
    com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d
  2. 0

    Stack-trace com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829) at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4834) at org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:62) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:102) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:813) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:198) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:176) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:99) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:35) at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:28) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) ... 71 more Caused by: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:88) at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:47) at org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:97) at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:31) ... 76 more Caused by: java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3046) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1254) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1417) at org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:87) at org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:71) at org.kohsuke.stapler.lang.Klass.getResource(Klass.java:28) at org.kohsuke.stapler.AbstractTearOff.getResource(AbstractTearOff.java:113) at org.kohsuke.stapler.AbstractTearOff.resolveScript(AbstractTearOff.java:79) at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:85) ... 79 more

    Jenkins JIRA | 2 years ago | leo wang
    com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d
  3. 0

    Stack-trace com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829) at com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4834) at org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:62) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:102) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:813) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:198) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:176) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:99) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:35) at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:28) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) ... 71 more Caused by: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:88) at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:47) at org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:97) at org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:31) ... 76 more Caused by: java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3046) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1254) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1417) at org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:87) at org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:71) at org.kohsuke.stapler.lang.Klass.getResource(Klass.java:28) at org.kohsuke.stapler.AbstractTearOff.getResource(AbstractTearOff.java:113) at org.kohsuke.stapler.AbstractTearOff.resolveScript(AbstractTearOff.java:79) at org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:85) ... 79 more

    Jenkins JIRA | 2 years ago | leo wang
    com.google.common.util.concurrent.UncheckedExecutionException: org.kohsuke.stapler.ScriptLoadException: org.apache.commons.jelly.JellyException: Failed to load index from org.kohsuke.stapler.jelly.groovy.GroovyFacet@2cc7b16d
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I've already have WebRoot\WEB-INF\lib\struts2-core-2.1.2.jar contains the ObjectFactoryDestroyable interface. But when I reload the webapp or redeploy, tomcat throws this exception. Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processC hildren SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332 ) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:43 PM org.apache.catalina.core.StandardContext reload INFO: Reloading this Context has started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[jsp] h as not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[defaul t] has not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing loader WebappLoader[/forumnomics] background process java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java: 2001) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:961) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1096) at com.opensymphony.xwork2.util.ClassLoaderUtil.getResource(ClassLoaderUtil.java:83) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:288) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:202) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:93) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:76) at com.opensymphony.xwork2.config.ConfigurationException.<init>(ConfigurationException.java: 64) at org.apache.struts2.config.DefaultPropertiesProvider.register(DefaultPropertiesProvider.ja va:47) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfigura tion.java:156) at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManage r.java:252) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager .java:61) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774) at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:242) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:261) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332 ) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3093) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:46 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Dec 17, 2008 8:32:47 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[jsp] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[default] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/price] java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

    Apache's JIRA Issue Tracker | 8 years ago | Tom Nguyen
    java.lang.NullPointerException
  6. 0

    I've already have WebRoot\WEB-INF\lib\struts2-core-2.1.2.jar contains the ObjectFactoryDestroyable interface. But when I reload the webapp or redeploy, tomcat throws this exception. Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processC hildren SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332 ) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:43 PM org.apache.catalina.core.StandardContext reload INFO: Reloading this Context has started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[jsp] h as not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[defaul t] has not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing loader WebappLoader[/forumnomics] background process java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java: 2001) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:961) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1096) at com.opensymphony.xwork2.util.ClassLoaderUtil.getResource(ClassLoaderUtil.java:83) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:288) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:202) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:93) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:76) at com.opensymphony.xwork2.config.ConfigurationException.<init>(ConfigurationException.java: 64) at org.apache.struts2.config.DefaultPropertiesProvider.register(DefaultPropertiesProvider.ja va:47) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfigura tion.java:156) at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManage r.java:252) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager .java:61) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774) at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:242) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:261) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332 ) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3093) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:46 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Dec 17, 2008 8:32:47 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[jsp] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[default] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/price] java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

    Apache's JIRA Issue Tracker | 8 years ago | Tom Nguyen
    java.lang.NullPointerException

    1 unregistered visitors
    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.apache.catalina.loader.WebappClassLoader.findResourceInternal()
    2. Glassfish Core
      WebappClassLoader.getResource
      1. org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:3046)
      2. org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:1254)
      3. org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1417)
      3 frames
    3. Stapler
      AbstractTearOff.resolveScript
      1. org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:87)
      2. org.kohsuke.stapler.lang.KlassNavigator$1.getResource(KlassNavigator.java:71)
      3. org.kohsuke.stapler.lang.Klass.getResource(Klass.java:28)
      4. org.kohsuke.stapler.AbstractTearOff.getResource(AbstractTearOff.java:113)
      5. org.kohsuke.stapler.AbstractTearOff.resolveScript(AbstractTearOff.java:79)
      5 frames
    4. Stapler Jelly
      JellyClassTearOff.resolveScript
      1. org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:85)
      2. org.kohsuke.stapler.jelly.JellyClassTearOff.resolveScript(JellyClassTearOff.java:47)
      2 frames
    5. Stapler
      CachingScriptLoader$1.load
      1. org.kohsuke.stapler.AbstractTearOff.loadScript(AbstractTearOff.java:97)
      2. org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:31)
      3. org.kohsuke.stapler.CachingScriptLoader$1.load(CachingScriptLoader.java:28)
      3 frames
    6. Guava
      LocalCache$LocalManualCache.getUnchecked
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3965)
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)
      7. com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)
      8. com.google.common.cache.LocalCache$LocalManualCache.getUnchecked(LocalCache.java:4834)
      8 frames
    7. Stapler
      CachingScriptLoader.findScript
      1. org.kohsuke.stapler.CachingScriptLoader.findScript(CachingScriptLoader.java:62)
      1 frame
    8. Stapler Jelly
      JellyFacet.handleIndexRequest
      1. org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:102)
      2. org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127)
      2 frames
    9. Stapler
      Stapler.service
      1. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735)
      2. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      3. org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:813)
      4. org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
      5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      6. org.kohsuke.stapler.Stapler.service(Stapler.java:238)
      6 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      1 frame
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    12. Hudson
      PluginServletFilter$1.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:123)
      1 frame
    13. net.bull.javamelody
      PluginMonitoringFilter.doFilter
      1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:198)
      2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:176)
      3. net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:85)
      3 frames
    14. org.jvnet.hudson
      HudsonMonitoringFilter.doFilter
      1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:99)
      1 frame
    15. Hudson
      PluginServletFilter.doFilter
      1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:120)
      2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:114)
      2 frames
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    17. Hudson
      CrumbFilter.doFilter
      1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    19. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      2. hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      3. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3 frames
    20. jenkins.security
      ExceptionTranslationFilter.doFilter
      1. jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      1 frame
    21. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    22. Acegi Security Core
      AnonymousProcessingFilter.doFilter
      1. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      1 frame
    23. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    24. Acegi Security Core
      RememberMeProcessingFilter.doFilter
      1. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
      1 frame
    25. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    26. Acegi Security Core
      AbstractProcessingFilter.doFilter
      1. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      1 frame
    27. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    28. jenkins.security
      BasicHeaderProcessor.doFilter
      1. jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
      1 frame
    29. Hudson
      ChainedServletFilter$1.doFilter
      1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      1 frame
    30. Acegi Security Core
      HttpSessionContextIntegrationFilter.doFilter
      1. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      1 frame
    31. Hudson
      HudsonFilter.doFilter
      1. hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
      2. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      3. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      4. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:168)
      4 frames
    32. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    33. Stapler
      CompressionFilter.doFilter
      1. org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
      1 frame
    34. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    35. Hudson
      CharacterEncodingFilter.doFilter
      1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      1 frame
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    37. Stapler
      DiagnosticThreadNameFilter.doFilter
      1. org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
      1 frame
    38. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    39. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
      3 frames
    40. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames