This might not be a blackdown problem, but I need help now, and the IBM
newsgroups seems down? and sun, well I have never gotten a response from
them.
I have made a RMI server that forks a process to communicate with ispell
to deliver a spellchecker to clients. I start ispell like
Runtime.getRuntime().exec("/usr/bin/ispell -a");
and then I get the in/out putstreams for communication. Finally i
register with rmiregistry and run my client.
On Java2 1.3 (IBM and SUN) linux RH6.1 this mostly results in a remote
exception delivered to the client (if i catch a exception on the server
I rethrow it like new RemoteException("mesg", e))
The Exception on the client reads:
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: checkString; nested exception is:
java.lang.NullPointerException
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: checkString; nested exception is:
java.lang.NullPointerException
java.rmi.RemoteException: checkString; nested exception is:
java.lang.NullPointerException
java.lang.NullPointerException
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:248)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at SpellChecker$ISpellCheckerImpl_Stub.checkString(Unknown
Source)
at RMIClient.main(RMIClient.java:14)
I am writing to you whith this problem, because running the server on
ibm 1.1.8 works all the time. This makes me think that it is a
problem/bug in ibm/sun 1.3?
--
Mvh Jan Agermose
http://www.agermose.dk
N
I@R 隊[hږ)Ʒ-nV0+aj˛-ry:蹹^
idj[$v'