aspose file tools*
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
Author

Databse Connection Error

Patrick Mugabe
Ranch Hand

Joined: Jan 08, 2002
Posts: 132
Hi,
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.
Thanks
Sanjeev Kaushik
Ranch Hand

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


Sanjeev Kaushik
 
jQuery in Action, 2nd edition
 
subject: Databse Connection Error