Thread: NullPointerException when making a getCapabilities request

NullPointerException when making a getCapabilities request

From
Álvaro Plata
Date:
Hi all,

When trying to make a getCapabilities request (using Postgresql8.4 and
java6) I get this NullPointerException:

description: The server encountered an internal error () that prevented
it from fulfilling this request.

exception:
java.lang.NullPointerException
java.util.ArrayList.(ArrayList.java:151)
org.n52.sos.cache.CapabilitiesCacheController.getO
fferings(CapabilitiesCacheController.java:681)
org.n52.sos.ds.pgsql.PGSQLGetCapabilitiesDAO.getOp
erationsMetadata(PGSQLGetCapabilitiesDAO.java:756)
org.n52.sos.ds.pgsql.PGSQLGetCapabilitiesDAO.getCo
mpleteCapabilities(PGSQLGetCapabilitiesDAO.java:16 7)
org.n52.sos.GetCapabilitiesListener.receiveRequest
(GetCapabilitiesListener.java:220)
org.n52.sos.RequestOperator.doGetOperation(Request Operator.java:155)
org.n52.sos.SOS.doGet(SOS.java:398)
javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

Any idea about what is the problem?

Thanks in advance,
Alvaro.

Re: NullPointerException when making a getCapabilities request

From
Tom Lane
Date:
=?ISO-8859-1?Q?=C1lvaro_Plata?= <alvaro.plata.martinez@knmi.nl> writes:
> When trying to make a getCapabilities request (using Postgresql8.4 and
> java6) I get this NullPointerException:

You should probably report this on pgsql-jdbc, not here.

            regards, tom lane