Brendiem / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
0 stars 1 forks source link

Could not decode requested SRID to epsg code : 0 (SpatialUtils) prevents advanced review sightings from loading #326

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go the UAT demo site (root-uat.ala.org.au/bdrs-core/demo/home.htm)
2. Open advanced review.
3. Note the 500 error returned from the ajax call that retrieves the records.

What is the expected output? What do you see instead?
Expected is the page displays records matching the selected facet.  Instead no 
records are returned.

Narrowed it down to the attempt to decode srids of locations attached to 
records that are personal locations.

Is there supposed to be something else in the database migration to prevent 
this from happening?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by chris.go...@gmail.com on 8 Aug 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Stack trace is:
java.lang.IllegalArgumentException: Could not decode requested SRID to epsg 
code : 0 at au.com.gaiaresources.bdrs.util.SpatialUtil.(SpatialUtil.java:53) at 
au.com.gaiaresources.bdrs.util.SpatialUtilFactory.getLocationUtil(SpatialUtilFac
tory.java:22) at 
au.com.gaiaresources.bdrs.controller.review.sightings.AdvancedReviewSightingsCon
troller.advancedReviewJSONSightings(AdvancedReviewSightingsController.java:601) 
at 
au.com.gaiaresources.bdrs.controller.review.sightings.AdvancedReviewSightingsCon
troller.advancedReviewJSONSightings(AdvancedReviewSightingsController.java:319) 
at sun.reflect.GeneratedMethodAccessor756.invoke(Unknown Source) at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25) at 

Original comment by chris.go...@gmail.com on 8 Aug 2012 at 4:48