jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Palma" <derek.pa...@gmail.com>
Subject Problem with restoring versions
Date Tue, 09 Nov 2010 02:06:11 GMT
Hi,

 

I am seeing a NoSuchItemStateException during
org.apache.jackrabbit.core.VersionManagerImpl.restore.

 

I see it quite often and don't understand how it can happen. Is there any
way I can causes this by mistake? Has anyone seen this?

 

Thanks,

Derek

 

[runTestNG] java.io.IOException: javax.jcr.RepositoryException:
org.apache.jackrabbit.core.state.NoSuchItemStateException:
b97032b9-e0bb-466f-b39a-ba28278d6a54/{http://www.jcp.org/jcr/1.0}mixinTypes

[runTestNG]      at
com.virtunomic.model.content.RepositoryManagedContentProvider.restore(Reposi
toryManagedContentProvider.java:2351)

[runTestNG]      at
com.virtunomic.model.content.RepositoryManagedArtifact.restore(RepositoryMan
agedArtifact.java:272)

[runTestNG]      at
com.virtunomic.core.tests.content.ManagedContentTests.testVersionedCopy(Mana
gedContentTests.java:129)

[runTestNG]      at junit.framework.TestCase.runTest(TestCase.java:168)

[runTestNG]      at junit.framework.TestCase.runBare(TestCase.java:134)

[runTestNG]      at
junit.framework.TestResult$1.protect(TestResult.java:110)

[runTestNG]      at
junit.framework.TestResult.runProtected(TestResult.java:128)

[runTestNG]      at junit.framework.TestResult.run(TestResult.java:113)

[runTestNG]      at junit.framework.TestCase.run(TestCase.java:124)

[runTestNG]      at junit.framework.TestSuite.runTest(TestSuite.java:232)

[runTestNG]      at junit.framework.TestSuite.run(TestSuite.java:227)

[runTestNG]      at junit.framework.TestSuite.runTest(TestSuite.java:232)

[runTestNG]      at junit.framework.TestSuite.run(TestSuite.java:227)

[runTestNG]      at junit.framework.TestSuite.runTest(TestSuite.java:232)

[runTestNG]      at junit.framework.TestSuite.run(TestSuite.java:227)

[runTestNG]      at
com.virtunomic.tests.testng.TestNGLauncher.start(TestNGLauncher.java:59)

[runTestNG]      at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)

[runTestNG]      at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:110)

[runTestNG]      at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:79)

[runTestNG]      at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)

[runTestNG]      at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

[runTestNG]      at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)

[runTestNG]      at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

[runTestNG]      at org.eclipse.equinox.launcher.Main.run(Main.java:1406)

[runTestNG]      at org.eclipse.equinox.launcher.Main.main(Main.java:1382)

[runTestNG] Caused by: javax.jcr.RepositoryException:
org.apache.jackrabbit.core.state.NoSuchItemStateException:
b97032b9-e0bb-466f-b39a-ba28278d6a54/{http://www.jcp.org/jcr/1.0}mixinTypes

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:3
83)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:3
62)

[runTestNG]      at
org.apache.jackrabbit.core.version.VersionManagerImplRestore.internalRestore
Frozen(VersionManagerImplRestore.java:494)

[runTestNG]      at
org.apache.jackrabbit.core.version.VersionManagerImplRestore.internalRestore
(VersionManagerImplRestore.java:291)

[runTestNG]      at
org.apache.jackrabbit.core.version.VersionManagerImplRestore.internalRestore
(VersionManagerImplRestore.java:237)

[runTestNG]      at
org.apache.jackrabbit.core.VersionManagerImpl.restore(VersionManagerImpl.jav
a:192)

[runTestNG]      at
org.apache.jackrabbit.core.VersionManagerImpl.restore(VersionManagerImpl.jav
a:163)

[runTestNG]      at
com.virtunomic.model.content.RepositoryManagedContentProvider.restore(Reposi
toryManagedContentProvider.java:2349)

[runTestNG]      ... 46 more

[runTestNG] Caused by:
org.apache.jackrabbit.core.state.NoSuchItemStateException:
b97032b9-e0bb-466f-b39a-ba28278d6a54/{http://www.jcp.org/jcr/1.0}mixinTypes

[runTestNG]      at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedI
temStateManager.java:267)

[runTestNG]      at
org.apache.jackrabbit.core.state.LocalItemStateManager.getPropertyState(Loca
lItemStateManager.java:132)

[runTestNG]      at
org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalIte
mStateManager.java:174)

[runTestNG]      at
org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemState
Manager.java:260)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:3
99)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:4
06)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:4
06)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:4
06)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:4
06)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:4
06)

[runTestNG]      at
org.apache.jackrabbit.core.version.NodeStateEx.removeNode(NodeStateEx.java:3
77)

[runTestNG]      ... 53 more

[runTestNG] ... Removed 22 stack frames


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