Mauro Bartolomeoli ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae5899f77-4ce7-4c27-89f9-34256c006cb7
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 ) / Improvement ( 
https://osgeo-org.atlassian.net/browse/GEOS-10015?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 ) GEOS-10015 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10015?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 ) Print extension is broken in recent versions ( 
https://osgeo-org.atlassian.net/browse/GEOS-10015?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 )

Issue Type: Improvement Affects Versions: 2.19.0 Assignee: Unassigned 
Components: Mapfish print Created: 09/Apr/21 8:57 AM Priority: Medium Reporter: 
Mauro Bartolomeoli ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae5899f77-4ce7-4c27-89f9-34256c006cb7
 )

Calling http://localhost:8080/geoserver/pdf/info.json you get the following 
error:

javax.servlet.ServletException: 
org.springframework.web.util.NestedServletException: Handler dispatch failed; 
nested exception is java.lang.NoSuchMethodError: 
org.json.JSONWriter.<init>(Ljava/io/Writer;)V

This should be related to the json-20180813.jar library that has a breaking 
change on methods used by the printing extension.

See here how the mapfish-app application solved the same, reverting the library 
version:

https://github.com/georchestra/georchestra/pull/2517/files

( 
https://osgeo-org.atlassian.net/browse/GEOS-10015#add-comment?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10015#add-comment?atlOrigin=eyJpIjoiNGEwODBlYWI3NGQ3NDI3ZDlkZWY5Y2IyNDVhZjU2MzAiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156- 
sha1:ef05106 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to