https://bz.apache.org/bugzilla/show_bug.cgi?id=61781
Bug ID: 61781
Summary: NPE in
PersistentProviderRegistrations.writeProviders() if
layer or app context are null
Product: Tomcat 8
Version: 8.5.23
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
PersistentProviderRegistrations.writeProviders() throws NPE if it tries to
persist a provider with null layer or app context. The NPE is caused by passing
null to Writer.write(). However, it is acceptable for a Provider to have its
layer and/or app context null.
It is allowed by the spec and there is logic which supports this in the
AuthConfigFactoryImpl. So the layer and the app context should be treated as
optional, just as the description is treated.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]