Hi,

I am trying to version a document by checking out and checking in the
new data in a single block. I can't get rid of this error. why am I having
null pointer exception.

My document is a html file. I am using bytearraystream to add data to
jcr:content.

13:53:27,124 WARN  [NodeIndexer] Exception while indexing binary property:
java.lang.NullPointerException
13:53:27,203 INFO  [ClusterNode] Appended revision: 21
13:53:27,515 INFO  [ClusterNode] Appended revision: 22
13:53:27,546 INFO  [STDOUT] ERROR - SessionBean.versionDocument
13:53:27,546 ERROR [STDERR] java.lang.NullPointerException
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.value.BLOBInTempFile.delete(BLOBInTempFile.java:119)
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.value.BLOBInTempFile.discard(BLOBInTempFile.java:129)
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.PropertyImpl.internalSetValue(PropertyImpl.java:286)
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:608)
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:522)
13:53:27,546 ERROR [STDERR]     at
org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2314)
........

Thanks,
Pulla

Reply via email to