Azn9 / JetBrains-Discord-Integration

Discord rich presence integration for all JetBrains IDEs
Apache License 2.0
156 stars 10 forks source link

[Bug]: java.lang.Throwable: Conflicting component name 'DiscordApplicationSettings': class com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.impl.ApplicationSettingsImpl and class dev.azn9.plugins.discord.settings.impl.ApplicationSettingsImpl (componentManager=null) #202

Closed JDI-Bot closed 2 months ago

JDI-Bot commented 2 months ago

IDE version

IntelliJ IDEA 2023.2.6 (IC-232.10300.40)

OS

Windows

Java version

17.0.10

Plugin version

2.1.1.232

Error message

java.lang.Throwable: Conflicting component name 'DiscordApplicationSettings': class com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.impl.ApplicationSettingsImpl and class dev.azn9.plugins.discord.settings.impl.ApplicationSettingsImpl (componentManager=null)

Additional info

/

Stack trace

java.lang.Throwable: Conflicting component name 'DiscordApplicationSettings': class com.almightyalpaca.jetbrains.plugins.discord.plugin.settings.impl.ApplicationSettingsImpl and class dev.azn9.plugins.discord.settings.impl.ApplicationSettingsImpl (componentManager=null)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:370)
    at com.intellij.configurationStore.ComponentStoreImpl.registerComponent(ComponentStoreImpl.kt:396)
    at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:131)
    at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:48)
    at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:577)
    at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
    at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:43)
    at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:158)
    at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:137)
    at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:94)
    at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:676)
    at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:630)
    at dev.azn9.plugins.discord.settings.ApplicationSettingsKt.getSettings(ApplicationSettings.kt:87)
    at dev.azn9.plugins.discord.time.TimeService.load(TimeServiceAbstract.kt:131)
    at dev.azn9.plugins.discord.postLoad.TimePreloadingActivity$execute$2.invokeSuspend(TimePreloadingActivity.kt:34)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Issue hash: 28759d21e1364184986e7c163bf55c16

Azn9 commented 2 months ago

Uninstall Alpaca 's old plugin+ update the plugin