Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.AbstractMethodError

 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
At the server side I have one ConnectionFactory object which is bound to the registry. The ConnectionFactory class has one single method getDatabase() which returns a new RemoteData object. I have copied both ConnectionFactory_stub and RemoteData_stub to the client directory. I am getting the following exceptions when I try to run the client :
Exception in thread "main" java.lang.AbstractMethodError
at suncertify.client.DataFacade.<init>(DataFacade.java:44)
at suncertify.client.Client.main(Client.java:24)
Can any one please tell me what might be the possible reason for this??
The code is working fine up to Naming.lookup... But refusing to process the method calls to remote object.
Thanks
Padmaja
 
parthiban subramaniam
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
the classes you placed in the client dir are out of sync with the actual classes .. do a clean compile and everything should be fine

cheers,
parthi.
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Parthiban,
Thank you so much... Let me try this tomorrow..
Thanks
Padmaja
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Great...I got it now...
Thanks
Padmaja
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic