You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2015/04/15 12:12:59 UTC

[jira] [Commented] (OAK-2731) NPE when calling Event.getInfo()

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

Timothee Maret commented on OAK-2731:
-------------------------------------

Looking at the stack trace it seems the NPE is throw when trying to create an info map without mixin types and without primary type (null).

{code}
return ImmutableMap.of(JCR_PRIMARYTYPE, mapper.getJcrName(primaryType));   // L193
{code}

> NPE when calling Event.getInfo()
> --------------------------------
>
>                 Key: OAK-2731
>                 URL: https://issues.apache.org/jira/browse/OAK-2731
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1.6
>            Reporter: Dominique Pfister
>         Attachments: OAK-2731.txt
>
>
> On a very busy site, we're observing an NPE in the code that should gather information about a JCR event for our custom event handler. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)