Home
My Page
Projects
deegree

[#6255] CSW insert throws NPE when geo extent is missing a bounding box

Date:
2011-10-21 14:53
Priority:
3
State:
Open
Submitted by:
Damiano Albani (dalbani)
Assigned to:
Nobody (None)
Hardware:
None
Operating System:
None
Version:
None
Severity:
None
Resolution:
None
 
URL:
Component:
CSW
 
Summary:
CSW insert throws NPE when geo extent is missing a bounding box

Detailed description
When I try to insert a record with "EX_Extent" only containing "EX_GeographicDescription" identifiers, deegree generates a raw error:



<b>description</b>

<u>The server encountered an internal error () that prevented it from fulfilling this request.</u>



<b>exception</b>

<pre>java.lang.NullPointerException</pre>



It works fine if I include one (or more) "EX_GeographicBoundingBox" elements.

I haven't checked how that works out with "EX_BoundingPolygon" items.



I don't know if it's related to the ISO spec itself, but the error message should be at least returned in a proper CSW exception response.



Thanks a lot.



Tested with 3.1rc2.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item


This site is hosted by Intevation GmbH