Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting component name with TabNine #17

Closed
rcoundon opened this issue Feb 2, 2022 · 7 comments
Closed

Conflicting component name with TabNine #17

rcoundon opened this issue Feb 2, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@rcoundon
Copy link

rcoundon commented Feb 2, 2022

When starting up, vite-jetbrains-plugin v0.2.1 throws an error due to a naming collision with TabNine - Running:

WebStorm 2021.3.1
Build #WS-213.6461.79, built on December 28, 2021
Runtime version: 11.0.13+7-b1751.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.balloon.shadow.size=0

Non-Bundled Plugins:
quokka.js (1.0.320)
org.sonarlint.idea (6.4.3.42541)
ru.adelf.idea.dotenv (2022.1)
net.antelle.intellij-xcode-dark-theme (1.2.4)
hu.aradipatrik.nightowlnative (1.1)
com.vecheslav.darculaDarkerTheme (1.2.0)
com.tabnine.TabNine (0.5.15)
com.gmike.visual-studio-2019-dark (1.5.3)
com.andrey4623.rainbowcsv (2.0.1)
tv.twelvetone.intellij.plugins.intellivue (1.1.9)
com.rxliuli.vite-jetbrains-plugin (0.2.1)
izhangzhihao.rainbow.brackets (6.21)
com.chrisrm.idea.MaterialThemeUI (6.13.0)
me.xdrop.night-owl (1.5.9)
com.mallowigi (54.1.0)

java.lang.Throwable: Conflicting component name 'org.intellij.sdk.settings.AppSettingsState': class com.tabnine.userSettings.AppSettingsState and class com.rxliuli.vite.settings.AppSettingsState (componentManager=Application (containerState=COMPONENT_CREATED) )
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
	at com.intellij.configurationStore.ComponentStoreImpl.doAddComponent(ComponentStoreImpl.kt:356)
	at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:115)
	at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:48)
	at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:521)
	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:51)
	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:37)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:60)
	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:595)
	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:569)
	at com.intellij.openapi.client.ClientAwareComponentManager.getFromSelfOrCurrentSession(ClientAwareComponentManager.kt:37)
	at com.intellij.openapi.client.ClientAwareComponentManager.getService(ClientAwareComponentManager.kt:22)
	at com.rxliuli.vite.settings.AppSettingsState$Companion.getInstance(AppSettingsState.kt:37)
	at com.rxliuli.vite.cli.ViteCliProjectGenerator.<init>(ViteCliProjectGenerator.kt:57)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:830)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.instantiateClass(XmlExtensionAdapter.java:99)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter$SimpleConstructorInjectionAdapter.instantiateClass(XmlExtensionAdapter.java:116)
	at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.java:66)
	at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapter(ExtensionPointImpl.java:489)
	at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:437)
	at com.intellij.openapi.extensions.impl.ExtensionPointImpl.computeExtensionList(ExtensionPointImpl.java:249)
	at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensionList(ExtensionPointImpl.java:243)
	at com.intellij.openapi.extensions.ExtensionPointName.getExtensionList(ExtensionPointName.java:39)
	at com.intellij.ide.util.projectWizard.AbstractNewProjectStep$Customization.getProjectGenerators(AbstractNewProjectStep.java:127)
	at com.intellij.ide.util.projectWizard.AbstractNewProjectStep.updateActions(AbstractNewProjectStep.java:84)
	at com.intellij.ide.util.projectWizard.AbstractNewProjectStep.<init>(AbstractNewProjectStep.java:67)
	at com.jetbrains.webstorm.WebStormNewProjectStep.<init>(WebStormNewProjectStep.java:23)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:830)
	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:886)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.instantiate(ActionManagerImpl.java:204)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:189)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:507)
	at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:496)
	at com.intellij.openapi.actionSystem.DefaultActionGroup.unStub(DefaultActionGroup.java:392)
	at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:352)
	at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:331)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreenActionsUtil.collectAllActions(WelcomeScreenActionsUtil.java:36)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreenActionsUtil.collectAllActions(WelcomeScreenActionsUtil.java:38)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreenActionsUtil.collectAllActions(WelcomeScreenActionsUtil.java:38)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreenActionsUtil.splitAndWrapActions(WelcomeScreenActionsUtil.java:169)
	at com.intellij.openapi.wm.impl.welcomeScreen.ProjectsTabFactory$1.createActionsToolbar(ProjectsTabFactory.java:179)
	at com.intellij.openapi.wm.impl.welcomeScreen.ProjectsTabFactory$1.buildComponent(ProjectsTabFactory.java:80)
	at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen$DefaultWelcomeScreenTab.getAssociatedComponent(TabbedWelcomeScreen.java:263)
	at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen$1.create(TabbedWelcomeScreen.java:200)
	at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen$1.create(TabbedWelcomeScreen.java:191)
	at com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:73)
	at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:101)
	at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:86)
	at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen.lambda$new$0(TabbedWelcomeScreen.java:66)
	at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
	at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
	at com.intellij.ui.treeStructure.Tree$MySelectionModel.fireValueChanged(Tree.java:619)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
	at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
	at java.desktop/javax.swing.JTree.setSelectionPaths(JTree.java:1669)
	at java.desktop/javax.swing.JTree.setSelectionRows(JTree.java:1752)
	at java.desktop/javax.swing.JTree.setSelectionRow(JTree.java:1727)
	at com.intellij.util.ui.tree.TreeUtil.lambda$showAndSelect$10(TreeUtil.java:641)
	at com.intellij.util.ui.tree.TreeUtil.showAndSelect(TreeUtil.java:691)
	at com.intellij.util.ui.tree.TreeUtil.showRowCentered(TreeUtil.java:586)
	at com.intellij.util.ui.tree.TreeUtil.showRowCentered(TreeUtil.java:577)
	at com.intellij.util.ui.tree.TreeUtil.showRowCentred(TreeUtil.java:572)
	at com.intellij.util.ui.tree.TreeUtil.selectPath(TreeUtil.java:503)
	at com.intellij.util.ui.tree.TreeUtil.selectPath(TreeUtil.java:488)
	at com.intellij.util.ui.tree.TreeUtil.selectNode(TreeUtil.java:911)
	at com.intellij.openapi.wm.impl.welcomeScreen.TabbedWelcomeScreen.<init>(TabbedWelcomeScreen.java:99)
	at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame.<init>(FlatWelcomeFrame.java:94)
	at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrameProvider.createFrame(FlatWelcomeFrameProvider.java:14)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.lambda$prepareToShow$1(WelcomeFrame.java:178)
	at com.intellij.openapi.extensions.impl.ExtensionProcessingHelper.computeSafeIfAny(ExtensionProcessingHelper.java:56)
	at com.intellij.openapi.extensions.ExtensionPointName.computeSafeIfAny(ExtensionPointName.java:54)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.lambda$prepareToShow$2(WelcomeFrame.java:178)
	at com.intellij.idea.IdeStarter$showWelcomeFrame$1.run(IdeStarter.kt:165)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:214)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:196)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:348)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:82)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:131)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:187)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:891)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:760)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:447)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:818)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:446)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:805)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:492)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
