pub.client:http gives java.lang.NullPointerException on GET requests to https sites


We have run into a problem when using the pub.client.http service and making GET requests to an https resource (eg. The result of the call is an Exception and the following messages (from pub.flow.getLastError):
error: null
errorType: java.lang.NullPointerException
errorDump: java.lang.NullPointerException
service: pub.client.http

Server log is empty.
Error log shows the pub.client.http service with the Error message: null

How we reproduce the problem:

  1. Run pub.client.http with an url the points to an https resource, eg. and the method set to “get”

Does anyone have any insight into what the problem might be? HTTP resources and resources that demands the client to present certificates (using works fine

We are using webMethods IS on a Red Hat Enterprise Linux Server release 7.5 (Maipo) with the following updates:
Build Number: 102

Can you please try to increase Network & Service log (set it to TRACE if it is non-prod) from server logger and replicate the issue?

I have now put the Network Service to trace logging and unfortunately the only thing that is different are these two rows in the server.log:

[975]2018-05-17 16:32:51 CEST [ISC.0064.0015T] Opening Socket
[974]2018-05-17 16:32:51 CEST [ISC.0064.0002T] HTTP Get

All error messages are still null

Thanks for the tip though :slight_smile:

For anyone else getting this “error”, the solution for us was to add the google https ssl cert to our IS truststore

1 Like


You need to set the debug options for SSL to be able to follow the connection errors.

The pub.client.http and others do not return any meaningful error codes or messages on SSL errors.

Best regards,