IBM Support

VerifyError in JNI when running Java JVMTI execution analysis profiling with certain Java versions

Troubleshooting


Problem

When running Java JVMTI execution analysis profiling, with Java 7 or 8 JDK (that is released after January 2017), you might get a Java VerifyError exception in JNI, which causes no execution analysis profiling data to display.

Symptom

When running Java JVMTI execution analysis profiling, with Java 7 or 8 JDK (that is released after January 2017), you are unable to display execution analysis profiling data and will see this error:

"Error: A JNI error has occurred".

This is an example of the stack trace:

Exception in thread "main" java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=test/StartStop, method=<init>()V, pc=16
at java.lang.J9VMInternals.prepareClassImpl(Native Method)
at java.lang.J9VMInternals.prepare(J9VMInternals.java:291)
at java.lang.Class.getMethod(Class.java:1216)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:556)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:538)

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Profiling \/ Performance Analysis","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.5.1;8.5.5;8.5.5.1;8.5.5.2;8.5.5.3;9.0;9.0.1;9.0.1.1;9.0.1.2;9.1;9.1.0.1;9.1.1;9.1.1.1;9.1.1.2;9.5;9.5.0.1;9.5.0.2;9.6","Edition":"All Editions","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"8.5;8.5.1;8.5.5;8.5.5.1;8.5.5.2;8.5.5.3;8.5.5.4;9.0;9.0.0.1;9.1;9.1.1;9.1.2;9.1.2.1;9.1.2.2;9.5.0.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"9.0.1;9.1;9.1.1;9.1.1.1;9.5;9.5.0.1;9.5.0.2;9.5.0.3;9.5.1;9.5.1.1;9.5.1.2","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}},{"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"9.0;9.0.0.1;9.0.1;9.0.1.1;9.0.1.2;9.0.1.3;9.0.1.4;9.0.1.5;9.1;9.1.1;9.1.1.1;9.1.1.2;9.1.1.3;9.1.1.4;9.1.1.5;9.5;9.5.1;9.5.1.1;9.5.1.2;9.5.1.3;9.5.1.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Product":{"code":"SSJK49","label":"IBM Developer for z Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"14.0.0;14.0.0.1;14.0.0.2;14.0.0.3;14.0.0.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Product":{"code":"SS4QVT","label":"Rational Developer for Power Systems Software"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"8.5;8.5.1;8.5.1.1;8.5.1.2;9.0;9.0.1;9.0.1.1;9.0.1.2;9.1;9.1.1;9.1.1.1;9.5;9.5.0.1;9.5.1","Edition":"","Line of Business":{"code":"LOB70","label":"Z TPS"}},{"Product":{"code":"SSPSQF","label":"Rational Developer for AIX and Linux"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"9.0.1;9.1.1.4","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}},{"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"9.1.2;9.1.2.1;9.1.2.2;9.5.0.2;9.6","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}},{"Product":{"code":"SSTLXK","label":"IBM Integration Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"8.5.7;8.5.6;8.5.5;8.5.0.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
Rational Application Developer for WebSphere Software

Software version:
8.5, 8.5.1, 8.5.5, 8.5.5.1, 8.5.5.2, 8.5.5.3, 9.0, 9.0.1, 9.0.1.1, 9.0.1.2, 9.1, 9.1.0.1, 9.1.1, 9.1.1.1, 9.1.1.2, 9.5, 9.5.0.1, 9.5.0.2, 9.6

Operating system(s):
Linux, Windows

Document number:
558509

Modified date:
27 October 2020

UID

swg22001889

Manage My Notification Subscriptions