zowe / sample-spring-boot-api-service

Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Other
26 stars 18 forks source link

java.lang.NullPointerException: null when HTTP protocol is used instead of HTTPS #54

Open plavjanik opened 4 years ago

plavjanik commented 4 years ago

Steps:

  1. Use http protocol to connect
  2. Following message is displayed:
2019-10-05 15:59:06.400 <ZWEASA1:https-jsse-nio-0.0.0.0-20081-exec-1:33620312> SDKBLD1 (org.apache.coyote.http11.Http11NioProtocol:175) ERROR Error reading request, ignored
java.lang.NullPointerException: null
        at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.getSslSupport(NioEndpoint.java:1392)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1593)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:811)

Expected behavior:

github-actions[bot] commented 4 years ago

This issue has not been updated in a long time.