jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Santos" <katiasan...@gmail.com>
Subject checkin problem
Date Tue, 01 Apr 2008 09:43:05 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message