[JDEV] Requesting a roster
Matthias Wimmer
m at tthias.net
Wed Jul 31 16:00:45 CDT 2002
Hi Emma!
Emma Willis wrote:
>I am definitely authenticated and when I print out the packet that has
>failed, I also print out the connectionstatus... it says it is connected.
>
>
As I wrote you some days ago ... don't trust the connection status of
JabberBeans. Check with a networing tool or in the logfile ot the jabber
server if you are really connected.
E.g. you loose the connection if a NullPointerException is thrown in a
method that handles incoming packets. (E.g. because you expect an
attribute that isn't in the packet. It's a good idea to catch all
exceptions that you generate in your packet handling functions in the
method that is invoked for an incoming packet.
Tot kijk
Matthias
--
Fon: +49-700 77007770 http://matthias-wimmer.de/
Fax: +49-89 312 88654 jabber://mawis@charente.de
More information about the JDev
mailing list