Java DBCP "java.lang.NullPointerException"

When i compile the test.java it return

Failed to finalize JDBC task:
java.lang.NullPointerException
      at Test.main(Test.java:38)

i need experts help. thanks


Test.java
ConnectionManager.java
Configuration.java
NewFile.xml
aaronyeo22Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
objectsConnect With a Mentor Commented:
did you try my suggestion, that should fix your error
0
 
CEHJCommented:
Check your log
0
 
objectsCommented:
you never initialise your ConnectionManager
add this before you try and get a connection

ConnectionManager manager = new ConnectionManager(new Configuration());
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
aaronyeo22Author Commented:
where to check my log. CHEJ


conn = ConnectionManager.ds.getConnection(); Savant
0
 
CEHJCommented:
>>where to check my log. CHEJ

Wherever your logging system is configured to print (impossible to tell from here)
0
 
aaronyeo22Author Commented:
i used window 7. So what to do now

thanks
0
 
CEHJCommented:
>>i used window 7.

That's not relevant
0
 
aaronyeo22Author Commented:
So, what should i do now. I really need to solve this problem.


thanks
0
 
CEHJCommented:
The first thing you should do is to find out about your logging, as i mentioned. What errors are you getting now?
0
 
aaronyeo22Author Commented:
is it the CBS log file
0
All Courses

From novice to tech pro — start learning today.