The complaints about the missing font come from:
java.lang.IllegalArgumentException: The specified mark ttf://Arial#0x2F was not 
found!
                at 
org.geotools.renderer.style.SLDStyleFactory.createMarkStyle(SLDStyleFactory.java:647)
                at 
org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:608)
                at 
org.geotools.renderer.style.SLDStyleFactory.getGraphicStroke(SLDStyleFactory.java:920)
                at 
org.geotools.renderer.style.SLDStyleFactory.createLineStyle(SLDStyleFactory.java:448)
                at 
org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFactory.java:330)
                at 
org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java:286)

it is linux server, so no, Arial is not installed. None of the SLDs in the 
styles directory use Arial.
It looks like it trying to create a generate a default style rather than using 
a defined one.??? How would I switch out Arial for a Linux font?

From: Phil Scadden <p.scad...@gns.cri.nz<mailto:p.scad...@gns.cri.nz>>
Sent: Wednesday, 1 May 2019 12:33
To: GeoServer Mailing List List 
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
Subject: [Geoserver-users] Odd error doing a getCapabilities call; Geoserver 
2.15

http://myserver/myinstance/wms?service=WMS&request=GetCapabilities&version=1.1.1

is returning
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE 
ServiceExceptionReport SYSTEM 
"http://webmaps-dev.gns.cri.nz:80/petroleum/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
 <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      javax.xml.transform.TransformerException: Translator error
Translator error
java.lang.NullPointerException
</ServiceException></ServiceExceptionReport>


Digging into log, Starts at:

2019-05-01 12:20:31,659 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: 
javax.xml.transform.TransformerException: Translator error
       at 
org.geoserver.wms.capabilities.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:106)
       at 
org.geoserver.config.CapabilitiesCacheHeadersCallback$RevalidateTagResponse.write(CapabilitiesCacheHeadersCallback.java:144)
       at org.geoserver.ows.Dispatcher.response(Dispatcher.java:1029)
       at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:268)
       at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)


and further down I see the null exception at:

org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.getOrderedLayers(GetCapabilitiesTransformer.java:758)
       at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleLayers(GetCapabilitiesTransformer.java:675)
       at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.handleCapability(GetCapabilitiesTransformer.java:472)
       at 
org.geoserver.wms.capabilities.GetCapabilitiesTransformer$CapabilitiesTranslator.encode(GetCapabilitiesTransformer.java:310)
       at 
org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:995)
       at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
       at 
org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:283)
       at 
org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:118)
       ... 96 more
Caused by: java.lang.NullPointerException
       at 
org.hibernate.impl.SessionFactoryImpl.getClassMetadata(SessionFactoryImpl.java:807)
       at 
com.googlecode.genericdao.search.hibernate.HibernateMetadataUtil.get(HibernateMetadataUtil.java:92)


Further up log, there are quite a few:
2019-05-01 12:15:25,679 WARN [wms.capabilities] - Error getting LegendURL 
dimensions from sample

Due to a missing font, but this hasn't been an issue in the past.

Can anyone point in direction of where to look for an issue?





Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
Notice: This email and any attachments are confidential and may not be used, 
published or redistributed without the prior written consent of the Institute 
of Geological and Nuclear Sciences Limited (GNS Science). If received in error 
please destroy and immediately notify GNS Science. Do not copy or disclose the 
contents.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to