Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

NoSuchasMemberException ???????

 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all: I got this Exception in the STUB ???
my code :
public Client(String host, String title) {
// title is user name
super(title);
connect(host, title);
....
try {
server.send(title + " is online"); // CallBack works fine
} catch (RemoteException rmEx) {
...
try {
dataDB = server.criteriaFind("ANY");
...
} catch (RemoteException rmEx1)
in the RemoteServerImpl
...
public DataInfo[] criteriaFind(String criteria) {
try {
if (criteria == null) {criteria="ANY";}
return datalocal.criteriaFind(criteria);

}catch (DatabaseException e)
...
an also I defined in the server interface and generate the stub too. I have many others methods define in the same way and woks fine.
Some can help me ? I took a look inside the Client Stub and inside the wrapper method give me a such as RuntimeException
PLZ HELP !!!
 
Ricardo Polero
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Come on guys !
please Help me !
some tips ?
reply
    Bookmark Topic Watch Topic
  • New Topic