18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Exception in thread "Keep-Alive-SocketCleaner" java.lang.NullPointerEx

santoshmishra28santoshmishra28 Members
edited November -1 in Sahi - Open Source

SAHI_HOME: ..\..
SAHI_USERDATA_DIR: ..
SAHI_EXT_CLASS_PATH:
Sahi properties file = C:\sahi\config\sahi.properties
Sahi user properties file = C:\sahi\userdata\config\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Cont
roller
>>>>>> Tests size = 1
#### Running Script: C:\sahi\userdata\scripts\aap\AAPLogin.sah
tempVarName=\$txt
tempVarName=\$txt
tempVarName=\$txt
tempVarName=\$txt
"C:\Program Files\Internet Explorer\iexplore.exe" "http://sahi.example.com/_s_/
dyn/Player_auto?file=C%3A%5Csahi%5Cuserdata%5Cscripts%5Caap%5CAAPLogin.sah__Sahi
AmpersandSahi__startUrl=http%3A%2F%2Fshop.advanceautoparts.com%2Fwebapp%2Fwcs%2F
stores%2Fservlet%2Fhome_____SahiAmpersandSahi__sahisid=sahi_610c87c50ea7d049180b
b1d0e2c5abbfbfe1sahixa25abcfc0a10704b790b92908dd52c1b529dx"
PIDs: [3236]; 1443 ms
Rhino lib:Step >_sahi._click(_sahi._link("Sign In / Create Account"));< did not
complete in 130 seconds.
Killing C:\sahi\userdata\scripts\aap\AAPLogin.sah
Kill: [3236]
Shutting down ...
Exception in thread "Keep-Alive-SocketCleaner" java.lang.NullPointerException
at com.sun.net.ssl.internal.ssl.SSLSessionContextImpl.remove(Unknown Sou
rce)
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.invalidate(Unknown Source
)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown So
urce)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown So
urce)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.skip(Unknown Source)
at java.io.BufferedInputStream.skip(Unknown Source)
at sun.net.www.MeteredStream.skip(Unknown Source)
at sun.net.www.http.KeepAliveStreamCleaner.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I am getting this error when running my suite file using my batch file. Could you please provide me some solution to the same ...?

Comments

  • narayannarayan Administrators
    Not sure about that exception, but looks like the proxy is not set on the browser. Could you check that the proxy is configured on the browser when you run the tests?
Sign In or Register to comment.