Hello! When running desktop version of compose and...
# compose-desktop
p
Hello! When running desktop version of compose and making first right click on text field, message logged:
Copy code
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
what does it means?
đź‘€ 1
m
I have observed the same issue and just verified that it only happens when I have previously copied some source code into the clipboard as @mikehearn suggested. It shows immediately though for me after launching the application, i.e., I don’t have to click into a text field.
Copy code
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
Exception "java.lang.ClassNotFoundException: org/jetbrains/kotlin/idea/codeInsight/BasicKotlinReferenceTransferableData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=org.jetbrains.kotlin.idea.codeInsight.BasicKotlinReferenceTransferableData
Exception "java.lang.ClassNotFoundException: org/jetbrains/kotlin/idea/codeInsight/BasicKotlinReferenceTransferableData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=org.jetbrains.kotlin.idea.codeInsight.BasicKotlinReferenceTransferableData
m
Frankly it smells like a bug. What is
application/x-java-jvm-local-objectref
, that sounds like some kind of generic serialized object stream? is this some intellij thing or a general piece of infrastructure.
at any rate, Compose Desktop shouldn't be trying to load arbitrary classes without even a paste operation.
k
The thing is, once it started happening a couple weeks ago, it never goes away. It now happens on every launch of any Compose desktop app, in IDEA or in terminal. Even when the Finder clipboard shows up empty.
m
Feels like maybe some IDEA utility libs got pulled into compose by mistake
s
I think it's clipboard metadata
127 Views