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

Designer not working with IntelliJ 2024.3 #2472

Open
TatuLund opened this issue Nov 27, 2024 · 1 comment
Open

Designer not working with IntelliJ 2024.3 #2472

TatuLund opened this issue Nov 27, 2024 · 1 comment

Comments

@TatuLund
Copy link

Steps to reproduce

Test with starter project. Follow the updated setup instructions: https://github.com/vaadin/docs/pull/3903/files

Actual behavior

The menu item to create a new design is missing, there is exception in the log

2024-11-26 15:37:18,026 [ 4137] SEVERE - #c.i.s.ComponentManagerImpl - com.vaadin.designer2.intellij.util.DesignerPluginUtil <clinit> requests com.intellij.notification.NotificationGroupManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.2024-11-26 15:37:18,026 [ 4137] SEVERE - #c.i.s.ComponentManagerImpl - com.vaadin.designer2.intellij.util.DesignerPluginUtil <clinit> requests com.intellij.notification.NotificationGroupManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead.java.lang.Throwable: com.vaadin.designer2.intellij.util.DesignerPluginUtil <clinit> requests com.intellij.notification.NotificationGroupManager instance. Class initialization must not depend on services. Consider using instance of the service on-demand instead. at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376) at com.intellij.serviceContainer.ComponentManagerImplKt.checkOutsideClassInitializer(ComponentManagerImpl.kt:1586) at com.intellij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:1555) at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:751) at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:695) at com.intellij.notification.NotificationGroup$Companion.findRegisteredNotificationGroup(NotificationGroup.kt:174) at com.intellij.notification.NotificationGroup$Companion.balloonGroup(NotificationGroup.kt:99) at com.intellij.notification.NotificationGroup.balloonGroup(NotificationGroup.kt) at com.vaadin.designer2.intellij.util.DesignerPluginUtil.<clinit>(DesignerPluginUtil.java:89) at com.vaadin.designer2.intellij.service.IntelliJProject.atLeastV14Module(IntelliJProject.java:94) at com.vaadin.designer2.intellij.service.IntelliJProject.isV14(IntelliJProject.java:286) at com.vaadin.designer2.intellij.service.IntelliJProject.isVaadin14Module(IntelliJProject.java:275) at com.vaadin.designer2.intellij.service.IntelliJProject.isP3Module(IntelliJProject.java:269) at com.vaadin.designer2.intellij.components.ModuleServiceProvider.startModuleServices(ModuleServiceProvider.java:67) at com.vaadin.designer2.intellij.components.ModuleHandler$MyModuleListener.startModuleServices(ModuleHandler.java:130) at com.vaadin.designer2.intellij.components.ModuleHandler$MyModuleListener.moduleAdded(ModuleHandler.java:107) at com.intellij.openapi.project.ModuleListener.modulesAdded(ModuleListener.java:30) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:768) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:712) at com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:533) at com.intellij.util.messages.impl.MessagePublisher.publish$intellij_platform_core(MessageBusImpl.kt:504) at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:481) at jdk.proxy2/jdk.proxy2.$Proxy97.modulesAdded(Unknown Source) at com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleManagerBridgeImpl$Companion.fireModulesAdded(ModuleManagerBridgeImpl.kt:553) at com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleManagerComponentBridge$ModuleManagerInitProjectActivity$run$2.invokeSuspend(ModuleManagerComponentBridge.kt:58) at com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleManagerComponentBridge$ModuleManagerInitProjectActivity$run$2.invoke(ModuleManagerComponentBridge.kt) at com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleManagerComponentBridge$ModuleManagerInitProjectActivity$run$2.invoke(ModuleManagerComponentBridge.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56) at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:48) at com.intellij.workspaceModel.ide.impl.legacyBridge.module.ModuleManagerComponentBridge$ModuleManagerInitProjectActivity.run(ModuleManagerComponentBridge.kt:57) at com.intellij.ide.startup.impl.StartupManagerImpl$runInitProjectActivities$2.invokeSuspend(StartupManagerImpl.kt:226) at com.intellij.ide.startup.impl.StartupManagerImpl$runInitProjectActivities$2.invoke(StartupManagerImpl.kt) at com.intellij.ide.startup.impl.StartupManagerImpl$runInitProjectActivities$2.invoke(StartupManagerImpl.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.ide.startup.impl.StartupManagerImpl.runInitProjectActivities(StartupManagerImpl.kt:225) at com.intellij.ide.startup.impl.StartupManagerImpl.initProject(StartupManagerImpl.kt:159) at com.intellij.openapi.project.impl.ProjectManagerImplKt$runInitProjectActivities$1.invokeSuspend(ProjectManagerImpl.kt:1051) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)2024-11-26 15:37:18,030 [ 4141] SEVERE - #c.i.s.ComponentManagerImpl - IntelliJ IDEA 2024.3 Build #IU-243.21565.1932024-11-26 15:37:18,030 [ 4141] SEVERE - #c.i.s.ComponentManagerImpl - JDK: 21.0.5; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.2024-11-26 15:37:18,030 [ 4141] SEVERE - #c.i.s.ComponentManagerImpl - OS: Mac OS X2024-11-26 15:37:18,031 [ 4142] SEVERE - #c.i.s.ComponentManagerImpl - Plugin to blame: Vaadin Designer version: 4.6.282024-11-26 15:37:18,031 [ 4142] SEVERE - #c.i.s.ComponentManagerImpl - Last Action:

Expected behavior

Expect to see the menu item to create a new design (it works on IntelliJ 2024.1.7)

IDE, Designer and OS version

IntelliJ 2024.3
OSX

@ARCHERS
Copy link

ARCHERS commented Dec 1, 2024

I also encountered this problem for IntelliJ 2024.3 Ultimate. No context menu for new designs plus cannot view any of my old designs in either IntelliJ or the Chrome browser. Problem is there for both Vaadin 23 and Vaadin 24 projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants