Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange phenomenon on RMI

 
Bin Wu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am testing my application in the network mode. I use RMI. My server implements very simple function just receive and response the request from the client, and provides some prompting messages. But I found that the server always prints a "null" on the monitor after my manipulating a record in the client. All results in the client side are OK.
Who can tell me why? Thanks in advance.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just check out if somewhere in the Server code you have a System.out.println( which is printing out a null.

------------------
Regds.
Mahindrakar
 
Bin Wu
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No such sentence.
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have ANY System.out.println's in your Data class?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!