Re: no such object in table

Calum Shaw-Mackay <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
As Mark said, this could be due to having no strong reference to the
Exporter, thus the exported is cleaned up by your service once it's
been exported. So essentially, your remote object is tagged with the
ID for the object at the service side, but when it talks back the link
has been cleaned up and you get the NoSuchObjectException.

You can try the ExporterManager from Glyph which keeps track of your exporters

https://glyph.dev.java.nett

Cheers

--Calum

On 06/02/07, Rikard Elofsson <[email protected]> wrote:
> Hello all
>
> I use LookupCaches to keep trail of my service objects. After getting a
> call to serviceAdded in ServiceDiscoveryListener i happily try to use
> that object (evt.getPostEventServiceItem()). Sometimes but not every
> time I get an RMI error. What is wrong? Do I have to wait for something?
> Is it possible to check whether this something is ready?
>
> Regards
> //Rikard

--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.