I work on a plugin (Crashlytics) for IntelliJ and recently, we've had a user with issues caused by yourkit. They get an exception that looks like this:
Caused by: java.lang.NoClassDefFoundError: com/yourkit/runtime/Callback
Apparently, something is messing with our plugin code and is trying to call into yourkit, but our plugin has a different classloader, so it causes our plugin not to function as expected. Disabling yourkit resolved this issue. I'm trying to reproduce this to properly diagnose and fix the issue, however, I've been having trouble reproducing the error. It seems that not all versions IntelliJ 13 EAP have yourkit enabled by default. I'm wondering: What are the conditions by which this tool is used by IntelliJ 13? Is there any way I can prevent it from trying to execute code from within my plugin without having the user manually add any flags to their IJ13 runtime environment? (I am assuming that this is some kind of aspect-esque code injection to enable profiling).
Any help would greatly be appreciated!