jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srijan anil <212ru...@gmail.com>
Subject Inconsistent Behavior on fetching frozen node
Date Wed, 06 Feb 2013 16:23:13 GMT
Hello,
I am getting inconsistent behavior while trying to retrieve frozen Node
objects.

My code :

*String foundVersion = (String)
ocm.getSession().getWorkspace().getVersionManager().getVersionHistory(path).getVersionByLabel(versionId).getName();
*
*Object obj =  ocm.getObject(path, foundVersion); *

Many times it work and it fetches me an older version object.But sometimes
it throws me an exception *Node type: nt:frozenNode has no descriptor.*

The behavior is inconsistent. Could anyone please help me.

Thanks,
Srijan

Mime
View raw message