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

Project Templates shown from wrong project in IntelliJ #1593

Closed
jojule opened this issue Mar 1, 2018 · 1 comment
Closed

Project Templates shown from wrong project in IntelliJ #1593

jojule opened this issue Mar 1, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@jojule
Copy link

jojule commented Mar 1, 2018

Steps to reproduce

  • Open up Bakery project
  • Open up Base project in a new window
  • Open example-template.html from Base

Actual behavior

Bakery custom elements listed in Designer "Project Templates" Palette in Base project

Expected behavior

Should not list elements from different projects

IDE, Designer and OS version

IntelliJ CE 2017.3, MacOS 10.13.3, Designer 3.0.0a26

screen shot 2018-03-01 at 2 27 45 pm

@jojule
Copy link
Author

jojule commented Mar 1, 2018

Potentially related to this:

Failed to execute task
java.lang.NullPointerException
at com.vaadin.designer2.services.FlowServiceUtil.lambda$getSourceId$0(FlowServiceUtil.java:54)
at com.vaadin.designer2.model.DesignModel.lambda$invokeWithResult$1(DesignModel.java:373)
at com.vaadin.designer2.model.DesignModel.invokeLocked(DesignModel.java:355)
at com.vaadin.designer2.model.DesignModel.lambda$invoke$0(DesignModel.java:344)
at com.vaadin.designer2.model.DesignModel.lockAndInvoke(DesignModel.java:513)
at com.vaadin.designer2.model.DesignModel.invoke(DesignModel.java:344)
at com.vaadin.designer2.model.DesignModel.invokeWithResult(DesignModel.java:373)
at com.vaadin.designer2.services.FlowServiceUtil.getSourceId(FlowServiceUtil.java:52)
at com.vaadin.designer2.services.FlowServiceUtil.reselectAfterRefresh(FlowServiceUtil.java:44)
at com.vaadin.designer2.intellij.editor.flow.FlowEditorBrowserListener.onLoad(FlowEditorBrowserListener.java:52)
at com.vaadin.designer2.browser.EmbeddedJxBrowser$BrowserLoadListener.onFinishLoadingFrame(EmbeddedJxBrowser.java:236)
at com.teamdev.jxbrowser.chromium.z.run(SourceFile:3411)
at com.teamdev.jxbrowser.chromium.internal.r.run(SourceFile:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@ripla ripla added the IntelliJ label Mar 28, 2018
@tanbt tanbt self-assigned this May 14, 2018
@qtdzz qtdzz assigned qtdzz and szolo May 14, 2018
@ripla ripla added the backlog label May 16, 2018
@szolo szolo removed their assignment May 25, 2018
@ripla ripla removed the backlog label Jun 1, 2018
@ripla ripla added this to the 3.0.3 milestone Jun 7, 2018
@ripla ripla closed this as completed Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants