java.lang.NullPointerException in Mid Server Logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 02:21 AM
Hi Team,
Recently, i facing below error from Mid Server Logs. Can you please help me know how to resolve it?
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.replaceNode(ConcurrentHashMap.java:1106)
at java.util.concurrent.ConcurrentHashMap.remove(ConcurrentHashMap.java:1097)
at org.cometd.common.AbstractClientSession.unregisterSubscriber(AbstractClientSession.java:291)
at org.cometd.common.AbstractClientSession.receive(AbstractClientSession.java:215)
at org.cometd.client.BayeuxClient.failMessage(BayeuxClient.java:990)
at org.cometd.client.BayeuxClient.failMessages(BayeuxClient.java:965)
at org.cometd.client.BayeuxClient.terminate(BayeuxClient.java:894)
at org.cometd.client.BayeuxClient$DisconnectedState.execute(BayeuxClient.java:1507)
at org.cometd.client.BayeuxClient.updateBayeuxClientState(BayeuxClient.java:1082)
at org.cometd.client.BayeuxClient.disconnect(BayeuxClient.java:520)
at org.cometd.client.BayeuxClient.disconnect(BayeuxClient.java:515)
at org.cometd.client.BayeuxClient.disconnect(BayeuxClient.java:567)
at com.snc.glide.amb.AMBClient.disconnectBayeux(AMBClient.java:177)
at com.snc.glide.amb.AMBClient.disconnect(AMBClient.java:149)
at com.service_now.mid.amb.AMBClientProvider.disconnect(AMBClientProvider.java:149)
at com.service_now.mid.amb.AMBClientProvider.connect(AMBClientProvider.java:134)
at com.service_now.mid.amb.AMBClientProvider.executeInLock(AMBClientProvider.java:165)
at com.service_now.mid.amb.AMBClientProvider.lambda$initialize$15(AMBClientProvider.java:48)
at java.lang.Thread.run(Thread.java:745)
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2017 07:25 AM
Hi Suresh,
The null pointer exception is thrown when a code attempts to use null in a case where an object is required. Try adding debug statements in your mid server script include and check at which point is breaking.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2017 03:45 AM
Hi Suresh,
Any update on this? Can you mark my answer as correct, helpful and hit like if you were able to achieve your requirement. This helps in removing this question from unanswered list and helps others to search similar question quicker. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 01:42 AM
Hi Suresh,
Any update on this?
Can you mark my answer as correct, helpful and hit like if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2018 12:34 PM
Hi Ankur We recently implemented CMDB and Discovery into ServiceNow. The midservers are used by discovery and other integration processes. Our The server teams will support the actual servers, but there are software components, such as Java. does ServiceNow upgrade Java or the mid server software