wood burning stoves 2.0*
The moose likes JDBC 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
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.java:40).
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 patrickm@riz.co.zw.
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: http://aspose.com/file-tools
subject: Databse Connection Error
Similar Threads
problem in database connection
Oracle DBConnection Problem
Connection Pooling
Callable statement : Null pointer exception
Connection Problem In java