Gel Script Errors After Upgrade "Missing or invalid XML" and java.lang.NullPointerException
search cancel

Gel Script Errors After Upgrade "Missing or invalid XML" and java.lang.NullPointerException

book

Article ID: 244890

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

After upgrade, all GEL scripts are failing with error: 

ERROR 2022-06-24 12:12:55,415 [Custom script execution pool-138-thread-5] utilities.BpmErrors (clarity:admin:15799304__E90A7A6E-C801-4547-B49F-7A1A14F69FBC:none) BpmErrors::getExceptionTrace(String arg) =>
com.niku.union.utility.MessageKeyException: BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:104:68: <gel:set> Missing or invalid XML
Caused by: java.lang.NullPointerException
Root cause
java.lang.NullPointerException

Note: this solution is only valid for Missing or invalid XML Caused by: java.lang.NullPointerException when the variable not returning is for the XOG endpoint. This may be caused by another root cause if not all conditions are what you are seeing

Environment

Release : Any

Cause

This is an issue with one of the variables called on this upgraded environment it is returning null. Upon reviewing the XOG script, the XOG endpoint=internal is the one called

Resolution

  1. Ensure the the values for HTTP Entry URL, HTTPS entry URL and Scheduler URL are set correctly in CSA
  2. Restart the services and try again