You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/10/04 08:48:22 UTC

[jira] [Closed] (OAK-4832) Upgrade breaks if the SecurityManager section in repository.xml is empty

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

Davide Giannella closed OAK-4832.
---------------------------------

Bulk close for 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.4.8, 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)