After deploying the APM agent, the instrumented application fails with a "java.lang.VerifyError: Expecting a stack map frame" exception.

Document ID : KB000056709
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

After deploying the APM agent, the instrumented application fails at a certain point and the Application Server log file shows this exception:

java.lang.VerifyError: Expecting a stack map frame

 

Solution:

To possibly help overcome this problem, increase the probebuilder jump offset threshold used during the insertion of the instrumentation code.

By default that value is set to 25000, but its maximum can be 32767. 

 

Add this property to the Application Server JVM initialization properties and restart the server. 

-Dcom.wily.introscope.probebuilder.widenJumpOffsetThreshold=32767