Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
System property glide.soap.omit_null_values = true causes discovery failures - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • System property glide.soap.omit_null_values = true causes discovery failures
KB0683892

System property glide.soap.omit_null_values = true causes discovery failures


679 Views Last updated : Apr 7, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When a MID Server submits a database query to the instance and the system property glide.soap.omit_null_values is set to true (default setting is false), then by design the instance omits information about empty fields in the SOAP payload sent back to the MID Server. This causes discovery to fail.

Steps to Reproduce

  1. Set the system property glide.soap.omit_null_values to true.

    If this system property is not present, add it. For more information, see the product documentation topic Add system properties.

  2. Run a discovery (or just a probe) that uses sudo via SSHCommand probe.

    The Discovery log will contains one of the following messages:

    • UnknownException + stack trace, with a NullPointerException + stack trace nested inside UnknownException
    • SSHCommand: null with no exception information

 

 

Workaround

Set the system property glide.soap.omit_null_values to false or remove it.  This property is not present out-of-box; the property value defaults to false.


Related Problem: PRB1250516

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.