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 2005/02/24 23:18:49 UTC

[jira] Resolved: (JCR-51) Node.restore fails with multiple mixin types

     [ http://issues.apache.org/jira/browse/JCR-51?page=history ]
     
Tobias Strasser resolved JCR-51:
--------------------------------

    Resolution: Fixed

fixed at r155256

> Node.restore fails with multiple mixin types
> --------------------------------------------
>
>          Key: JCR-51
>          URL: http://issues.apache.org/jira/browse/JCR-51
>      Project: Jackrabbit
>         Type: Bug
>   Components: API
>  Environment: Jackrabbit r154884
>     Reporter: Rod Mackenzie
>     Assignee: Tobias Strasser

>
> Restoring a node that has more than one mixin type causes the exception below. 
> java.lang.NullPointerException
> 	at org.apache.jackrabbit.core.NodeImpl.restoreFrozenState(NodeImpl.java:3286)
> 	at org.apache.jackrabbit.core.NodeImpl.internalRestore(NodeImpl.java:3243)
> 	at org.apache.jackrabbit.core.NodeImpl.internalRestore(NodeImpl.java:3210)
> 	at org.apache.jackrabbit.core.NodeImpl.restore(NodeImpl.java:2821)
> 	at com.gtnet.jcr.VersionedNodeTest.testNodeVersionAndRestore(VersionedNodeTest.java:311)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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