Carsten Ziegeler created SLING-6839:
---------------------------------------
Summary: Exception inside a task factory brings down installer task
Key: SLING-6839
URL: https://issues.apache.org/jira/browse/SLING-6839
Project: Sling
Issue Type: Improvement
Components: Installer
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Installer Core 3.8.10
If a task factory throws an uncaught exception (like an NPE) this brings down
the whole installer tasks and the installer stops working:
java.lang.NullPointerException: null
at
org.apache.sling.installer.factories.configuration.impl.AbstractConfigTask.<init>(AbstractConfigTask.java:58)
at
org.apache.sling.installer.factories.configuration.impl.ConfigInstallTask.<init>(ConfigInstallTask.java:37)
at
org.apache.sling.installer.factories.configuration.impl.ConfigTaskCreator.createTask(ConfigTaskCreator.java:89)
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.getTask(OsgiInstallerImpl.java:674)
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.computeTasks(OsgiInstallerImpl.java:654)
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:283)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)