Tomek Rękawek created OAK-4832: ---------------------------------- Summary: 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.5.10, 1.2.19, 1.4.7, 1.0.33 Reporter: Tomek Rękawek Fix For: 1.6
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)