The moose likes JDBC and Relational Databases and the fly likes Databse Connection Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Databse Connection Error" Watch "Databse Connection Error" New topic

Databse Connection Error

Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
I am trying to retrieve data from a database and I am getting the following error message:
Exception in thread "main" java.lang.NullPointerException at Dbase.main(
Dbase is the name of my database. How can I overcome this error, PLEASE HELP.
I am currently having problems with my internet connection so may you please forward the solution to
Sanjeev Kaushik
Ranch Hand

Joined: Aug 01, 2002
Posts: 105
Could you plz give more details about your code?

Sanjeev Kaushik
I agree. Here's the link:
subject: Databse Connection Error
jQuery in Action, 3rd edition