IllegalArgumentException: There is no facet for XML tag dynamicAttributes

Jmix version: 1.2.1
Jmix Studio plugin version: 1.2.0-213
IntelliJ IDEA 2021.3.2 CE - Build #IC-213.6777.52, built on January 28, 2022
Runtime version: 11.0.13+7-b1751.25 x86_64
Operating System: macOS 12.2.1 (21D62)
File System: Case-Sensitive Journaled HFS+ (APFS)
Datebase: PostgreSQL 13

Hello Everyone

For your information, if I comment out the following line in build.gradle as follows:

// implementation "io.jmix.cuba:jmix-cuba-starter"

I immediately receive the following exception when trying to access my MainScreen for the first time…

2022-03-14 18:06:22.540 ERROR 55199 — [nio-8080-exec-1] io.jmix.ui.AppUI : Unable to init ui

java.lang.IllegalArgumentException: There is no facet for XML tag dynamicAttributes
at io.jmix.ui.xml.FacetLoader.load( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.xml.layout.loader.WindowLoader.loadFacets( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.xml.layout.loader.WindowLoader.loadComponent( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.sys.ScreensImpl.loadWindowFromXml( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.sys.ScreensImpl.createScreen( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.sys.ScreensImpl.create( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.Screens.create( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.App.createTopLevelWindow( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.JmixApp.initializeUi( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.JmixApp.loginOnStart( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.AppUI.setupUI( ~[jmix-ui-1.2.0.jar:na]
at io.jmix.ui.AppUI.init( ~[jmix-ui-1.2.0.jar:na]
at com.vaadin.ui.UI.doInit( ~[vaadin-server-8.14.1-1-jmix.jar:8.14.1-1-jmix]
at com.vaadin.server.communication.UIInitHandler.getBrowserDetailsUI( ~[vaadin-server-8.14.1-1-jmix.jar:8.14.1-1-jmix]
at com.vaadin.server.communication.UIInitHandler.synchronizedHandleRequest( ~[vaadin-server-8.14.1-1-jmix.jar:8.14.1-1-jmix]

My main-screen.xml begins with…

<window xmlns="" xmlns:dynattr=""

and ends with…


Is there anything that I can possibly do to temporarily resolve this problem without reinstatng the jmix-cuba-starter or editing my main-screen.xml?

Thanks in advance for your feedback.

Best regards

Hello Everyone

I solved this by installing the “Dynamic Attributes” add-on from the Marketplace. I was not aware of this before and missed it in the documentation. Sorry.

Best regards