NullPointerException seen in the Spectrum OneClick log file
search cancel

NullPointerException seen in the Spectrum OneClick log file

book

Article ID: 193722

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The following NullPointerException is seen in the $SPECROOT/tomcat/logs/stdout.log (Windows) or catalina.out (Linux) file:

19-May-2020 20:19:31.342 SEVERE [https-jsse-nio-2052-exec-18] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
        java.lang.NullPointerException
                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:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.lang.Thread.run(Thread.java:748)

Environment

Release : 10.4.1

Component : Spectrum OneClick

Cause

This error is a known bug in tomcat 9.0.24. Reference https://bz.apache.org/bugzilla/show_bug.cgi?id=63706

They occur when sending an http request to https endpoint.

Resolution

These messages are safe to ignore as they do not cause any issues.

The fix is in tomcat 9.0.25 or above.

There is no supported process for users to upgrade tomcat one their OneClick systems.

This will be addressed in Spectrum 10.4.2 as tomcat will be upgraded.