Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.rmi.UnmarshalException:error unmarshalling return;java.io.EOFException

843793Jun 3 2009
Hi I am getting following error


java.rmi.UnmarshalException: error unmarshalling return; nested exception is:

java.io.EOFException


the code line just before line (where i am getting it) is as below:


Registry registry = LocateRegistry.getRegistry(rr.getPort());

ReportSubmissionIface jrs = (ReportSubmissionIface)registry.lookup(

reportServerName);

rr.recordEvent(ReportStat.SUBMITTED_TO_SERVER);



this error usually comes after processing some 1200-1400 reocrds succefullly from same code


my jar file is being called from a C program which creates JVM dynamically and uses jni.h to communicate wit this file


kindly help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2009
Added on Jun 3 2009
0 comments
411 views