jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Strasser (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-28) Node.checkin() throws ArrayIndexOutOfBoundsException
Date Tue, 28 Dec 2004 14:21:18 GMT
     [ http://nagoya.apache.org/jira/browse/JCR-28?page=history ]
Tobias Strasser resolved JCR-28:

    Resolution: Fixed

fixed in r123112

> Node.checkin() throws ArrayIndexOutOfBoundsException
> ----------------------------------------------------
>          Key: JCR-28
>          URL: http://nagoya.apache.org/jira/browse/JCR-28
>      Project: Jackrabbit
>         Type: Bug
>  Environment: Jackrabbit SVN Rev. 11798
>     Reporter: Felix Meschberger
>     Assignee: Tobias Strasser

> I get an ArrayIndexOutOfBoundsException for index 0 when checking-in a node. After drilling
into the code I found, that during checkin, the jcr:uuid property (defined as OPV INITIALIZE)
is not copied from the node to the frozen node.
> After checkin though the implementation tries to access the string value of the jcr:uuid
property, which is not existing, hence the internal property implementation throws the exception
when accessing the first element in the empty value array.
> As a workaround I currently the set jcr:uuid property to OPV=COPY in the mixin:referenceable
node type. But I could imagine, that this might be incorrect according to the spec, yet it
works in my use case.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message