[GeoNetwork-users] GN3 Metadata maps do not display - Internal server error

Hello,

I recently installed Genonetwork 3.0.3, and the overview maps in metadata records do not display. I get this error :
NetworkError: 500 Internal Server Error - http://162.38.140.226:8080/geonetwork/srv/eng/region.getmap.png?mapsrs=EPSG:3857&width=250&background=osm&geomsrs=EPSG:4326&geom=Polygon((3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305))
With the message :
HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException
I found nothing explicit in tomcat7 logs ..

I haven't changed anything in the Admin Console Settings for Region API section (background map osm and EPSG:3857).
We don't have any proxy. I was wondering if we needed to declare somewhere on our server the url 'ows.terrestris.de' (that is defined for osm background in config-spring-geonetwork.xml) as allowed host?

Any idea ?

Thanks,
Juliette

--
Juliette Fabre
Ingénieur d'Etudes Systèmes d'Information Scientifiques
OSU OREME
Bât. 22, bureau 220, Université Montpellier
Place Eugène Bataillon - CC 22002, 34095 Montpellier
Tél : 04 67 14 40 41
data.oreme.org, www.oreme.org

Hello,

I found that the spatial extent map does display if the extent is a polygon, but not if it's a point.

For example, the Getmap request fails with this parameter:
geom => |Polygon((3.9 43.9,3.9 43.9,3.9 43.9,3.9 43.9,3.9 43.9))|

While with this parameter the map is displayed:
geom => |Polygon((3.8 43.8,4 43.8,4 44,3.8 44,3.8 43.8))|

Juliette

Le 07/04/2016 14:49, Juliette Fabre a écrit :

Hello,

I recently installed Genonetwork 3.0.3, and the overview maps in
metadata records do not display. I get this error :
NetworkError: 500 Internal Server Error -
http://162.38.140.226:8080/geonetwork/srv/eng/region.getmap.png?mapsrs=EPSG:3857&width=250&background=osm&geomsrs=EPSG:4326&geom=Polygon((3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305,3.80014%2043.7305))
With the message :
HTTP Status 500 - Request processing failed; nested exception is
java.lang.NullPointerException
I found nothing explicit in tomcat7 logs ..

I haven't changed anything in the Admin Console Settings for Region API
section (background map osm and EPSG:3857).
We don't have any proxy. I was wondering if we needed to declare
somewhere on our server the url 'ows.terrestris.de' (that is defined for
osm background in config-spring-geonetwork.xml) as allowed host?

Any idea ?

Thanks,
Juliette