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

@Theme in multi-module Vaadin 14.6 project breaks Designer #2415

Closed
anssit opened this issue Sep 8, 2021 · 0 comments
Closed

@Theme in multi-module Vaadin 14.6 project breaks Designer #2415

anssit opened this issue Sep 8, 2021 · 0 comments

Comments

@anssit
Copy link
Contributor

anssit commented Sep 8, 2021

Steps to reproduce

  1. Have a multi-module project with a Vaadin 14.6.8 (or above) UI module
  2. Let the main view have the @Theme(Lumo.class) annotation
  3. Open a design

Actual behavior

Designer won't start but throws the following exception instead:

2021-09-06 11:42:00,703 [4314659] ERROR - tor.impl.FileEditorManagerImpl - null
java.lang.NullPointerException
at com.vaadin.designer2.services.flow.PackageJsonUtil.addDevDependencies(PackageJsonUtil.java:44)

Expected behavior

Designer starts without exceptions.

IDE, Designer and OS version

IntelliJ IDEA, Designer 4.6.8, Project vaadin version 14.6.8

@anssit anssit changed the title Theme annotation in Vaadin 14.6 multi-module project makes Designer crash @Theme in multi-module Vaadin 14.6 project breaks Designer Sep 8, 2021
@szolo szolo closed this as completed Oct 19, 2021
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