getting null exception while versioning htmnl files

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown getting null exception while versioning htmnl files

by Pulla Venkat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 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

Re: getting null exception while versioning htmnl files

by Thomas Müller-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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
>

Re: getting null exception while versioning htmnl files

by Pulla Venkat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This fixed my error. Thanks.

On Mon, Jul 14, 2008 at 2:08 PM, Thomas Müller <thomas.mueller@...>
wrote:

> 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@...>
> 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
> >
>
LightInTheBox - Buy quality products at wholesale price