Notifications

205 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.

Fixed In

London

Associated Community Threads

There is no data to report.

Article Information

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