hi,
when Adaptavist Scriptrunner is started on confluence 7.13.0, it runs into the next exception, if it is monitored by APM 20.2 agent. without APM it's working without any issue.
Exception Details:
Location:
com/onresolve/scriptrunner/runner/GenericsHandlingGroovyScriptEngine.<init>([Ljava/net/URL;)V @385: new
Reason:
Type top (current frame, locals[4]) is not assignable to uninitializedThis (stack map, locals[4])
Current Frame:
bci: @30
flags: { flagThisUninit }
locals: { uninitializedThis, '[Ljava/net/URL;', '[Lorg/codehaus/groovy/runtime/callsite/CallSite;' }
stack: { '[Ljava/lang/Object;', uninitializedThis, integer }
Stackmap Frame:
bci: @385
flags: { flagThisUninit }
locals: { uninitializedThis, '[Ljava/net/URL;', '[Lorg/codehaus/groovy/runtime/callsite/CallSite;', top, uninitialize
dThis, 'com/wily/introscope/agent/trace/IMethodTracer' }
stack: { '[Ljava/lang/Object;', uninitializedThis }
do you have please any idea how to fix it?
PS: adding
CATALINA_OPTS="-Datlassian.org.osgi.framework.bootdelegation=com.wily,com.wily.*,sun.*,org.w3c.*,org.xml.sax.*,org.apache.xerces.*,com.sun.org.apache.xalan.*, org.apache.xml,org.apache.xml.*,javax.xml,javax.xml.*,com.sun,com.sun.*org.apache.xalan,org.apache.xalan.*${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl${CATALINA_OPTS}"
CATALINA_OPTS="-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl${CATALINA_OPTS}"
was tried as well (as it was mentioned for APM 10.7), but in that case tomcat even didnt start because of
Error: Could not find or load main class org.apache.xml,org.apache.xml.*,javax.xml,javax.xml.*,com.sun,com.sun.*org.apache.xalan,org.apache.xalan.*
Caused by: java.lang.ClassNotFoundException: org.apache.xml,org.apache.xml.*,javax.xml,javax.xml.*,com.sun,com.sun.*org.apache.xalan,org.apache.xalan.*
thank you, stefan