java.lang.NoClassDefFoundError: java/lang/AutoCloseable

Pentaho BI Platform Tracking | Duarte Cunha Leão | 3 years ago
  1. 0

    As I have installed the biserver-ee 4.8 in my machine, and because it defines the PENTAHO_JAVA_HOME environment variable, and because 4.8 comes bundled with its own 1.6 JVM, all biservers I run in my machine use that Java installation by default. I get the log below, in pentaho.log, when starting biserver. Everything seems to be working despite the error. ------ 2014-01-28 17:44:17,009 ERROR [org.pentaho.platform.osgi.OSGIBoot] Error installing Bundle org.osgi.framework.BundleException: Unresolved constraint in bundle mondrian [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.ee; (&(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.pentaho.platform.osgi.OSGIBoot.startup(OSGIBoot.java:141) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:379) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:72) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:315) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:355) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:283) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:196) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2014-01-28 17:44:21,707 ERROR [org.pentaho.platform.util.logging.Logger] Error: Pentaho 2014-01-28 17:44:21,708 ERROR [org.pentaho.platform.util.logging.Logger] misc-class org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager: PluginManager.ERROR_0011 - Failed to register plugin data-access-v2 java.lang.NoClassDefFoundError: java/lang/AutoCloseable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:306) at org.pentaho.reporting.libraries.resourceloader.LibLoaderBoot.performBoot(LibLoaderBoot.java:71) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.performBootDependencies(AbstractBoot.java:256) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:198) at org.pentaho.reporting.platform.plugin.ReportingSystemStartupListener.startup(ReportingSystemStartupListener.java:63) at org.pentaho.reporting.platform.plugin.LifecycleListener.init(LifecycleListener.java:28) at org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.init(PlatformPlugin.java:204) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.registerPlugin(DefaultPluginManager.java:283) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.reload(DefaultPluginManager.java:206) at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:40) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:379) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:72) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:315) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:355) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:283) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:196) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: java.lang.AutoCloseable at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

    Pentaho BI Platform Tracking | 3 years ago | Duarte Cunha Leão
    java.lang.NoClassDefFoundError: java/lang/AutoCloseable
  2. 0

    As I have installed the biserver-ee 4.8 in my machine, and because it defines the PENTAHO_JAVA_HOME environment variable, and because 4.8 comes bundled with its own 1.6 JVM, all biservers I run in my machine use that Java installation by default. I get the log below, in pentaho.log, when starting biserver. Everything seems to be working despite the error. ------ 2014-01-28 17:44:17,009 ERROR [org.pentaho.platform.osgi.OSGIBoot] Error installing Bundle org.osgi.framework.BundleException: Unresolved constraint in bundle mondrian [27]: Unable to resolve 27.0: missing requirement [27.0] osgi.ee; (&(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.pentaho.platform.osgi.OSGIBoot.startup(OSGIBoot.java:141) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:379) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:72) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:315) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:355) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:283) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:196) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2014-01-28 17:44:21,707 ERROR [org.pentaho.platform.util.logging.Logger] Error: Pentaho 2014-01-28 17:44:21,708 ERROR [org.pentaho.platform.util.logging.Logger] misc-class org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager: PluginManager.ERROR_0011 - Failed to register plugin data-access-v2 java.lang.NoClassDefFoundError: java/lang/AutoCloseable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2854) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1159) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1647) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at org.pentaho.reporting.libraries.base.boot.PackageManager.initializeModules(PackageManager.java:306) at org.pentaho.reporting.libraries.resourceloader.LibLoaderBoot.performBoot(LibLoaderBoot.java:71) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:202) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.performBootDependencies(AbstractBoot.java:256) at org.pentaho.reporting.libraries.base.boot.AbstractBoot.start(AbstractBoot.java:198) at org.pentaho.reporting.platform.plugin.ReportingSystemStartupListener.startup(ReportingSystemStartupListener.java:63) at org.pentaho.reporting.platform.plugin.LifecycleListener.init(LifecycleListener.java:28) at org.pentaho.platform.plugin.services.pluginmgr.PlatformPlugin.init(PlatformPlugin.java:204) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.registerPlugin(DefaultPluginManager.java:283) at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.reload(DefaultPluginManager.java:206) at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:40) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:379) at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:72) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:315) at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:355) at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:312) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:283) at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:196) at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.ClassNotFoundException: java.lang.AutoCloseable at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)

    Pentaho BI Platform Tracking | 3 years ago | Duarte Cunha Leão
    java.lang.NoClassDefFoundError: java/lang/AutoCloseable
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    We are trying to upgrade stash from 1.3.1 to 2.0.3. OS: Windows Server 2003 Standard Edition 32bit (German) JRE: 1.6.0_26 git: 1.7.11.msysgit.1 external database: SQL Server webserver: apache We also tried this with every 2.0.x version with the same result. As long as these errors are not solved or there is a workaround, we are unable to upgrade to stash 2.0.x If starting from console, the errors listed below occur. However afterwards the application is up and running. We don't know which impact the errors will have during app execution. While stopping stash via console, we get the error message: Error occurred during initialization of VM Could not reserve enough space for object heap If trying to use stash via windows service the start completely fails (same error) and is not possible. The log and console during startup says the following: {code} 2013-01-29 11:15:22,818 INFO [localhost-startStop-1] c.a.s.internal.home.HomeLockAcquirer Successfully acquired lock on home directory d:\stashhome for 4684@tomdev05 2013-01-29 11:15:41,444 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger Starting Stash 2.0.3 (2f0b050dae built on Wed Jan 16 01:37:49 CET 2013) 2013-01-29 11:15:41,444 INFO [localhost-startStop-1] c.a.s.i.server.ApplicationInfoLogger JVM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_26-b03 2013-01-29 11:15:41,803 INFO [localhost-startStop-1] c.a.s.i.hook.DefaultHookService Hook callback socket listening on 127.0.0.1:1672 2013-01-29 11:16:01,085 INFO [Spring executor 1] c.a.stash.ssh.server.SshServer Starting SSH server on port 7999... 2013-01-29 11:16:01,257 INFO [Spring executor 1] c.a.stash.ssh.server.SshServer Started SSH server successfully. 2013-01-29 11:16:03,976 ERROR [Spring executor 12] c.a.plugin.osgi.factory.OsgiPlugin Unable to start the Spring context for plugin com.atlassian.stash.plugin.custom-navigation-plugin java.lang.NoClassDefFoundError: com/atlassian/stash/exception/IllegalStateException at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.6.0_26] at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) ~[na:1.6.0_26] at java.lang.Class.getConstructors(Unknown Source) ~[na:1.6.0_26] at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) ~[na:na] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) ~[na:na] at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) ~[na:na] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) ~[na:na] at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) ~[na:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) ~[na:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.6.0_26] at java.lang.Thread.run(Unknown Source) ~[na:1.6.0_26] Caused by: java.lang.ClassNotFoundException: com.atlassian.stash.exception.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) ~[catalina.jar:7.0.32] at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ~[catalina.jar:7.0.32] at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) ~[org.apache.felix.framework-3.0.2.jar:na] at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.6.0_26] ... 24 common frames omitted 2013-01-29 11:16:03,992 ERROR [Spring executor 12] o.s.o.e.i.a.ContextLoaderListener Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.stash.plugin.custom-navigation-plugin, config=osgibundle:/META-INF/spring/*.xml)) java.lang.NoClassDefFoundError: com/atlassian/stash/exception/IllegalStateException at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.6.0_26] at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) ~[na:1.6.0_26] at java.lang.Class.getConstructors(Unknown Source) ~[na:1.6.0_26] at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:520) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:832) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_26] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) ~[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) ~[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) ~[spring-osgi-core-1.2.1.jar:1.2.1] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) ~[spring-osgi-core-1.2.1.jar:1.2.1] at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) ~[na:na] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) ~[spring-osgi-core-1.2.1.jar:1.2.1] at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) [spring-osgi-extender-1.2.1.jar:1.2.1] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_26] at java.lang.Thread.run(Unknown Source) [na:1.6.0_26] Caused by: java.lang.ClassNotFoundException: com.atlassian.stash.exception.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) ~[catalina.jar:7.0.32] at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) ~[catalina.jar:7.0.32] at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) ~[org.apache.felix.framework-3.0.2.jar:na] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) ~[org.apache.felix.framework-3.0.2.jar:na] at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.6.0_26] ... 24 common frames omitted 2013-01-29 11:16:07,273 INFO [localhost-startStop-1] c.a.s.internal.scm.PluginScmService Stash is using d:\Programme\Git\bin\git.exe version 1.7.11 {code}

    Atlassian JIRA | 4 years ago | Jan Jannek
    java.lang.NoClassDefFoundError: com/atlassian/stash/exception/IllegalStateException
  5. 0

    RE: the page is not working after restart tomcat - Forums | Liferay

    liferay.com | 7 months ago
    com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for wsrp-portlet

  1. treefolk 1 times, last 1 week ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 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.ClassNotFoundException

    java.lang.AutoCloseable

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames