H Phil,
there is too much of the stack trace cut away, can you place share it
fully, without editing it?
It's odd that you have hibernate there in the mix, are you using GeoFence?

Cheers
Andrea


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

>
> 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.
> _______________________________________________
> 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