NullPointerException in JettyServerWrapper.configureSessionManager because SessionIdManager is not initialized

Description

After upgrade from Pax-Web 4.4.1 to 7.2.3 I have a NullPointerException in JettyServerWrapper.configureSessionManager.

I am using Servlet service registration. It looks like SessionIdManager is not initialized? In the previous versions of PaxWeb there was a lazy initialization of SessionIdManager in configureSessionManager method (when workerName != null). It was changed in commit 7b030007fbaa1181f195e0d1ce3eec981e82715d during upgrade to Jetty 9.4 (PAXWEB-1095).

What is a proper way to use this now for my use case? Should I initialize this SessionIdManager myself?

Environment

None

Assignee

Grzegorz Grzybek

Reporter

Daniel Stoch

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure