Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.23.02-alpha
-
None
-
None
Description
When starting the second cluster node, the following stactrace is generated, and the node will not become functional.
-------8<------
2012-07-16 15:24:18,630 ERROR [main] [org.hippoecm.repository.RepositoryServlet.init():191] Error while setting up JCR repository:
javax.jcr.RepositoryException: unchecked exception: java.lang.reflect.InvocationTargetException: null
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:197)
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:165)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
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.deployWAR(HostConfig.java:943)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
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.reflect.InvocationTargetException
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.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:184)
... 27 more
Caused by: java.lang.NullPointerException
at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.hash(Unknown Source)
at EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap.get(Unknown Source)
at org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl.getBitNumber(BitSetENTCacheImpl.java:162)
at org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl.access$000(BitSetENTCacheImpl.java:33)
at org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl$BitSetKey.<init>(BitSetENTCacheImpl.java:269)
at org.apache.jackrabbit.core.nodetype.BitSetENTCacheImpl.getKey(BitSetENTCacheImpl.java:86)
at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:1040)
at org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:501)
at org.hippoecm.repository.jackrabbit.HippoSharedItemStateManager.addHandleIds(HippoSharedItemStateManager.java:141)
at org.hippoecm.repository.jackrabbit.HippoSharedItemStateManager.notifyDocumentListeners(HippoSharedItemStateManager.java:112)
at org.hippoecm.repository.jackrabbit.HippoSharedItemStateManager.externalUpdate(HippoSharedItemStateManager.java:97)
at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.externalUpdate(RepositoryImpl.java:2254)
at org.apache.jackrabbit.core.cluster.ClusterNode.process(ClusterNode.java:813)
at org.apache.jackrabbit.core.cluster.ChangeLogRecord.process(ChangeLogRecord.java:498)
at org.apache.jackrabbit.core.cluster.ClusterNode.consume(ClusterNode.java:759)
at org.apache.jackrabbit.core.journal.AbstractJournal.doSync(AbstractJournal.java:233)
at org.apache.jackrabbit.core.journal.DatabaseJournal.doSync(DatabaseJournal.java:452)
at org.apache.jackrabbit.core.journal.AbstractJournal.internalSync(AbstractJournal.java:207)
at org.apache.jackrabbit.core.journal.AbstractJournal.sync(AbstractJournal.java:190)
at org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java:307)
at org.apache.jackrabbit.core.cluster.ClusterNode.start(ClusterNode.java:247)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:331)
at org.hippoecm.repository.jackrabbit.RepositoryImpl.<init>(RepositoryImpl.java:77)
at org.hippoecm.repository.LocalHippoRepository$LocalRepositoryImpl.<init>(LocalHippoRepository.java:239)
at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:297)
at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:268)
at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:145)
... 32 more
Attachments
Issue Links
- causes
-
REPO-492 Warnings logged on cluster nodes: Node type name is null
- Closed