powered by Jive Software

IQHandler.process() exception

From error.log:

2005.02.02 09:52:07 org.jivesoftware.messenger.handler.IQHandler.process(IQHandler.java:70) Internal server error

java.lang.NullPointerException

at org.jivesoftware.messenger.user.UserManager.getUser(UserManager.java:135)

at org.jivesoftware.messenger.handler.IQvCardHandler.handleIQ(IQvCardHandler.java: 89)

at org.jivesoftware.messenger.handler.IQHandler.process(IQHandler.java:48)

at org.jivesoftware.messenger.IQRouter.handle(IQRouter.java:192)

at org.jivesoftware.messenger.IQRouter.route(IQRouter.java:74)

at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:78)

at org.jivesoftware.messenger.net.SocketReadThread.readStream(SocketReadThread.jav a:207)

at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:109)

What does it mean?

This problem may be related to your other problem with non-LDH characters or you may be using anonymous users. The problem is that the node part of the JID (i.e. characters before the @) is null.

If you are not using anonymous users, let’'s correct your other problem and see if this problem still exists.

Regards,

– Gato

Maybe my users specify a wrong JID at login procedure. It is not an error in Jive Messenger. Whether it is possible to write down this JID in a log file?

That’'s a good idea. I created this issue JM-155 to follow this request.

Thanks,

– Gato

Thanks.

The enhancement is in the repository now. So will be available in the next nightly build.

Thanks,

– Gato

Can be write down also the IP-address? To find out, what user has problems.

(Sorry for cross-posts)

The JID class belongs to the Whack project and it represents an XMPP address. So JIDs may be used in any context where the information that you are requesting may not be available.

Having the stack trace and the faulty JID would be enough is most cases to fix the problem.

Regards,

– Gato

Having the stack trace and the faulty JID would be

enough is most cases to fix the problem.

What about this:

2005.02.08 21:44:00 org.jivesoftware.messenger.handler.IQRosterHandler.handleIQ(IQRosterHandler.java :117) Internal ser

java.lang.IllegalArgumentException: Illegal JID format: Offending JID:null@/null: String too long.

at org.xmpp.packet.JID.init(JID.java:203)

at org.xmpp.packet.JID.(JID.java:103)

at org.xmpp.packet.Roster.getItems(Roster.java:224)

at org.jivesoftware.messenger.handler.IQRosterHandler.manageRoster(IQRosterHandler .java:185)

at org.jivesoftware.messenger.handler.IQRosterHandler.handleIQ(IQRosterHandler.jav a:103)

at org.jivesoftware.messenger.handler.IQHandler.process(IQHandler.java:48)

at org.jivesoftware.messenger.IQRouter.handle(IQRouter.java:205)

at org.jivesoftware.messenger.IQRouter.route(IQRouter.java:75)

at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:65)

at org.jivesoftware.messenger.net.SocketReadThread.readStream(SocketReadThread.jav a:203)

at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:103)

?