jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tingup" <tin...@gmail.com>
Subject jackrabbit 1.6.1 repo corrupted
Date Fri, 09 Jul 2010 08:35:37 GMT
hi,
   i'm new to jackrabbit, and i'm using jackrabbit1.6.1.

  now, my jr repository crashed after operation: 
                session.exportSystemView(CMSUtil.normalizedPath(path), out, false, false);
                session.importXML(CMSUtil.normalizedPath(path), in, ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);

 Then,  i get the following error info when i restarting the server:


Caused by: javax.jcr.RepositoryException: failed to build path of deadbeef-cafe-babe-cafe-babecafebabe:
failed to read node state: cafebabe-cafe-babe-cafe-babecafebabe: failed to read node state:
cafebabe-cafe-babe-cafe-babecafebabe
    at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:402)
    at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:209)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1922)
    at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
    at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
    at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
    at org.springmodules.jcr.jackrabbit.RepositoryFactoryBean.createRepository(RepositoryFactoryBean.java:57)
.................................................................
    ... 2 more
Caused by: org.apache.jackrabbit.core.state.ItemStateException: failed to read node state:
cafebabe-cafe-babe-cafe-babecafebabe
    at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.load(DatabasePersistenceManager.java:390)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1417)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1344)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:257)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.getItemState(HierarchyManagerImpl.java:150)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:276)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:393)
    ... 140 more
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:470)
    at java.lang.Integer.parseInt(Integer.java:499)
    at org.apache.jackrabbit.core.nodetype.NodeDefId.valueOf(NodeDefId.java:106)
    at org.apache.jackrabbit.core.persistence.util.Serializer.deserialize(Serializer.java:137)
    at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.load(DatabasePersistenceManager.java:381)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:1417)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:1344)
    at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:257)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.getItemState(HierarchyManagerImpl.java:150)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:276)
    at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:393)
    at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:209)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
    at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
    at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
    at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
    at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
    at org.springmodules.jcr.jackrabbit.RepositoryFactoryBean.createRepository(RepositoryFactoryBean.java:57)


thanks for any help

Sincerely, Tingup




2010-07-09 



tingup 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message