java.lang.NullPointerException
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at SynchroManager_Stub.getUploadFTServer(Unknown Source)
I compiled client using jdk 1.2 and I compile server using jdk 1.3. Is
there a solution? Thanks
Antonio
Also, the exception is being thrown by the server - you posted the
stack trace at the client end. Unfortunately the server exception
doesn't get passed over the RMI boundary, just it's message. You need
to check what caused the exception in the server first I think.
A good technique is to create a new exception class that 'nests'
potential server exceptions so you can display the stack trace of
both. Search for 'nested exceptions' on javaworld.
- sarge
Antonio