This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
The "url" variable is null, which is what the error message says.
That's because nothing ever assigns it a value. And that's because the only code which might assign it a value, the code in your init() method, is never called.
Joined: Apr 27, 2012
I didn't spot the spelling mistake, changed it now, it made no differene to the result though.
I thought i was assigning the string url the property of jbdc.url, and then in TestDB i am calling the getConnection() method which uses the url in it. Or am i missing something?