@rxliuli rxliuli added the bug Something isn't working label Feb 2, 2022
@rxliuli rxliuli self-assigned this Feb 2, 2022
@rxliuli
Copy link
Owner

rxliuli commented Feb 2, 2022

It seems to be a bug in the official ide, reference: https://youtrack.jetbrains.com/issue/IDEA-285078

@rxliuli
Copy link
Owner

rxliuli commented Feb 2, 2022

I simply modified the conflicting class name, can you test it?

vite-jetbrains-plugin-0.2.1.zip

@rcoundon
Copy link
Author

rcoundon commented Feb 2, 2022

I'm happy to, I'm evaluating WebStorm as a replacement for VSC so I'm pretty new to it, how do I best deploy the zip file to replace the plugin?

@rxliuli
Copy link
Owner

rxliuli commented Feb 2, 2022

I'm happy to, I'm evaluating WebStorm as a replacement for VSC so I'm pretty new to it, how do I best deploy the zip file to replace the plugin?

image

@rxliuli
Copy link
Owner

rxliuli commented Feb 2, 2022

I simply modified the conflicting class name, can you test it?

vite-jetbrains-plugin-0.2.1.zip

I'll release v0.2.2 later if it's ok

@rcoundon
Copy link
Author

rcoundon commented Feb 2, 2022

Thanks for the tip - that's made the error go away.

@rxliuli
Copy link
Owner

rxliuli commented Feb 2, 2022

github release and official store have been released, it may take two days to review and pass the automatic update

https://plugins.jetbrains.com/plugin/16897-vite-integrated/versions/stable/156150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants