• Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange RMI Exception!

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm getting a strange exception while running a RMI server.

What I'm getting is this :



What can be the cause of this problem ?

Thanks in advance ...
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clearly the problem is on line 26 of the code you did not post.

See SSCCE
 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
huh ?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without the stack trace and the corresponding code, it will be nearly impossible to debug this.
This error comes when rmi attempts to add a live ref in the object table with an id that is already is use. By default this id is a UID that will be unique but the rmi internal classes use pre-defined ids.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!