Skip to content

Instantly share code, notes, and snippets.

@EricWittmann
Created June 13, 2014 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricWittmann/85ecc15a02e1cf25520c to your computer and use it in GitHub Desktop.
Save EricWittmann/85ecc15a02e1cf25520c to your computer and use it in GitHub Desktop.
org.overlord.sramp.common.SrampServerException: org.modeshape.jcr.value.ValueFormatException: Error converting InputStream to a BinaryValue
at org.overlord.sramp.repository.jcr.JCRPersistence.persistArtifact(JCRPersistence.java:200)
at org.overlord.sramp.repository.jcr.modeshape.JCRAuditTest.createArtifact(JCRAuditTest.java:351)
at org.overlord.sramp.repository.jcr.modeshape.JCRAuditTest.testUpdateAuditEntry(JCRAuditTest.java:164)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: org.modeshape.jcr.value.ValueFormatException: Error converting InputStream to a BinaryValue
at org.modeshape.jcr.value.binary.BinaryStoreValueFactory.create(BinaryStoreValueFactory.java:254)
at org.modeshape.jcr.value.binary.BinaryStoreValueFactory.create(BinaryStoreValueFactory.java:57)
at org.modeshape.jcr.JcrValueFactory.createBinary(JcrValueFactory.java:147)
at org.modeshape.jcr.JcrValueFactory.createBinary(JcrValueFactory.java:47)
at org.overlord.sramp.repository.jcr.util.JCRUtils.uploadFile(JCRUtils.java:198)
at org.overlord.sramp.repository.jcr.JCRArtifactPersister.persistArtifactPhase1(JCRArtifactPersister.java:102)
at org.overlord.sramp.repository.jcr.JCRPersistence.persistArtifact(JCRPersistence.java:177)
... 28 more
Caused by: org.modeshape.jcr.value.binary.BinaryStoreException: java.io.FileNotFoundException: C:\Users\ewittman\AppData\Local\Temp\modeshape-binary-store\4e\e6\7f\4ee67f4c9f12ebe58c0c6d55d20d9dab91d8ab39 (The system cannot find the path specified)
at org.modeshape.jcr.value.binary.FileSystemBinaryStore.moveFileExclusively(FileSystemBinaryStore.java:228)
at org.modeshape.jcr.value.binary.FileSystemBinaryStore.saveTempFileToStore(FileSystemBinaryStore.java:170)
at org.modeshape.jcr.value.binary.FileSystemBinaryStore.storeValue(FileSystemBinaryStore.java:128)
at org.modeshape.jcr.value.binary.BinaryStoreValueFactory.create(BinaryStoreValueFactory.java:252)
... 34 more
Caused by: java.io.FileNotFoundException: C:\Users\ewittman\AppData\Local\Temp\modeshape-binary-store\4e\e6\7f\4ee67f4c9f12ebe58c0c6d55d20d9dab91d8ab39 (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:216)
at org.modeshape.jcr.value.binary.FileLocks$LockHolder.lock(FileLocks.java:283)
at org.modeshape.jcr.value.binary.FileLocks.lock(FileLocks.java:141)
at org.modeshape.jcr.value.binary.FileLocks.writeLock(FileLocks.java:77)
at org.modeshape.jcr.value.binary.FileSystemBinaryStore.moveFileExclusively(FileSystemBinaryStore.java:200)
... 37 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment