https://bz.apache.org/bugzilla/show_bug.cgi?id=61668
Bug ID: 61668
Summary: Possible NullPointerException in
org.apache.coyote.http11.AbstractHttp11Protocol
Product: Tomcat 8
Version: 8.5.23
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
There are possible NullPointerException-s in
org.apache.coyote.http11.AbstractHttp11Protocol's getSSLProtocol() and
getSslEnabledProtocols() methods. In both methods if the SSL host configuration
does not contain an "enabledProtocols" configuration the following line causes
NPE:
StringUtils.join(this.defaultSSLHostConfig.getEnabledProtocols())
Easy repro step is running the following code:
public static void main(String[] args) {
Http11Nio2Protocol protocol = new Http11Nio2Protocol();
protocol.getSSLProtocol();
}
--
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]