Quantcast
Channel: Ignite Realtime : Popular Discussions - Fastpath Webchat
Viewing all articles
Browse latest Browse all 1605

ClassCastException occured on web chat popup window.

$
0
0

I have checked out latest code from svn of openfire and fastpath webchat projet in eclipse 3.7. Build it and put the webchat.war (From:<fastpath-webchat-project>/target/plugin) file in opefirefires target/openfire/plugin folder.

 

Then opened Fastpath > Tools page from openfire application (Running from localhost:9090). I found that chat icon is missing, But managed to click on the link of that image. Webchat popup window opened, but displaying the following exception.

 

 

Online Chat Service

   
        Our chat service is unavailable at this time. Please check back soon.     
      java.lang.ClassCastException: com.jivesoftware.smack.workgroup.settings.OfflineSettings cannot be cast to org.jivesoftware.smackx.workgroup.settings.OfflineSettings     at org.jivesoftware.smackx.workgroup.user.Workgroup.getOfflineSettings(Workgroup.j ava:726)     at org.jivesoftware.webclient.jsp.email.leave_002da_002dmessage_jsp._jspService(le ave_002da_002dmessage_jsp.java:88)     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.ja va:1359)     at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)     at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va: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:22 7)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:94 1)     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(ContextHandler Collection.java:250)     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a: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.headerComplete(HttpConne ction.java:919)     at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:582)     at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)     at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51 )     at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.jav a: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(Thread.java:662)     

 

I have found another forum entry

http://community.igniterealtime.org/message/175788#175788

Could this be related?

 

I browsed svn repository of this fastpath-webchat project, and found a change in the file

http://fisheye.igniterealtime.org/browse/fastpath/webchat/trunk/src/webapp/email /leave-a-message.jsp?r2=12985&r1=10482

Could this changes be related with the exception, which I am getting?

 

Any guidance in this regard shall be highly appriciated.


Viewing all articles
Browse latest Browse all 1605

Trending Articles