473,382 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to solve a NullPointerException when making a getCapabilities request?

When trying to make a getCapabilities request (using Postgresql8.4 and tomcat6)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.<init>(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? Thanks in advance.
Feb 28 '11 #1
1 1526
Dheeraj Joshi
1,123 Expert 1GB
This exception means, you are trying to access a null value.

Regards
Dheeraj Joshi
Feb 28 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Chris Leffer | last post by:
Hi. Is there any significant difference between request.form and request.params? Can I use request.params in any place where I used request.form in old asp? Regards, Chris Leffer
0
by: Clark Laughlin | last post by:
I am trying to establish an SSL connection to our company's LDAP server from an ASP.NET application running on Windows 2003 Server and I am getting the following set of event log errors: Event...
3
by: Yong | last post by:
I get a general network error when I try to make asynchronously call ExecuteNonQuery on long sql statements that run in parallel. Here is the background info on what I'm trying to accomplish: I...
0
by: Piotrekk | last post by:
Hi I am creating application to simplify process of logging to my company's web site. I have sniffed ports to get the request which my browser is sending after uses enters his details. I need...
2
by: alag20 | last post by:
Hi. I am making a windows application project which uses a few dlls which have been developed by other people. Each time, a new dll is generated, its version is updated. If I drop this new dll...
1
by: ksrashmi | last post by:
HI I am getting following exception when i use mxml tags in jsp <%@ taglib uri="FlexTagLib" prefix="mm" %> can any one tell why i am getting this exception type Exception report message...
11
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
2
by: sokeefe | last post by:
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerException when I try to add an Event to any given JButton (even ones that...
1
by: sokeefe | last post by:
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerException when I try to add an Event to any given JButton (even ones that...
1
by: senthilaim | last post by:
import javax.swing.*; import java.awt.*; public class RegionFrame extends JFrame { JLabel lblRegName=null; JLabel lblDistName=null; JLabel lblRegionForm=null; JLabel lblStatName=null;...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.