Hi Phil,
I believe you actually have that mark in a SLD you're using. Arial can be
installed on Linux machines using the "microsoft core fonts"
installer, you have to go throught a "click through" licence agreement, see
for example these instructions:

https://www.ostechnix.com/install-microsoft-windows-fonts-ubuntu-16-04/

Please don't edit the stack traces, when sharing one copy/paste it fully,
parts that seems uninteresting to you might be
the key to better understand the issue for others.

Cheers
Andrea

On Wed, May 1, 2019 at 3:16 AM Phil Scadden <[email protected]> wrote:

> 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 <[email protected]>
> *Sent:* Wednesday, 1 May 2019 12:33
> *To:* GeoServer Mailing List List <[email protected]>
> *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
>
>
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards, Andrea Aime == GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to