YiiGuxing / TranslationPlugin

Translation plugin for IntelliJ based IDEs/Android Studio.
https://intellij-translation.yiiguxing.top
MIT License
11.33k stars 787 forks source link

[Auto Generated]Plugin error occurred: Main module with cn.yiiguxing.plugin.translate is already added (existingClassPath=[/Users/vn/Librar... #4284

Closed intellij-translation-plugin-bot closed 1 year ago

intellij-translation-plugin-bot commented 1 year ago

:warning:[Auto Generated Report]-=B09D96B182D306E8BD42B008DADBBEE7=-

Description

Main module with cn.yiiguxing.plugin.translate is already added (existingClassPath=[/Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/jsoup-1.16.1.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/mp3spi-1.9.5.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/jlayer-1.0.1.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/commons-dbutils-1.7.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/tritonus-share-0.3.7.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/searchableOptions-3.5.1.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/intellij-idea-compat-0.0.2.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/instrumented-TranslationPlugin-3.5.1.jar] [Plugin: cn.yiiguxing.plugin.translate]

Environments

Plugin version: 3.5.1

GoLand 2023.1.4 Build #GO-231.9225.16, built on July 12, 2023 Runtime version: 17.0.7+10-b829.16 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Operating system: macOS 13.5 Last action id: $Undo

Stack Trace

com.intellij.diagnostic.PluginException: Main module with cn.yiiguxing.plugin.translate is already added (existingClassPath=[/Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/jsoup-1.16.1.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/mp3spi-1.9.5.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/jlayer-1.0.1.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/commons-dbutils-1.7.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/tritonus-share-0.3.7.4.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/searchableOptions-3.5.1.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/intellij-idea-compat-0.0.2.jar, /Users/vn/Library/Application Support/JetBrains/GoLand2023.1/plugins/TranslationPlugin/lib/instrumented-TranslationPlugin-3.5.1.jar] [Plugin: cn.yiiguxing.plugin.translate]
    at com.intellij.ide.plugins.ClassLoaderConfigurator.configureModule(ClassLoaderConfigurator.kt:104)
    at com.intellij.ide.plugins.ClassLoaderConfigurator.configureDependency(ClassLoaderConfigurator.kt:63)
    at com.intellij.ide.plugins.DynamicPluginsKt.optionalDependenciesOnPlugin(DynamicPlugins.kt:1063)
    at com.intellij.ide.plugins.DynamicPluginsKt.access$optionalDependenciesOnPlugin(DynamicPlugins.kt:1)
    at com.intellij.ide.plugins.DynamicPlugins.loadPluginWithoutProgress$lambda$29(DynamicPlugins.kt:859)
    at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:956)
    at com.intellij.ide.plugins.DynamicPlugins.loadPluginWithoutProgress(DynamicPlugins.kt:850)
    at com.intellij.ide.plugins.DynamicPlugins.loadPlugin$lambda$26(DynamicPlugins.kt:822)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173)
    at com.intellij.openapi.progress.util.PotemkinProgress.runInSwingThread(PotemkinProgress.java:150)
    at com.intellij.ide.plugins.DynamicPlugins.loadPlugin(DynamicPlugins.kt:821)
    at com.intellij.ide.plugins.DynamicPlugins$loadPlugins$1.invoke(DynamicPlugins.kt:116)
    at com.intellij.ide.plugins.DynamicPlugins$loadPlugins$1.invoke(DynamicPlugins.kt:115)
    at com.intellij.ide.plugins.DynamicPlugins.updateDescriptorsWithoutRestart(DynamicPlugins.kt:180)
    at com.intellij.ide.plugins.DynamicPlugins.loadPlugins(DynamicPlugins.kt:115)
    at com.intellij.ide.plugins.DynamicPluginEnabler.enable(DynamicPluginEnabler.kt:33)
    at com.intellij.ide.plugins.DynamicPluginEnabler.enable(DynamicPluginEnabler.kt:22)
    at com.intellij.ide.plugins.PluginEnabler.enableById(PluginEnabler.java:46)
    at com.intellij.settingsSync.plugins.CorePluginManagerProxy.enablePlugins(CorePluginManagerProxy.kt:15)
    at com.intellij.settingsSync.plugins.SettingsSyncPluginManager$pushChangesToIde$2.invoke(SettingsSyncPluginManager.kt:165)
    at com.intellij.settingsSync.plugins.SettingsSyncPluginManager$pushChangesToIde$2.invoke(SettingsSyncPluginManager.kt:163)
    at com.intellij.openapi.application.ActionsKt.invokeAndWaitIfNeeded$lambda$4(actions.kt:41)
    at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
    at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
    at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:829)
    at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454)
    at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:101)
    at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
    at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
    at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
    at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758)
    at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:667)
    at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:571)
    at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1444)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:571)
    at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
    at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
    at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:995)
    at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:995)
    at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:829)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
    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)
github-actions[bot] commented 1 year ago

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.

github-actions[bot] commented 1 year ago

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