[Geoserver-devel] [JIRA] (GEOS-8178) OpenLayers NoSuchAuthorityCodeException Warnings

Steve Ikeoka created an issue

GeoServer / BugGEOS-8178

OpenLayers NoSuchAuthorityCodeException Warnings

Issue Type:

BugBug

Affects Versions:

2.11.1

Assignee:

Unassigned

Components:

WMS

Created:

09/Jun/17 10:18 PM

Priority:

MediumMedium

Reporter:

Steve Ikeoka

GeoServer 2.11.1 logs a warning stack trace for WMS GetMap requests for OpenLayers output. This does not occur in GeoServer 2.10.3. A discussion about the cause of the warnings and several options for resolving it is here: http://osgeo-org.1560.x6.nabble.com/GeoServer-2-11-1-OpenLayers-CRS-Warnings-td5323388.html

16:26:30,639 WARN [org.geoserver.wms.map] (default task-4) Failed to determine CRS axis order, assuming is EN: org.opengis.referencing.NoSuchAuthorityCodeException: No code “CRS:GC,DEF,CRS,EPSG,4326” from authority “Web Map Service CRS” found for object of type “CoordinateReferenceSystem”.
at org.geotools.referencing.factory.AbstractAuthorityFactory.noSuchAuthorityCode(AbstractAuthorityFactory.java:952) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.wms.WebCRSFactory.createCoordinateReferenceSystem(WebCRSFactory.java:207) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:802) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:802) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.FallbackAuthorityFactory.createCoordinateReferenceSystem(FallbackAuthorityFactory.java:640) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:802) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:802) [gt-referencing-17.1.jar:]
at org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:731) [gt-referencing-17.1.jar:]
at org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179) [gt-referencing-17.1.jar:]
at org.geotools.referencing.CRS.decode(CRS.java:525) [gt-referencing-17.1.jar:]
at org.geotools.referencing.CRS.decode(CRS.java:453) [gt-referencing-17.1.jar:]
at org.geoserver.wms.map.OpenLayersMapOutputFormat.isWms13FlippedCRS(OpenLayersMapOutputFormat.java:263) [gs-wms-2.11.1.jar:2.11.1]
at org.geoserver.wms.map.OpenLayersMapOutputFormat.produceMap(OpenLayersMapOutputFormat.java:170) [gs-wms-2.11.1.jar:2.11.1]
at org.geoserver.wms.map.OpenLayersMapOutputFormat.produceMap(OpenLayersMapOutputFormat.java:62) [gs-wms-2.11.1.jar:2.11.1]
… removed rest of stack trace
Caused by: java.lang.NumberFormatException: For input string: “GC,DEF,CRS,EPSG,4326”
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [rt.jar:1.8.0_121]
at java.lang.Integer.parseInt(Integer.java:580) [rt.jar:1.8.0_121]
at java.lang.Integer.parseInt(Integer.java:615) [rt.jar:1.8.0_121]
at org.geotools.referencing.factory.wms.WebCRSFactory.createCoordinateReferenceSystem(WebCRSFactory.java:204) [gt-referencing-17.1.jar:]
… 148 more

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.1043.2#100046-sha1:a1d8ef5)

Atlassian logo