270 views

Description

Query business rule causes NullPointerException error when exporting data from list view

Steps to Reproduce

 

  1. Go to incident_list.do and add a Query business rule to the incident table .

    For more information, see the product documentation topic Creating a business rule.

  2. Add the following line to this business rule script:

    gs.action.getGlideURI();

  3. Navigate to incident_list.do.

  4. Export this list into any format

    Note that the logs contain a NullPointerException error.

Workaround

Do not use GlideURI API in a script which is supposed to be executed during export or any background job.


Related Problem: PRB1038232

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-01-02 07:40:47
Published:2017-06-16