Добрый день,
Версия Jmix - 2.1.1.
В EntityInspector в списке сущностей отображается DummyAppSettingsEntity
из аддона Application Settings. Если выбрать эту сущность возникает ошибка “HsqlException: user lacks privilege or object not found”.
Stacktrace:
2024-01-09T15:47:18.337+03:00 WARN 16468 --- [nio-8081-exec-7] eclipselink.logging.all : Exception [EclipseLink-4002] (Eclipse Persistence Services - 4.0.1-15-jmix.v202305211856): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: DUMMYAPPSETTINGSENTITY in statement [SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY]
Error Code: -5501
Call: SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY
Query: ReadAllQuery(referenceClass=DummyAppSettingsEntity sql="SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY")
FetchGroup(){id, version}
2024-01-09T15:47:18.337+03:00 ERROR 16468 --- [nio-8081-exec-7] i.j.f.e.DefaultUiExceptionHandler : Unhandled exception
jakarta.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 4.0.1-15-jmix.v202305211856): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: DUMMYAPPSETTINGSENTITY in statement [SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY]
Error Code: -5501
Call: SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY
Query: ReadAllQuery(referenceClass=DummyAppSettingsEntity sql="SELECT ID, VERSION FROM DUMMYAPPSETTINGSENTITY")
FetchGroup(){id, version}
at org.eclipse.persistence.internal.jpa.QueryImpl.getDetailedException(QueryImpl.java:392) ~[org.eclipse.persistence.jpa-4.0.1-15-jmix.jar:na]
at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:265) ~[org.eclipse.persistence.jpa-4.0.1-15-jmix.jar:na]
at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:483) ~[org.eclipse.persistence.jpa-4.0.1-15-jmix.jar:na]
at io.jmix.eclipselink.impl.JmixEclipseLinkQuery.getResultFromCache(JmixEclipseLinkQuery.java:844) ~[jmix-eclipselink-2.1.1.jar:na]
at io.jmix.eclipselink.impl.JmixEclipseLinkQuery.getResultList(JmixEclipseLinkQuery.java:138) ~[jmix-eclipselink-2.1.1.jar:na]
at io.jmix.eclipselink.impl.JpaDataStore.executeQuery(JpaDataStore.java:576) ~[jmix-eclipselink-2.1.1.jar:na]
at io.jmix.eclipselink.impl.JpaDataStore.loadAll(JpaDataStore.java:167) ~[jmix-eclipselink-2.1.1.jar:na]
at io.jmix.core.datastore.AbstractDataStore.loadList(AbstractDataStore.java:127) ~[jmix-core-2.1.1.jar:na]
at io.jmix.core.impl.UnconstrainedDataManagerImpl.loadList(UnconstrainedDataManagerImpl.java:112) ~[jmix-core-2.1.1.jar:na]
at io.jmix.flowui.model.impl.CollectionLoaderImpl._load(CollectionLoaderImpl.java:92) ~[jmix-flowui-2.1.1.jar:na]
at io.jmix.flowui.model.impl.CollectionLoaderImpl.load(CollectionLoaderImpl.java:75) ~[jmix-flowui-2.1.1.jar:na]
at io.jmix.datatoolsflowui.view.entityinspector.EntityInspectorListView.showEntities(EntityInspectorListView.java:354) ~[jmix-datatools-flowui-2.1.1.jar:na]
at io.jmix.datatoolsflowui.view.entityinspector.EntityInspectorListView.lambda$onReady$5a0e8182$1(EntityInspectorListView.java:230) ~[jmix-datatools-flowui-2.1.1.jar:na]
at com.vaadin.flow.component.internal.AbstractFieldSupport.lambda$addValueChangeListener$828eca10$1(AbstractFieldSupport.java:98) ~[flow-server-24.1.12.jar:24.1.12]
...