NullPointerException on login
Hi there.
I've been playing a bit with Tigase 5.0.0 as my company is considering going xmpp, and Tigase seems to be one of the best options :)
I did a default install with Derby db on a Windows machine to test it out.
However, Tigase sometimes starts throwing an exception (as seen below) on each login attempt, and Tigase-Messenger gets stuck on "Authentication".
(I tried iJab too, same results)
The packet Tigase chokes on doesn't seem that malformed. And I have to admit it, I'm no java expert.
I guess I've done something wrong, but well, I haven't done much actually : Installed Tigase with default config, added two lines for bosh proxying in apache conf, and created an account or two with Pidgin.
Any thoughts ?
Thanks,
Jordan.
The error :
2010-07-19 09:35:25 WorkerThread.run()
SEVERE: Exception during packet processing: from=bosh@test/1487210e-23ca-474f-85dc-b2bab14324c0,to=sess-man@test, data=AHRlc3QzAHRlc3Qz, XMLNS=urn:ietf:params:xml:ns:xmpp-sasl, priority=NORMAL
java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
at tigase.xmpp.XMPPSession.putCommonSessionData(XMPPSession.java)
at tigase.xmpp.XMPPResourceConnection.putCommonSessionData(XMPPResourceConnection.java)
at tigase.xmpp.impl.Privacy.setActiveList(Privacy.java)
at tigase.xmpp.impl.JabberIqPrivacy.allowed(JabberIqPrivacy.java)
at tigase.xmpp.impl.JabberIqPrivacy.filter(JabberIqPrivacy.java)
at tigase.server.xmppsession.SessionManager.addOutPackets(SessionManager.java)
at tigase.server.xmppsession.SessionManager$ProcessorWorkerThread.process(SessionManager.java)
at tigase.util.WorkerThread.run(WorkerThread.java)
- 256 reads
Printer-friendly version- Send to friend






Please use the latest update:
Please use the latest update: 5.0.4. This is the update with a full patch fixing the problem. I am sorry for the premature previous fix.
Hm, I think I haven't applied
Hm, I think I haven't applied the whole patch from the development branch.
I will have a look at it tonight.
I still experience the exact
I still experience the exact same issue after getting 5.0.3 from the Maven repo.
Any thoughts ?
Thanks
Unfortunately there is a bug
Unfortunately there is a bug in the Tigase triggered by clients incorrectly managing privacy lists and trying to select non-existen privacy list.
The bug as been fixed in development branch-5.1.0 but the fix was not back-ported to the stable branch yet.
I have just applied the fix to the stable branch too. You can install it for your system using server binary updates guide and Tigase server version 5.0.3 in maven repository.
I am sorry for any inconvenience this may caused.
I hope this helps.
Post new comment