Bug found - Session and userlist

Hello,

I found a bug in JiveMessenger 2.2. Sometime, in the web admin, I canot see user’'s active sessions and the list of registered users.

In https://domain.tld:9091/session-summary.jsp I see:

java.lang.IllegalArgumentException: No enum const class org.xmpp.packet.Presence$Show.online

at java.lang.Enum.valueOf(Unknown Source)

at org.xmpp.packet.Presence$Show.valueOf(Presence.java:374)

at org.xmpp.packet.Presence.getShow(Presence.java:133)

at org.jivesoftware.messenger.admin.session_002dsummary_jsp._jspService(session_00 2dsummary_jsp.java:345)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:98)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

/code

And on https://domain.tld:9091/user-summary.jsp, the right part of the screen is blank.

Hi,

I found why and when it doesn’'t work. I use Gajim 0.8 as client and this client is buggy. When I connect to a Jabber server, it sets my presence to “online”, but this status should be set to “available”. If I set my status to away and then to available, the session page works ok.

So, any buggy client can make jive-messenger admin display error messages or blank screen.

hello ??

Hi,

I am facing exactly the same issues. Some of my clients use Pandion and some Exodus. Is there any fix for this.

This is also resulting in some of the users not able to send messages and import contact lists.

Please help

Regards

Samad