|
Nuno Oliveira created an issue |
JMS plugin handlers don’t initiate transient fields of layer groups associated data stores |
Issue Type: |
|
---|---|
Affects Versions: |
2.9.3, 2.11-beta, 2.10.1 |
Assignee: |
Unassigned |
Components: |
Community modules |
Created: |
24/Jan/17 4:53 PM |
Priority: |
|
Reporter: |
When a new layer group is created on a master node, the layer group definition is serialized and published to the slave nodes. Performing a get map operation using the created layer group on a slave node will provoke a NULL pointer exception:
Reloading the GeoServer slave instance fixes the problem. This issue happens because the catalog field of StoreInfo default implementation is transient, hence is not serialized when the layer group is published by the master node: When adding the new layer group to the catalog of the slave instance the layer group associated stores are not initialized: This also why, when the GeoServer instance is reloaded the issue is gone. To reproduce this issue just created a layer group with the JMS plugin installed and try to do a layer preview on a slave node. |
This message was sent by Atlassian JIRA (v1000.695.3#100025-sha1:c635a15) |
|