-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
Magnolia EE 5.5.1 / light-yaml 1.1
-
-
Empty show more show less
It looks like the definitions app crashes now, maybe if there is some invalid yaml?
Without the dependency it doesn't crash.
[2017-01-30 10:56:44,224][ERROR] info.magnolia.ui.admincentral.AdmincentralErrorHandler [http-nio-8080-exec-4]: AdmincentralUI has encountered an unhandled exception. com.vaadin.ui.Table$CacheUpdateException: Error during Table cache update. Additional causes not shown. at com.vaadin.ui.Table.maybeThrowCacheUpdateExceptions(Table.java:1767) at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1756) at com.vaadin.ui.Table.enableContentRefreshing(Table.java:3279) at com.vaadin.ui.Table.changeVariables(Table.java:3121) ... Caused by: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Map at org.mgnlconfig.yaml.MgnlYaml.parseYamlConfigData(MgnlYaml.java:66) at org.mgnlconfig.yaml.YamlConfigurationDataProvider.parseConfigurationData(YamlConfigurationDataProvider.java:64) at org.mgnlconfig.YamlDefinitionProvider.refreshYamlData(YamlDefinitionProvider.java:101) at org.mgnlconfig.YamlDefinitionProvider.get(YamlDefinitionProvider.java:76) at org.mgnlconfig.YamlDefinitionProvider.isValid(YamlDefinitionProvider.java:90) at info.magnolia.config.registry.AbstractDefinitionProviderWrapper.isValid(AbstractDefinitionProviderWrapper.java:71) at info.magnolia.definitions.app.overview.data.DefinitionProviderId.getStyle(DefinitionProviderId.java:116) at info.magnolia.definitions.app.overview.data.DefinitionProviderId.getProperties(DefinitionProviderId.java:102) at info.magnolia.definitions.app.overview.data.DefinitionItem.from(DefinitionItem.java:63) at info.magnolia.definitions.app.overview.data.ConfigurationContainer.getItem(ConfigurationContainer.java:144) at info.magnolia.definitions.app.overview.data.ConfigurationContainer.getContainerProperty(ConfigurationContainer.java:159) at com.vaadin.ui.AbstractSelect.getContainerProperty(AbstractSelect.java:823) at com.vaadin.ui.Table.parseItemIdToCells(Table.java:2329) at com.vaadin.ui.Table.getVisibleCellsNoCache(Table.java:2228) at com.vaadin.ui.Table.refreshRenderedCells(Table.java:1745) ... 105 more
Acceptance criteria