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] Closed: (JCR-1454) NullPointerException may be thrown when trying to enumerate observation event listeners
Date Wed, 05 Mar 2008 09:09:40 GMT

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

Felix Meschberger closed JCR-1454.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Fixed in Rev. 633796 by first checking the internal field

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