jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Conoly (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1643) ClientObservationManager causes null pointer
Date Fri, 06 Jun 2008 15:23:44 GMT
ClientObservationManager causes null pointer
--------------------------------------------

                 Key: JCR-1643
                 URL: https://issues.apache.org/jira/browse/JCR-1643
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-jcr-rmi
    Affects Versions: rmi 1.4.1
         Environment: Using a simple rmi connection to connect to a jackrabbit server running
on tomcat on linux.
            Reporter: Brett Conoly


This is listed as major because it prevents rmi users from accessing registered events...safely
There is a mailing list thread with the subject "null pointer in client observation manager"
for reference.

Using:
ObservationManager manager = session.getWorkspace().getObservationManager();
EventListenerIterator events = manager.getRegisteredEventListeners();

causes an unexplained null pointer within the ClientObservationManager if getRegisteredEventListeners()
is called before an EventListener is registered with the related ObservationManager.

This was tested with org.apache.jackrabbit.core.observation.ObservationManagerImpl and it
passed without any issues.
No other implementations of the ObservationManager were tested.

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