After upgrading to Applications Manager version 9.6 or above, RA Business Object Jobs abort with the below error:
groovy.lang.MissingPropertyException: No such property: length for class: java.lang.StringBuilder
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:66)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setProperty(ScriptBytecodeAdapter.java:499)
at Default.runJob(BusinessObjects.groovy:1321)
at com.uc4.extensibility.types.CITAgent.dispatchJob(CITAgent.java:257)
at com.appworx.agent.extensibleagent.A$_A$1.A(GenericExtensibleAgent.java:759)
at com.appworx.automic.ra.extensibility.container.D.doRun(CITWorker.java:100)
at com.uc4.be.threading.AbstractWorker.run(AbstractWorker.java:367)
at java.base/java.lang.Thread.run(Thread.java:840)
This is occurring ONLY when the Business Object Job has prompts. Jobs that doe not have any prompts run successfully.
Applications Manage 9.5+
groovy related library required an update due to Java changes
Upgrade RA Business Object Agent to a fixed version when available. A fixed version number will be added to this article once available.
Workaround:
Download and upgrade to the attached RA Business Object dev build (RA.BusinessObjects_RA.BusinessObjects.Solution.NoWeb_4_3_7+build.1765568795946.zip).