[ 
https://issues.apache.org/jira/browse/JCR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Guggisberg resolved JCR-3063.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

fixed in svn r1174822 by reverting the change introduced by JCR-2171.

JCR-2171 doesn't include a test case. however, i am optimistic that the 
dead lock issue has been resolved as of JCR-2650. 

> NullPointerException in ItemManager
> -----------------------------------
>
>                 Key: JCR-3063
>                 URL: https://issues.apache.org/jira/browse/JCR-3063
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.2.5, 2.2.8
>            Reporter: Unico Hommes
>             Fix For: 2.3.0
>
>         Attachments: NPEandCMETest.java
>
>
> We have a lot of these occurring:
> java.lang.NullPointerException
>       at 
> org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:206)
>       at org.apache.jackrabbit.core.ItemData.getDefinition(ItemData.java:99)
>       at 
> org.apache.jackrabbit.core.AbstractNodeData.getNodeDefinition(AbstractNodeData.java:73)
>       at org.apache.jackrabbit.core.NodeImpl.getDefinition(NodeImpl.java:2430)
>       at 
> org.apache.jackrabbit.core.ItemValidator.isProtected(ItemValidator.java:373)
>       at 
> org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:273)
>       at 
> org.apache.jackrabbit.core.ItemValidator.checkRemove(ItemValidator.java:254)
>       at 
> org.apache.jackrabbit.core.ItemRemoveOperation.perform(ItemRemoveOperation.java:63)
>       at 
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
>       at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
>       at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:322)
>       at 
> org.apache.jackrabbit.core.NPEandCMETest$TestTask.run(NPEandCMETest.java:87)
>       at java.lang.Thread.run(Thread.java:679)
> I'll attach a junit test to reproduce this exception.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to