Problem with debug run configuration

Hi all,

I've been adding run configurations to my plugin, and I'm having a strange problem with running them in debug mode. When I run in a debug configuration, I get the following errors:

sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SACoreAttachingConnector not found
sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SADebugServerAttachingConnector not found
sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SAPIDAttachingConnector not found

I assume this means that there's something wrong with my classpath, but I have no idea what. I'm using a pretty standard JavaCommandLineState and I can't see where any of the other configs are doing anything special for debugging. Any ideas?

Comment actions Permalink

Hi Colin,

Are you starting IDEA with the native launcher? If so, please try the batch script from the "bin" directory. Does it make any difference?


Comment actions Permalink

Hi Eugene,

I normally see this when I'm running the IDE in debug mode, i.e. when I've run a sandbox copy of IntelliJ with my plugin installed. I do this by invoking com.intellij.idea.Main as described here: However even in that mode I don't see these messages for e.g. an application configuration, only for my config.


Please sign in to leave a comment.