This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The project that i am writing junits for has a few classes where the they call the methods in a different class through an Interface like this ..
The problem is that, on encountering the code ftpStatus = this.remoteFacade.handleFTPLogin(userName, password);, a null pointer is thrown. But if i call the class directly, no exceptions are thrown. All beans are initialized in the init method.