MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

I will not be able to create any project

Open BlatFan opened this issue 4 months ago • 2 comments

Minecraft Development for IntelliJ plugin version

1.8.6

IntelliJ version

2025.2.1

Operating System

Win 11 64bit

Target platform

No response

Description of the bug

Unhandled exception in [Kernel@pe3a5l7a0i84ht23aeba, Rete(abortOnError=false, commands=capacity=2147483647,data=[onReceive], reteState=kotlinx.coroutines.flow.StateFlowImpl@146ba0ac, dbSource=ReteDbSource(reteState=kotlinx.coroutines.flow.StateFlowImpl@146ba0ac)), DbSourceContextElement(kernel Kernel@pe3a5l7a0i84ht23aeba), ComponentManager(ApplicationImpl@1043712799), com.intellij.codeWithMe.ClientIdContextElementPrecursor@12515264, CoroutineName(com.intellij.ide.actions.NewProjectActionCoroutineScopeHolder), Dispatchers.Default]

java.util.NoSuchElementException: List is empty. at kotlin.collections.CollectionsKt___CollectionsKt.first(_Collections.kt:221) at com.demonwav.mcdev.creator.custom.CustomPlatformStep.initTemplates(CustomPlatformStep.kt:211) at com.demonwav.mcdev.creator.custom.CustomPlatformStep.setupUI(CustomPlatformStep.kt:205) at com.demonwav.mcdev.creator.step.NewProjectWizardChainStep.setupUI(NewProjectWizardChainStep.kt:49) at com.intellij.ide.wizard.NewProjectWizardStepPanel.component_delegate$lambda$3$lambda$1(NewProjectWizardStepPanel.kt:23) at com.intellij.ui.dsl.builder.BuilderKt.panel(builder.kt:19) at com.intellij.ide.wizard.NewProjectWizardStepPanel.component_delegate$lambda$3(NewProjectWizardStepPanel.kt:22) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:86) at com.intellij.ide.wizard.NewProjectWizardStepPanel.getComponent(NewProjectWizardStepPanel.kt:21) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$BridgeStep.getComponent(AbstractNewProjectWizardBuilder.kt:78) at com.intellij.ide.wizard.AbstractNewProjectWizardBuilder$BridgeStep.getComponent(AbstractNewProjectWizardBuilder.kt:68) at com.intellij.ide.projectWizard.ProjectTypeStep.showCustomOptions(ProjectTypeStep.java:514) at com.intellij.ide.projectWizard.ProjectTypeStep.projectTypeChanged(ProjectTypeStep.java:455) at com.intellij.ide.projectWizard.ProjectTypeStep.lambda$new$1(ProjectTypeStep.java:194) at com.intellij.ide.projectWizard.projectTypeStep.ProjectTypeList.whenProjectTemplateGroupSelected$lambda$2(ProjectTypeList.kt:109) at java.desktop/javax.swing.JList.fireSelectionValueChanged(JList.java:1831) at java.desktop/javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1845) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:231) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:206) at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:258) at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:459) at java.desktop/javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:469) at java.desktop/javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:513) at java.desktop/javax.swing.JList.setSelectedIndex(JList.java:2232) at java.desktop/javax.swing.JList.setSelectedValue(JList.java:2389) at com.intellij.ide.projectWizard.projectTypeStep.ProjectTypeList.restoreSelection(ProjectTypeList.kt:125) at com.intellij.ide.projectWizard.ProjectTypeStep.(ProjectTypeStep.java:213) at com.intellij.ide.projectWizard.NewProjectWizard.init(NewProjectWizard.java:41) at com.intellij.ide.projectWizard.NewProjectWizard.(NewProjectWizard.java:32) at com.intellij.ide.actions.NewProjectAction$actionPerformed$1$wizard$1.invokeSuspend(NewProjectAction.kt:57) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100) at com.intellij.openapi.application.impl.EdtCoroutineDispatcher.wrapWithLocking$lambda$3$lambda$2(EdtCoroutineDispatcher.kt:71) at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24) at com.intellij.openapi.application.impl.AppImplKt$rethrowCheckedExceptions$2.invoke(appImpl.kt:106) at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:666) at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:640) at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:633) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1166) at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55) at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23) at com.intellij.openapi.application.impl.EdtCoroutineDispatcher.wrapWithLocking$lambda$3(EdtCoroutineDispatcher.kt:70) at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:42) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:240) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:26) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:222) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43) 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:595) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:488) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:313) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:865) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:312) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:974) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:110) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:974) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:307) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:347) 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) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [Kernel@pe3a5l7a0i84ht23aeba, Rete(abortOnError=false, commands=capacity=2147483647,data=[onReceive], reteState=kotlinx.coroutines.flow.StateFlowImpl@146ba0ac, dbSource=ReteDbSource(reteState=kotlinx.coroutines.flow.StateFlowImpl@146ba0ac)), DbSourceContextElement(kernel Kernel@pe3a5l7a0i84ht23aeba), ComponentManager(ApplicationImpl@1043712799), com.intellij.codeWithMe.ClientIdContextElementPrecursor@12515264, CoroutineName(com.intellij.ide.actions.NewProjectActionCoroutineScopeHolder), StandaloneCoroutine{Cancelled}@1bf76e58, Dispatchers.Default]

BlatFan avatar Sep 13 '25 07:09 BlatFan

Can you tell us more about how that happened ? (Platform, Project, Kotlin?, ...)

tgbhy avatar Sep 16 '25 17:09 tgbhy

Windows Any project (I can't create new project) Java

BlatFan avatar Sep 22 '25 22:09 BlatFan