hello,
i am having problems running my app when using JCIFS. i've traced the error to the following code:
Code:
import jcifs.smb.*;
BufferedReader br;
try {
jcifs.Config.setProperty ( "jcifs.netbios.wins", "xxx.xxx.xxx.xxx" );
br = new BufferedReader( new InputStreamReader (
new SmbFileInputStream ( "smb://username:password@server/file.txt" ) ) );
...
there are no compile errors but it returns the NullPointerException error when i try to execute the program in Eclipse. i have imported the jcifs library into my classpath properly. can anyone help me about this? thanks.