powered by Jive Software

ServiceDiscovery causes NullPointerException

I left my Smack client on over night while in a groupchat, and someone hit me with a ServiceDiscovery (I think). When I woke up, I had this stack trace:

java.lang.NullPointerException
        at java.util.Hashtable.get(Unknown Source)
        at org.jivesoftware.smackx.ServiceDiscoveryManager.getNodeInformationPro vider(ServiceDiscoveryManager.java:202)
        at org.jivesoftware.smackx.ServiceDiscoveryManager.access$200(ServiceDis coveryManager.java:73)
        at org.jivesoftware.smackx.ServiceDiscoveryManager$3.processPacket(Servi ceDiscoveryManager.java:147)
        at org.jivesoftware.smack.PacketReader$ListenerWrapper.notifyListener(Pa cketReader.java:851)
        at org.jivesoftware.smack.PacketReader.processListeners(PacketReader.jav a:253)
        at org.jivesoftware.smack.PacketReader.access$100(PacketReader.java:77)
        at org.jivesoftware.smack.PacketReader$2.run(PacketReader.java:111)

and all of my groupchat rooms halted. I don’‘t know what happened… and the debug window wasn’‘t open. Sorry I don’'t have more information.

Adam

Adam,

Thanks for the bug report. Your report just made it in time for the next release which is today!

Thanks,

– Gato