gwc-distributed plugin (Hazelcast) breaks "Caching Defaults" tab in Geoserver GUI
Description
After installing gwc-distributed plugin and enabling Hazelcast In-memory cache, any subseqent attempts to open a tab "Tile Caching/Caching Defaults" result in error:
Oops, something went wrong...
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [DropDownChoice [Component id = policy]] at org.apache.wicket.Component.internalRenderComponent(Component.java:2625) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1668) at org.apache.wicket.Component.internalRender(Component.java:2401) ... Caused by: java.lang.NullPointerException: List of choices is null - Was the supplied 'Choices' model empty? at org.apache.wicket.markup.html.form.AbstractChoice.getChoices(AbstractChoice.java:233) ...
Environment
Ubuntu 16.04 LTS
Activity
Jukka Rahkonen
June 30, 2021 at 11:31 AM
If I understand right the issue does not happen with the standard integrated GWC but with special installation for a clustered system. Documentation about HazelcastCache .
After installing gwc-distributed plugin and enabling Hazelcast In-memory cache, any subseqent attempts to open a tab "Tile Caching/Caching Defaults" result in error:
Oops, something went wrong...
org.apache.wicket.WicketRuntimeException: Exception in rendering component: [DropDownChoice [Component id = policy]] at org.apache.wicket.Component.internalRenderComponent(Component.java:2625) at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1668) at org.apache.wicket.Component.internalRender(Component.java:2401)
...
Caused by: java.lang.NullPointerException: List of choices is null - Was the supplied 'Choices' model empty? at org.apache.wicket.markup.html.form.AbstractChoice.getChoices(AbstractChoice.java:233)
...