jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Costin Leau <costin.l...@gmail.com>
Subject Re[2]: invalid QName literal
Date Fri, 09 Dec 2005 09:59:48 GMT

> it's not xml related. jackrabbit has its own QName class (o.a.j.name.QName).

> my best guess would be incompatibility of serialization formats. the
> format has changed
> a couple of weeks ago. make sure you run the tests on an initially
> empty repository.

> if that doesn't explain your problem please send a full stack trace,
> configuration etc.

> cheers
> stefan


Thanks.
Indeed, we did a library upgrade and probably on the remote
machine the old repository (or tmp file) still exists. I'm using
InMemPersistenceManager:

java.lang.IllegalArgumentException: invalid QName literal
        at org.apache.jackrabbit.name.QName.valueOf(QName.java:635)
        at org.apache.jackrabbit.core.state.util.Serializer.deserialize(Serializer.java:122)
        at org.apache.jackrabbit.core.state.mem.InMemPersistenceManager.load(InMemPersistenceManager.java:378)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(SharedItemStateManager.java:740)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualItemState(SharedItemStateManager.java:667)
        at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:188)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:101)
        at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:156)
        at org.apache.jackrabbit.core.version.VersionManagerImpl.<init>(VersionManagerImpl.java:151)
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:210)
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424)

I'll try to clean the directory through the build file and let you
know the results.

-- 
Best regards,
 Costin                            mailto:costin.leau@gmail.com


Mime
View raw message