| Author |
RMI: FileNotFound exception and NullPointException
|
Yohan Weerasinghe
Ranch Hand
Joined: Oct 07, 2010
Posts: 403
|
|
Hi,
Please have a look at the following set of codes
FileChoose.java
FileChooseRemote.java
FileChooseRemoteImpl.java
FileChooseServer.java
In here, when I click the button, it and selected the required file, the FileChooser.java is generating the exception "NullPointException" and FileChooseServer.java generates an exception "java.io.fileNotFound". I can't find the solution. Please help. Thanks>
|
Are you better than me? Then please show me my mistakes..
|
 |
Edward Harned
Ranch Hand
Joined: Sep 19, 2005
Posts: 269
|
|
|
Limit your code
|
Ed's latest article: Managing Threads in Android http://coopsoft.com/ar/AndroidArticle.html
|
 |
Yohan Weerasinghe
Ranch Hand
Joined: Oct 07, 2010
Posts: 403
|
|
|
Managed to solve the issue by my self. The error was, we have to select a file from the server folder, not from anywhere else. My JFileChooser was adjust to another location, I recorrected it by adjusting it to the server folder.
|
 |
 |
|
|
subject: RMI: FileNotFound exception and NullPointException
|
|
|