[
https://issues.apache.org/jira/browse/SLING-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424239#comment-13424239
]
Pontus Amberg commented on SLING-2489:
--------------------------------------
Since terminateVM in org.apache.sling.launchpad.app.Main is static now
org.apache.sling.launchpad.app.ControlListenerTest.MyMain will not compile.
> Updating the framework with system bundle update fails
> ------------------------------------------------------
>
> Key: SLING-2489
> URL: https://issues.apache.org/jira/browse/SLING-2489
> Project: Sling
> Issue Type: Bug
> Components: Launchpad
> Affects Versions: Launchpad Base 2.4.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Launchpad Base 2.4.2
>
>
> The Main.Notified.updated(File) method first calls Main.stopSling to properly
> stop and cleanup after sling's shutdown and the calls Main.startSling to
> install the new framework and launch it.
> The problem is that stopSling sets the launcher field to null and thus
> startSling assuming the launcher field to not be null to fail with a
> NullPointerException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira