jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: jackrabbit 1.6.1 repo corrupted
Date Fri, 09 Jul 2010 09:34:41 GMT

On Fri, Jul 9, 2010 at 11:35 AM, tingup <tingup@gmail.com> wrote:
> i'm new to jackrabbit, and i'm using jackrabbit1.6.1.
> [...]
>  now, my jr repository crashed after operation:
>                session.exportSystemView(CMSUtil.normalizedPath(path), out, false,
>                session.importXML(CMSUtil.normalizedPath(path), in, ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW);
>  Then,  i get the following error info when i restarting the server:
> [...]
> Caused by: java.lang.NumberFormatException: For input string: ""
>    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>    at java.lang.Integer.parseInt(Integer.java:470)
>    at java.lang.Integer.parseInt(Integer.java:499)
>    at org.apache.jackrabbit.core.nodetype.NodeDefId.valueOf(NodeDefId.java:106)

Did you use Jackrabbit 1.6.2 during your export/import operation? From
the 1.6.2 release notes: "This release is backwards-compatible with
the earlier 1.6.x releases, but contains a change in persistence
format that makes it impossible to downgrade to an earlier release
after a repository has been upgraded to the 1.6.2 version." The error
you're seeing suggests that you're hitting this issue. Upgrading all
parts of your environment to 1.6.2 should fix the problem.


Jukka Zitting

View raw message