Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Databse Connection Error

 
Patrick Mugabe
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you plz give more details about your code?
Sanjeev
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic