[Geoserver-devel] [JIRA] (GEOS-7371) Empty field on ImageMosaic index breaks GetCapabilities-document

Jesse Hietanen created an issue

GeoServer / BugGEOS-7371

Empty field on ImageMosaic index breaks GetCapabilities-document

Issue Type:

BugBug

Affects Versions:

2.9-M0, 2.8.1, 2.7.3

Assignee:

Unassigned

Attachments:

Stacktrace.txt

Created:

11/Jan/16 1:11 PM

Priority:

HighHigh

Reporter:

Jesse Hietanen

When using ImageMosaic with index stored in database (PostGIS 2.2) GetCapabilities-document breaks if the index is empty (I add and remove granules using REST Api). This also happens if some of the rows in the index has faulty values or if the cell is empty.

I have a dataset stored in the ImageMosic, with two time dimensions (time and reference_time). It seems that geoserver tries to read the empty values and parse them as dates.

GetCapabilities shows only following if there is something wrong with the index:

This page contains the following errors:error on line 6194 at column 4370: XML declaration allowed only at the start of the documentBelow is a rendering of the page up to the first error.

Faulty index should not probably break the whole getCapabilities, maybe just remove the faulty layers from document? Or just ignore the faulty granule in the document?

Stack Trace attached.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.1.0-OD-04-012#71001-sha1:dd0493d)

Atlassian logo