jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Müller" <thomas.muel...@day.com>
Subject Re: getting null exception while versioning htmnl files
Date Mon, 14 Jul 2008 18:08:19 GMT
Hi,

Do you use Jackrabbit core 1.4.5? This looks like a bug of Jackrabbit
1.4.0 that was fixed later on.

Regards,
Thomas


On Mon, Jul 14, 2008 at 10:59 AM, Pulla Venkat <pcsri1956@gmail.com> wrote:
>  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
>

Mime
View raw message