jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1454) NullPointerException may be thrown when trying to enumerate observation event listeners
Date Thu, 13 Mar 2008 15:20:25 GMT

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

Felix Meschberger commented on JCR-1454:
----------------------------------------

Backported to 1.4 branch for release in Rev. 636782.

> NullPointerException may be thrown when trying to enumerate observation event listeners
> ---------------------------------------------------------------------------------------
>
>                 Key: JCR-1454
>                 URL: https://issues.apache.org/jira/browse/JCR-1454
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr-rmi
>    Affects Versions: 1.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: rmi 1.4.1, 1.5
>
>
> When calling the ObservationManager.getRegisteredEventListeners() a NullPointerException
may be thrown if no event listener has been registered (yet). The reason for this is, that
in the ClientObservationManager.getRegisteredEventListener method an internal field is access
directly, which is created on demand and thus may be null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message