Issue
Variable Editor is not showing on the RITM form. Cannot launch the context menu and clicking the reference fields does not do anything. The form is broken
Release
Any
Cause
The variable dictionary entry on task table was customized
Below error can be found in logs:
2019-08-14 15:43:58 (433) Default-thread-21 9A1A9F8DDB1B3FC0C52D273605961905 txid=ba6bdf05db5b SEVERE *** ERROR *** null:3672:79: <g2:render_component> com.glide.script.GlideElement cannot be cast to
com.glide.script.IGlideElementVariables
java.lang.ClassCastException: com.glide.script.GlideElement cannot be cast to com.glide.script.IGlideElementVariables
at com.glideapp.servicecatalog.variables.VEditor.fetch(VEditor.java:51)
at com.glideapp.questionset.AbstractQuestionEditor.render(AbstractQuestionEditor.java:71)
at com.glide.ui.jelly.tags.mergedata.RenderComponent2.doTag(RenderComponent2.java:28)
at org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:66)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
at com.glide.ui.jelly.tags.FileinfoTag2.doTag(FileinfoTag2.java:44)
at org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:66)
at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:66)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
at com.glide.ui.jelly.tags.FileinfoTag2.doTag(FileinfoTag2.java:44)
at org.apache.commons.jelly.impl.CustomTagScript.run(CustomTagScript.java:205)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:146)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:235)
at com.glide.ui.jelly.tags.FileinfoTag2.doTag(FileinfoTag2.java:44)
Resolution
The dictionary entry of the field variables on the task table was customized:
https://<instance-name>.service-now.com/nav_to.do?uri=sys_dictionary.do?sys_id=abf1c7b44f874a401c27afdd0210c70b
Revert the record to its out-of-box (OOB) version
Test again by reloading the Requested Item (RITM) form