- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2019 12:30 PM
Since we updated to London Patch 8 Hot Fix 2, I am intermittently getting a "0" HTTP response code from my outbound REST calls within the instance.
The error returned is "java.lang.NullPointerException". The strangest part is that the normal response is still returned in Outbound HTTP Requests (it shows a normal 200 HTTP response code instead of 0).
Anyone else have sporadic issues with RESTMessageV2 on this release? HI Support hasn't found much so far.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2019 07:35 AM
ServiceNow support had to restart one of our nodes, which fixed this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2019 07:35 AM
ServiceNow support had to restart one of our nodes, which fixed this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2019 09:21 AM
Hi,
While trying to make a REST call using below function:
var r = new sn_ws.RESTMessageV2(<OUR_API_ENDPOINT>, 'get');
r.execute()
throws: java.lang.NullPointerException
NOTE: Above parameters have been made generic for the question purpose but our code uses a proper endpoint which returns JSON responses while using POST UI client.
>> Build Version
-----------------------------------------------------------
Build name: Madrid
Build date: 07-10-2019_1243
Build tag: glide-madrid-12-18-2018__patch4a-07-09-2019
Any help will be higly appreciated.
Best Regards,
Nazhath Mariam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2019 05:52 AM
If it throws it every time, then it's typically an issue with the endpoint. But if it's inconsistent, I'd advise opening a ticket with ServiceNow Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2020 09:11 AM
We had the same issue, but the HI support recommended us to create a new property True/False "com.glide.communications.httpclient.verify_revoked_certificate" and set it to false. That resolved the issue for us.