jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karakó Miklós <karako.mik...@ecmc.hu>
Subject AbstractVersionManager NPE
Date Tue, 27 May 2008 09:44:50 GMT
hi,

Are there any situation when node.getProperty(NameConstants.JCR_PREDECESSORS).getValues()
returns null?

Actually, I got NPE in AbstractVersionManager.java:458.

Caused by java.lang.NullPointerException: null
    at org.apache.jackrabbit.core.version.AbstractVersionManager.calculateCheckinVersionName(AbstractVersionManager.java:458)
    at org.apache.jackrabbit.core.version.AbstractVersionManager.checkin(AbstractVersionManager.java:392)
    at org.apache.jackrabbit.core.version.VersionManagerImpl$2.run(VersionManagerImpl.java:280)
    at org.apache.jackrabbit.core.version.VersionManagerImpl$DynamicESCFactory.doSourced(VersionManagerImpl.java:560)
    at org.apache.jackrabbit.core.version.VersionManagerImpl.checkin(VersionManagerImpl.java:276)
    at org.apache.jackrabbit.core.version.XAVersionManager.checkin(XAVersionManager.java:155)
    at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2957)

Miki

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message