jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: checkin problem
Date Tue, 01 Apr 2008 11:53:29 GMT
Hi,

It looks like you are using Jackrabbit 1.4. Could you try with Jackrabbit 1.4.2?
I think this problem is fixed there.
See: http://jackrabbit.apache.org/downloads.html

Regards,
Thomas


On Tue, Apr 1, 2008 at 11:43 AM, Katia Santos <katiasantos@gmail.com> wrote:
> Hello,
>
>  I´m trying to create a version of a node that has several string properties
>  and a FileInputStream property. But when jackrabbit tries to copy the
>  FileInputStream property (in checkin of the node) an error occurs.
>  The error is the following:
>
>  ERROR [DatabasePersistenceManager] failed to write property state:
>  bac899a8-8672-4510-b4f3-35f2a6e54b49/{}Thumbnail
>  java.lang.NullPointerException
>     at java.io.FileInputStream.<init>(FileInputStream.java:103)
>     at org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(
>  BLOBInTempFile.java:145)
>     at org.apache.jackrabbit.core.persistence.util.Serializer.serialize(
>  Serializer.java:198)
>     at
>  org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(
>  DatabasePersistenceManager.java:476)
>     at
>  org.apache.jackrabbit.core.persistence.AbstractPersistenceManager.store(
>  AbstractPersistenceManager.java:75)
>     at
>  org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.store(
>  DatabasePersistenceManager.java:282)
>     at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(
>  SharedItemStateManager.java:688)
>     at org.apache.jackrabbit.core.state.SharedItemStateManager.update(
>  SharedItemStateManager.java:857)
>     at org.apache.jackrabbit.core.state.LocalItemStateManager.update(
>  LocalItemStateManager.java:324)
>     at org.apache.jackrabbit.core.state.LocalItemStateManager.update(
>  LocalItemStateManager.java:300)
>     at
>  org.apache.jackrabbit.core.version.AbstractVersionManager$WriteOperation.save
>  (AbstractVersionManager.java:180)
>     at org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(
>  AbstractVersionManager.java:378)
>     at org.apache.jackrabbit.core.version.VersionManagerImpl$2.run(
>  VersionManagerImpl.java:302)
>     at
>  org.apache.jackrabbit.core.version.VersionManagerImpl$DynamicESCFactory.doSourced
>  (VersionManagerImpl.java:579)
>     at org.apache.jackrabbit.core.version.VersionManagerImpl.checkin(
>  VersionManagerImpl.java:298)
>     at org.apache.jackrabbit.core.version.XAVersionManager.checkin(
>  XAVersionManager.java:162)
>     at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2962)
>
>
>
>  If someone knows what is the problem....
>
>  Thanks
>
>  Katia Santos
>

Mime
View raw message