[
https://issues.apache.org/jira/browse/OAK-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676773#comment-13676773
]
Alex Parvulescu commented on OAK-775:
-------------------------------------
I think the latest updates introduced a NPE when there are no new changes
(#getChanges returns null and #add blows up).
{code}
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor Unable to
generate or send events java.lang.NullPointerException
at
java.util.concurrent.LinkedBlockingQueue.offer(LinkedBlockingQueue.java:410)
at java.util.AbstractQueue.add(AbstractQueue.java:95)
at
org.apache.jackrabbit.oak.plugins.observation.ChangeDispatcher$Listener.add(ChangeDispatcher.java:201)
at
org.apache.jackrabbit.oak.plugins.observation.ChangeDispatcher$Listener.getChanges(ChangeDispatcher.java:195)
at
org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor.run(ChangeProcessor.java:133)
{code}
> Implement backward compatible observation
> -----------------------------------------
>
> Key: OAK-775
> URL: https://issues.apache.org/jira/browse/OAK-775
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: core, jcr
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Attachments: OAK-775-isExternal.patch, OAK-775.patch
>
>
> As [discussed | http://markmail.org/message/6bqycmx6vbq7m25c] we might want
> look into implementing an alternative approach to observation, which trades
> some scalability for improved backward compatibility.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira