What is the meaning/cause of *** java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding” with message transform method call failed?

The message is indeed from JPLISAgent.c:873.

It means your JVM has an agent implementing java.lang.instrument.ClassFileTransformer, and method transform(java.lang.Module, java.lang.ClassLoader, java.lang.String, java.lang.Class<?>, java.security.ProtectionDomain, byte[]) has thrown an exception.

In my case, I had both BlockHound and ByteBuddy (loaded by BlockHound). A StackOverflowError in my code triggered the loading of a new class, then both agents also threw StackOverflowError and didn’t catch it. I created an issue for ByteBuddy, but I’m starting to think only the error reporting in the JDK needs to change.

Since the source of the exception is in Java code, you can attach a debugger and set a breakpoint on thrown StackOverflowError. You’re very likely to find a StackOverflowError in your code or in Jackson first, and you should fix/report that.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)