Skip to content

v2.3.2 not compatible with vaadin 14.9.x #22

@GrandyB

Description

@GrandyB

We recently updated to 14.9.2, and seeing the following error when an autocomplete is being instantiated.

2022-12-20T09:20:24.465Z java.lang.IllegalStateException: Couldn't find the definition of the element with tag 'vcf-autocomplete' in any template file declared using '@JsModule' annotations. Check the availability of the template files in your WAR file or provide alternative implementation of the method getTemplateContent() which should return an element representing the content of the template file
	at com.vaadin.flow.component.polymertemplate.NpmTemplateParser.getTemplateContent(NpmTemplateParser.java:151)
	at com.vaadin.flow.component.polymertemplate.TemplateDataAnalyzer.parseTemplate(TemplateDataAnalyzer.java:223)
	at com.vaadin.flow.component.polymertemplate.TemplateInitializer.<init>(TemplateInitializer.java:96)
	at com.vaadin.flow.component.polymertemplate.PolymerTemplate.<init>(PolymerTemplate.java:91)
	at com.vaadin.flow.component.polymertemplate.PolymerTemplate.<init>(PolymerTemplate.java:106)
	at com.vaadin.componentfactory.Autocomplete.<init>(Autocomplete.java:66)
	at com.vaadin.componentfactory.Autocomplete.<init>(Autocomplete.java:77)

It's not a rebuild issue as far as we can see; happens through our jenkins deployments as well.

Markus from Vaadin attempted to add it to his 14.9.3 project and had the same error, suggesting that autocomplete might be currently broken/incompatible with 14.9.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions