This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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 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
Similar Threads
Connection Pooling
Connection Problem In java
problem in database connection
Oracle DBConnection Problem
Callable statement : Null pointer exception