[
https://issues.apache.org/jira/browse/OAK-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941476#comment-14941476
]
Tobias Bocanegra commented on OAK-3311:
---------------------------------------
bq. missing test-case verifying that the issue is actually valid and that the
patch actually addresses it.
unfortunately, I don't know how to create a test case here, since the MBean
needs a JCR repository, but the test is in oak. either there is an easy way to
retrieve the repository, or we need to rewrite the sync handler to use oak
directly instead of JCR - or at least the MBean.
> Potential NPE in syncAllExternalUsers() aborts the process
> ----------------------------------------------------------
>
> Key: OAK-3311
> URL: https://issues.apache.org/jira/browse/OAK-3311
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: auth-external
> Affects Versions: 1.2.4, 1.3.4, 1.0.19
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Priority: Blocker
> Fix For: 1.3.9, 1.2.7, 1.0.22
>
> Attachments: OAK-3311-1.0.19.patch
>
>
> The iteration over all users in {{syncAllExternalUsers()}} aborts if there is
> an uncaught NPE.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)