YiiGuxing/TranslationPlugin

[Auto Generated]Plugin error occurred: class cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9 cannot be cast to class com.intellij.op...

Alexander-Senko opened this issue · 2 comments

⚠️[Auto Generated Report]-=E0C2F55510FBA7E52F88552A5EF69915=-

Description

class cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9 cannot be cast to class com.intellij.openapi.Disposable (cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9 is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @576b04c3; com.intellij.openapi.Disposable is in unnamed module of loader com.intellij.util.lang.PathClassLoader @5a07e868)

Environments

Plugin version: 3.6.6

RubyMine 2024.3 EAP
Build #RM-243.19420.33, built on October 10, 2024
Runtime version: 21.0.4+8-b620.4 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Operating system: Linux 6.8.0-1015-nvidia
Last action id: Rerun

Stack Trace

java.lang.ClassCastException: class cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9 cannot be cast to class com.intellij.openapi.Disposable (cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9 is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @576b04c3; com.intellij.openapi.Disposable is in unnamed module of loader com.intellij.util.lang.PathClassLoader @5a07e868)
	at com.intellij.openapi.util.ObjectTree.lambda$executeAll$1(ObjectTree.java:177)
	at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:110)
	at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:163)
	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:205)
	at com.intellij.openapi.util.Disposer.dispose(Disposer.java:193)
	at cn.yiiguxing.plugin.translate.ui.balloon.BalloonImpl$9.paintCycleEnd(BalloonImpl.java:925)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:101)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:107)
	at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:101)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:679)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:574)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:356)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:355)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1049)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:87)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:915)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1049)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1058)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1058)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:350)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:396)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

This issue has been automatically closed because it is not an issue for this project. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.

This problem is caused by the dynamic loading of the plugin, you need to restart the IDE to solve it.