Query business rule causes NullPointerException error when exporting data from list viewDescriptionQuery business rule causes NullPointerException error when exporting data from list viewSteps to Reproduce 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. Add the following line to this business rule script: gs.action.getGlideURI(); Navigate to incident_list.do. Export this list into any format Note that the logs contain a NullPointerException error. WorkaroundDo not use GlideURI API in a script which is supposed to be executed during export or any background job. <!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #3933ff} -->Related Problem: PRB1038232