You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2017/01/27 12:55:24 UTC

[jira] [Created] (SLING-6491) Make RestartActiveBundlesTask#execute more resilient.

Antonio Sanso created SLING-6491:
------------------------------------

             Summary: Make RestartActiveBundlesTask#execute more resilient. 
                 Key: SLING-6491
                 URL: https://issues.apache.org/jira/browse/SLING-6491
             Project: Sling
          Issue Type: Bug
          Components: Installer
            Reporter: Antonio Sanso


RestartActiveBundlesTask#execute could be more resilient. 
See this stacktrace for an example:

{code}
[OsgiInstallerImpl] org.apache.sling.installer.core.impl.OsgiInstallerImpl Uncaught exception during task execution! java.lang.IllegalStateException: Cannot start an uninstalled bundle. 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1953) 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) 	at org.apache.sling.installer.core.impl.tasks.RestartActiveBundlesTask.execute(RestartActiveBundlesTask.java:75) 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.doExecuteTasks(OsgiInstallerImpl.java:855) 	at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:692) 	at 
{code}

patch to follow



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