Hi All,
A very odd issue popped up for our Geonetwork installation this week. We noticed that the web services we were using were failing, and the error was a NullPointerException. We were trying to log on to the system, but could not get past the logon screen. After a little digging, we noticed the stack trace were point to jeeves (see below).
I tried to bring another instance of Geonetwork up on the same box (a fresh 2.6.3 version) that just used the built-in defaults, but had similar issues. I then went to our testing environment which had a version running in the past to see if that was working, and got the same NullPointerException. I can’t seem to make heads or tails of what’s going on in all these different environments.
Looking at the source, it appears as though it’s getting a NullPointer from the Geonet.CONTEXT_NAME, but I’m not sure how that would have gotten reset (especially against three different versions running on physically different hardware). I’m hoping someone might have an insight on this...
TIA,
Wayne
=================================
3435649 [catalina-exec-3] ERROR jeeves.service - Exception when executing service
3435649 [catalina-exec-3] ERROR jeeves.service - (C) Exc : java.lang.NullPointerException
3435687 [catalina-exec-3] ERROR jeeves.service - Exception executing gui service : java.lang.NullPointerException
3435688 [catalina-exec-3] ERROR jeeves.service - (C) Stack trace is :
java.lang.NullPointerException
at org.fao.geonet.guiservices.util.Env.exec(Env.java:53)
at jeeves.server.dispatchers.guiservices.Call.exec(Call.java:75)
at jeeves.server.dispatchers.AbstractPage.invokeGuiService(AbstractPage.java:119)
at jeeves.server.dispatchers.AbstractPage.invokeGuiServices(AbstractPage.java:103)
at jeeves.server.dispatchers.ServiceManager.dispatchError(ServiceManager.java:672)
at jeeves.server.dispatchers.ServiceManager.handleError(ServiceManager.java:464)
at jeeves.server.dispatchers.ServiceManager.dispatch(ServiceManager.java:409)
at jeeves.server.JeevesEngine.dispatch(JeevesEngine.java:616)
at jeeves.server.sources.http.JeevesServlet.execute(JeevesServlet.java:163)
at jeeves.server.sources.http.JeevesServlet.doGet(JeevesServlet.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1978)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)