You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Strasser (JIRA)" <ji...@apache.org> on 2004/12/28 15:21:18 UTC
[jira] Resolved: (JCR-28) Node.checkin() throws ArrayIndexOutOfBoundsException
[ 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:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira