java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • OSGi code coverage with Cobertura | Tomek's blog
    via by Unknown author,
  • GF V3 EA b38 startup error
    via by 392 Guest,
  • Trouble running Open Anzo snapshot
    via by Rolf Bardeli,
    • java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.ext.hierarchy.impl.NodeHierarchyCreatorImpl at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:76) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfType(DefaultPicoContainer.java:281) at org.exoplatform.container.PortalContainer.getComponentInstancesOfType(PortalContainer.java:112) at org.picocontainer.defaults.LifecycleVisitor.visitContainer(LifecycleVisitor.java:97) at org.picocontainer.defaults.DefaultPicoContainer.accept(DefaultPicoContainer.java:416) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.picocontainer.defaults.AbstractPicoVisitor.traverse(AbstractPicoVisitor.java:32) at org.picocontainer.defaults.LifecycleVisitor.traverse(LifecycleVisitor.java:63) at org.picocontainer.defaults.LifecycleVisitor.start(LifecycleVisitor.java:113) at org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.java:369) at org.exoplatform.container.PortalContainer.start(PortalContainer.java:84) at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:103) at org.exoplatform.portal.application.PortalController.init(PortalController.java:65) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1155) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351) at org.ow2.jonas.web.tomcat6.JOnASStandardContext.start(JOnASStandardContext.java:247) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:769) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.ow2.jonas.web.tomcat6.Tomcat6Service.doRegisterWar(Tomcat6Service.java:530) at org.ow2.jonas.web.base.BaseWebContainerService.registerWar(BaseWebContainerService.java:714) at org.ow2.jonas.web.base.BaseWebContainerService.deployWars(BaseWebContainerService.java:1241) at org.ow2.jonas.ear.internal.EarDeployer.deployWARs(EarDeployer.java:1002) at org.ow2.jonas.ear.internal.EarDeployer.deployEAR(EarDeployer.java:644) at org.ow2.jonas.ear.internal.EarDeployer.deploy(EarDeployer.java:238) at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:120) at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:347) at org.ow2.jonas.deployablemonitor.DeployableMonitor.access$000(DeployableMonitor.java:62) at org.ow2.jonas.deployablemonitor.DeployableMonitor$1.execute(DeployableMonitor.java:154) at org.ow2.jonas.deployablemonitor.DeployableMonitor$1.execute(DeployableMonitor.java:153) at org.ow2.jonas.lib.execution.RunnableHelper.execute(RunnableHelper.java:60) at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:160) Caused by: java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.impl.RepositoryServiceImpl at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:76) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313) at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:123) at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:57) ... 50 more Caused by: java.lang.RuntimeException: Cannot instantiate component class org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:76) at org.picocontainer.defaults.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:322) at org.picocontainer.defaults.DefaultPicoContainer.getComponentInstanceOfType(DefaultPicoContainer.java:313) at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:123) at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:57) ... 54 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:131) at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:57) ... 58 more Caused by: org.exoplatform.services.jcr.config.RepositoryConfigurationException: Fail to init from xml! Reason: org.exoplatform.services.jcr.config.RepositoryConfigurationException: JDNI exception. javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:35625](local),objID:[-5cfe8ce2:11938287480:-7fa3, -1844948945649161632]]]]' with name 'jdbcexo'. [Root exception is java.lang.ClassNotFoundException: *** Class 'org.apache.commons.dbcp.BasicDataSourceFactory' was not found. Bundle 59 does not import package 'org.apache.commons.dbcp', nor is the package exported by any other bundle or available from the system class loader. ***] at org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl.<init>(RepositoryServiceConfigurationImpl.java:98) ... 64 more Caused by: org.exoplatform.services.jcr.config.RepositoryConfigurationException: JDNI exception. javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:35625](local),objID:[-5cfe8ce2:11938287480:-7fa3, -1844948945649161632]]]]' with name 'jdbcexo'. [Root exception is java.lang.ClassNotFoundException: *** Class 'org.apache.commons.dbcp.BasicDataSourceFactory' was not found. Bundle 59 does not import package 'org.apache.commons.dbcp', nor is the package exported by any other bundle or available from the system class loader. ***] at org.exoplatform.services.jcr.impl.config.JDBCConfigurationPersister.hasConfig(JDBCConfigurationPersister.java:174) at org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl.<init>(RepositoryServiceConfigurationImpl.java:89) ... 64 more Caused by: javax.naming.NamingException: Cannot unwrap object 'UnicastJNDIReferenceWrapper[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:35625](local),objID:[-5cfe8ce2:11938287480:-7fa3, -1844948945649161632]]]]' with name 'jdbcexo'. [Root exception is java.lang.ClassNotFoundException: *** Class 'org.apache.commons.dbcp.BasicDataSourceFactory' was not found. Bundle 59 does not import package 'org.apache.commons.dbcp', nor is the package exported by any other bundle or available from the system class loader. ***] at org.ow2.carol.rmi.exception.NamingExceptionHelper.create(NamingExceptionHelper.java:50) at org.ow2.carol.jndi.spi.JRMPLocalContext.unwrapObject(JRMPLocalContext.java:84) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:142) at org.ow2.carol.jndi.spi.AbsContext.lookup(AbsContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.ow2.carol.jndi.spi.MultiContext.lookup(MultiContext.java:117) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.exoplatform.services.jcr.impl.config.JDBCConfigurationPersister.openConnection(JDBCConfigurationPersister.java:133) at org.exoplatform.services.jcr.impl.config.JDBCConfigurationPersister.hasConfig(JDBCConfigurationPersister.java:156) ... 65 more Caused by: java.lang.ClassNotFoundException: *** Class 'org.apache.commons.dbcp.BasicDataSourceFactory' was not found. Bundle 59 does not import package 'org.apache.commons.dbcp', nor is the package exported by any other bundle or available from the system class loader. *** at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:195) at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45) at org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.ow2.carol.jndi.spi.JRMPLocalContext.unwrapObject(JRMPLocalContext.java:76) ... 72 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSourceFactory at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:483) at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:186) ... 79 more
    No Bugmate found.