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

Tomek Rękawek updated OAK-4832:
-------------------------------
    Fix Version/s: 1.5.11

> Upgrade breaks if the SecurityManager section in repository.xml is empty
> ------------------------------------------------------------------------
>
>                 Key: OAK-4832
>                 URL: https://issues.apache.org/jira/browse/OAK-4832
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>    Affects Versions: 1.0.33, 1.4.7, 1.2.19, 1.5.10
>            Reporter: Tomek Rękawek
>            Assignee: Tomek Rękawek
>             Fix For: 1.6, 1.5.11
>
>
> In case that the option SecurityManager section in repository.xml is empty, 
> the upgrade [fails with the 
> NullPointerException|http://jackrabbit.markmail.org/thread/2hhhrorj2huyy3lo]:
> {noformat}
> Caused by: javax.jcr.RepositoryException: Failed to copy content
>        at 
> org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade.copy(RepositoryUpgrade.java:525)
>        at 
> org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.upgrade(OakUpgrade.java:65)
>        at 
> org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade.migrate(OakUpgrade.java:53)
>        ... 1 more
> Caused by: java.lang.NullPointerException
>        at 
> org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade.mapSecurityConfig(RepositoryUpgrade.java:615)
>        at 
> org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade.copy(RepositoryUpgrade.java:388)
>        ... 3 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to