You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2011/09/14 18:04:09 UTC

[jira] [Commented] (JCR-3063) NullPointerException in ItemManager

    [ https://issues.apache.org/jira/browse/JCR-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104607#comment-13104607 ] 

Stefan Guggisberg commented on JCR-3063:
----------------------------------------

i am now able to reproduce the NPEs and CMEs, thanks for providing a test case!


> 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
>         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