[
https://issues.apache.org/jira/browse/FELIX-6823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18079680#comment-18079680
]
Roy Teeuwen commented on FELIX-6823:
------------------------------------
[~frm] [~paulrutter] there are even more cases where it goes wrong, see my PR
in [https://github.com/apache/felix-dev/pull/503]
Didn't see there was already a ticket for this ;)
> Fix unrecoverable Jetty state after NPE in WhiteboardManager shutdown
> ---------------------------------------------------------------------
>
> Key: FELIX-6823
> URL: https://issues.apache.org/jira/browse/FELIX-6823
> Project: Felix
> Issue Type: Bug
> Components: HTTP Service
> Reporter: Francesco Mari
> Priority: Major
> Fix For: http.jetty12-1.1.10, http.base-5.1.18, http.jetty-5.2.2
>
>
> A _NullPointerException_ in {{WhiteboardManager.deactivate()}} during a
> configuration-triggered Jetty restart aborts the shutdown sequence. Because
> {{stopJetty()}} and {{updated()}} have no exception handling,
> {{startJetty()}} is never called — the server keeps running with a corrupted
> {{WhiteboardManager}}, all subsequent servlet registrations fail with
> {{IndexOutOfBoundsException}}, and the system is permanently unusable until
> the JVM is restarted.
> See https://github.com/apache/felix-dev/pull/481.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)