Yesterday I was debugging a Java application with Netbeans. (i.e. the application was running with the debugger attached) At the same time I was working with IntelliJ on a Rails application.
I noticed two strange messages in the Netbeans debug output window:
Exception "java.lang.ClassNotFoundException:
com.intellij.codeInsight.editorActions.FoldingTransferableData$FoldingData"
while constructing DataFlavor for: application/x-java-jvm-local-objectref;
class=com.intellij.codeInsight.editorActions.FoldingTransferableData$FoldingData
and
Exception "java.lang.ClassNotFoundException:
com.intellij.codeInsight.editorActions.ReferenceTransferableData$ReferenceData"
while constructing DataFlavor for: application/x-java-jvm-local-objectref;
class=com.intellij.codeInsight.editorActions.ReferenceTransferableData$ReferenceData
Just out of curiosity: What was happening here?
If it matters: I'm using Netbeans 7.0.1 and IntelliJ 10.5.2 (Evaluation) with the Ruby plugin.
Terminate a debugger sessionClick the Stop button in the Debug tool window. Alternatively, press Ctrl+F2 and select the process to terminate (if there are two or more of them).
During a debugging session, you launch your program with the debugger attached to it. The purpose of the debugger is to interfere with the program execution and provide you with the information on what's happening under the hood. This facilitates the process of detecting and fixing bugs in your program.
If you press and hold the Ctrl / ⌘ button while dragging the arrow, the IDE will highlight all the lines in green. When you drop the arrow, you won't jump to the line of code. Instead, the IDE will act as if you have used the Run to Cursor (⌥F9) action.
To solve this, simply remove the jar of the debugged module from all modules' dependencies in the Project Structure. If you do not know which modules have the debugged module jar as dependencies, you can use some tools (Eg. Sublime Text, bash, ...) to search for the module name which is stored in Intellij *.
This is a serialized object put in the clipboard by IntelliJ (Transferable is for clipboard operations) that is unknown to Netbeans. Nothing to worry about.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With