41 views

Description

NullPointerException when sending SOAP request with an inexistent field and the com.glide.import_set.column_resize property is set to true.

Steps to Reproduce

  1. Create the com.glide.import_set.column_resize property
  2. Set it to true.
  3. Craft an insert SOAP request containing a field that does not exist in the table.
    Example:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:imp="http://www.service-now.com/imp_location">
    <soapenv:Header/>
    <soapenv:Body>
    <imp:insert>
    <city>city</city>
    <fake>fake</fake>
    </imp:insert>
    </soapenv:Body>
    </soapenv:Envelope>
  4. Send the request with basic authentication.

    The response has a status code of 500 Internal Server Error and the body contains:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring>
    <detail>java.lang.NullPointerException</detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

Workaround

Turn off the com.glide.import_set.column_resize property.


Related Problem: PRB1196790

Seen In

There is no data to report.

Intended Fix Version

London

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-28 17:08:01
Published:2017-10-24