java.lang.VerifyError when using APM 9.7 with Oracle 12c.

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

  Symptoms: 

 When using Oracle 12c with APM, we are getting errors on starting the application server. We see the following error in the application server log:

  ERROR: Server process failed to start due to:
  java.lang.VerifyError: Stack map does not match the one at exception handler 858
  Exception Details:
  Location:
  oracle/security/o5logon/O5Logon.generateOAuthResponse(I[BLjava/lang/String;Ljava/lang/String;[B[B[B[B[IZB[BII[B[I)V @858: dup
  Reason:
  Type top (current frame, locals[0]) is not assignable to 'oracle/security/o5logon/O5Logon' (stack map, locals[0])

 

 Environment:  

 APM 9.7 with Oracle 12c

 

 Cause: 

 Instrumentation of the Oracle O5logon classes in Oracle 12c causes a verify error

 

 Workaround:

 Open the file <AgentHOME>/core/config/jvm.pbd

 And add the following line

 # Oracle

 SkipPackagePrefix: oracle.security.o5logon.

 

  Additional Information:

 This skip clause is already in place for APM release 10.0 and later in file jvm.pbd.

 # Oracle

 SkipPackagePrefix: oracle.security.o5logon.