Open Kortanul opened 5 years ago
This is really dumb... ROFL. The reason for the NPE is that the initialization of the Locale
class fails while AM is in the process of initializing logging... so it tries to use the thing it just failed to initialize to log the error.
In short, the debug provider is null
, so it tries to log an error using the Locale
, which depends on the provider not being null
for logging...
Affected Versions
sustaining/13.5.x
, at 772b7a7)Summary
If you specify a custom class name for
com.sun.identity.util.debug.provider
when running Tomcat, and that class name is invalid, AM fails to start with an NPE instead of recovering gracefully.Steps to Reproduce
CATALINA_OPTS
for AM to include the following:webapps
folder.Expected Results
Actual Results