powered by Jive Software

Why do we have so many Exceptions?

Hi,

I’m just asking myself why I have big bad exceptions reported into the warning tab of the server logs, just because the user I tried to add to a group, did not exist ?

2014.05.27 12:37:48 org.jivesoftware.util.Log - Problem adding new user to existing group     org.jivesoftware.openfire.user.UserNotFoundException      at org.jivesoftware.openfire.user.DefaultUserProvider.loadUser(DefaultUserProvider.java:115)      at org.jivesoftware.openfire.user.UserManager.getUser(UserManager.java:234)      at org.jivesoftware.openfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:251)          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)          at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)          at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)      at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)      at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)      at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)      at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)          at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)          at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)          at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)          at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)          at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)          at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)          at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)          at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)          at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)          at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)          at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)          at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)          at org.eclipse.jetty.server.Server.handle(Server.java:349)          at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)          at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)          at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)          at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)          at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)          at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)          at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)          at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)          at java.lang.Thread.run(Unknown Source)

Is it something we must consider as normal ?

I also have exceptions into info tab, as :

java.io.IOException: Une connexion existante a d� �tre ferm�e par l’h�te distant
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.j ava:218)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcesso r.java:198)
at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProce ssor.java:45)
at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProce ssor.java:485)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

It just looks like a bad report for a normal behavior, don’t you agree ?

As Java developer, I’m afraid of all those exceptions and I don’t feel very confident for the strength of OF

I have also encountered different weird behaviors with Spark… missing users into groups for unknown reason. Difficulties to recover buddy lists properly after a server restart… multi client for same user issues…

As I introduced that IM system in my company where people don’t have that kind of culture, seeing all those little problems does not facilitate the easyness to deploy seamlessly that techno. I’d love to help but I’m afraid not having time for that.

Thank you for paying attention.