在Intellij Idea中启动Vaadin Designer的问题

发布于 2025-01-21 00:07:07 字数 3367 浏览 0 评论 0原文

尝试在Intellij Idea(2021.3.3)中启动Vaadin Designer插件。

但是当我尝试创建新的vaadin 10+设计时 通过

我得到了一个灰色窗口”请等待,加载视图...“

在想法中有一个警告:

OS:Macos Monterey 12.3

2022-04-13 14:32:14,146 [ 286697]   WARN - nSystem.impl.ActionToolbarImpl - 'VaadinEditorLeftmostToolbar' toolbar by default uses any focused component to update its actions. Toolbar actions that need local UI context would be incorrectly disabled. Please call toolbar.setTargetComponent() explicitly. 
java.lang.Throwable: toolbar creation trace
    at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.<init>(ActionToolbarImpl.java:115)
    at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:425)
    at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:420)
    at com.vaadin.designer2.intellij.editor.CommonToolbarActionsProvider.getActionsToolbar(CommonToolbarActionsProvider.java:79)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.createToolbarGroup(VaadinDesignWebEditor.java:707)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.createToolbar(VaadinDesignWebEditor.java:661)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.<init>(VaadinDesignWebEditor.java:229)
    at com.vaadin.designer2.intellij.editor.flow.FlowEditorProvider.createAndConfigureEditor(FlowEditorProvider.java:127)
    at com.vaadin.designer2.intellij.editor.flow.P3FileEditorProvider.createAndConfigureEditor(P3FileEditorProvider.java:94)
    at com.vaadin.designer2.intellij.editor.AbstractDesignerEditorProvider.createEditor(AbstractDesignerEditorProvider.java:54)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:1004)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:976)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1793)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:975)
    at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:437)
    at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:455)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:972)
    at com.jetbrains.rdserver.fileEditors.BackendServerFileEditorManager.openFileImpl4(BackendServerFileEditorManager.kt:43)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl2$14(FileEditorManagerImpl.java:898)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)
....

我在做什么错?

Trying to start a Vaadin designer plugin in IntelliJ Idea (2021.3.3).

But when i trying to create new Vaadin 10+ design
via enter image description here

I'm getting a gray window "Please wait, loading view..."

In IDEA there is a WARN:

OS: MacOS Monterey 12.3

2022-04-13 14:32:14,146 [ 286697]   WARN - nSystem.impl.ActionToolbarImpl - 'VaadinEditorLeftmostToolbar' toolbar by default uses any focused component to update its actions. Toolbar actions that need local UI context would be incorrectly disabled. Please call toolbar.setTargetComponent() explicitly. 
java.lang.Throwable: toolbar creation trace
    at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.<init>(ActionToolbarImpl.java:115)
    at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:425)
    at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.createActionToolbar(ActionManagerImpl.java:420)
    at com.vaadin.designer2.intellij.editor.CommonToolbarActionsProvider.getActionsToolbar(CommonToolbarActionsProvider.java:79)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.createToolbarGroup(VaadinDesignWebEditor.java:707)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.createToolbar(VaadinDesignWebEditor.java:661)
    at com.vaadin.designer2.intellij.editor.VaadinDesignWebEditor.<init>(VaadinDesignWebEditor.java:229)
    at com.vaadin.designer2.intellij.editor.flow.FlowEditorProvider.createAndConfigureEditor(FlowEditorProvider.java:127)
    at com.vaadin.designer2.intellij.editor.flow.P3FileEditorProvider.createAndConfigureEditor(P3FileEditorProvider.java:94)
    at com.vaadin.designer2.intellij.editor.AbstractDesignerEditorProvider.createEditor(AbstractDesignerEditorProvider.java:54)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4Edt(FileEditorManagerImpl.java:1004)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$17(FileEditorManagerImpl.java:976)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.runBulkTabChange(FileEditorManagerImpl.java:1793)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl4$18(FileEditorManagerImpl.java:975)
    at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:437)
    at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:455)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4(FileEditorManagerImpl.java:972)
    at com.jetbrains.rdserver.fileEditors.BackendServerFileEditorManager.openFileImpl4(BackendServerFileEditorManager.kt:43)
    at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.lambda$openFileImpl2$14(FileEditorManagerImpl.java:898)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)
    at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)
....

What am I doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧街凉风 2025-01-28 00:07:07

虽然这还不是解决方案(尚未解决),但设计师团队似乎意识到了这个问题: https: //github.com/vaadin/designer/issues/2435 并在此工作。您是否尝试过最新版本4.6.17版?

我认为这是与新MAC一起打ic的众多程序之一。

While this is no solution (yet), the designer team seems to be aware of this issue: https://github.com/vaadin/designer/issues/2435 and working on it. Have you tried with the latest (as of writing) version 4.6.17?

I presume it is one of the many programs having hiccups with the new macs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文