java.lang.ClassCastException: uÐA·MH‹]ØÁá‹\Ë@ãÿ cannot be cast to java.lang.St

mobac | henrymuc | 5 years ago
  1. 0

    ClassCastException

    mobac | 5 years ago | henrymuc
    java.lang.ClassCastException: uÐA·MH‹]ØÁá‹\Ë@ãÿ cannot be cast to java.lang.St
  2. 0

    There's JID vs String confusion in the webadmin console. From the original report (on the Ignite forum): {quote}(...) I installed Openfire 3.8 (...) I am facing a issue with Chat Group Service Settings. I created an Chat Group Service. By default Room Creation Permission is Anyone can create a chat room. But when I to change to Only specific users can create a chat room, --> Save Settings, Then it ask for Allowed Users. In Add User (JID) what ever I give it gives error. {code} java.lang.ClassCastException: org.xmpp.packet.JID cannot be cast to java.lang.String at org.jivesoftware.openfire.admin.muc_002dcreate_002dpermission_jsp._jspService(m uc_002dcreate_002dpermission_jsp.java:229) 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 com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) 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(Unknown Source){code}{quote}

    Jive Software Open Source | 4 years ago | Guus der Kinderen
    java.lang.ClassCastException: org.xmpp.packet.JID cannot be cast to java.lang.String at org.jivesoftware.openfire.admin.muc_002dcreate_002dpermission_jsp._jspService(m uc_002dcreate_002dpermission_jsp.java:229)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JDK-8059926] java.lang.ClassCastException: [Ljava.lang.Number; cannot be cast to [Ljava.lang.Integer; - Java Bug System

    java.net | 11 months ago
    java.lang.ClassCastException: [Ljava.lang.Number; cannot be cast to [Ljava.lang.Integer; at Test$$Lambda$1/980546781.m(Unknown Source)
  5. 0

    There's JID vs String confusion in the webadmin console. From the original report (on the Ignite forum): {quote}(...) I installed Openfire 3.8 (...) I am facing a issue with Chat Group Service Settings. I created an Chat Group Service. By default Room Creation Permission is Anyone can create a chat room. But when I to change to Only specific users can create a chat room, --> Save Settings, Then it ask for Allowed Users. In Add User (JID) what ever I give it gives error. {code} java.lang.ClassCastException: org.xmpp.packet.JID cannot be cast to java.lang.String at org.jivesoftware.openfire.admin.muc_002dcreate_002dpermission_jsp._jspService(m uc_002dcreate_002dpermission_jsp.java:229) 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 com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) 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(Unknown Source){code}{quote}

    Jive Software Open Source | 4 years ago | Guus der Kinderen
    java.lang.ClassCastException: org.xmpp.packet.JID cannot be cast to java.lang.String at org.jivesoftware.openfire.admin.muc_002dcreate_002dpermission_jsp._jspService(m uc_002dcreate_002dpermission_jsp.java:229)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      uÐA·MH‹]ØÁá‹\Ë@ãÿ cannot be cast to java.lang.St

      at $Proxy3.name()
    2. Unknown
      $Proxy3.name
      1. $Proxy3.name(Unknown Source)
      1 frame
    3. Java RT
      JAXBContext.newInstance
      1. com.sun.xml.internal.bind.v2.model.annotation.XmlRootElementQuick.name(Unknown Source)
      2. com.sun.xml.internal.bind.v2.model.impl.TypeInfoImpl.parseElementName(Unknown Source)
      3. com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.<init>(Unknown Source)
      4. com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.<init>(Unknown Source)
      5. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(Unknown Source)
      6. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createClassInfo(Unknown Source)
      7. com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source)
      8. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
      9. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
      10. com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source)
      11. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
      12. com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
      13. com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source)
      14. com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source)
      15. com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source)
      16. com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(Unknown Source)
      17. com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source)
      18. com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source)
      19. com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source)
      20. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      22. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      23. java.lang.reflect.Method.invoke(Unknown Source)
      24. javax.xml.bind.ContextFinder.newInstance(Unknown Source)
      25. javax.xml.bind.ContextFinder.find(Unknown Source)
      26. javax.xml.bind.JAXBContext.newInstance(Unknown Source)
      27. javax.xml.bind.JAXBContext.newInstance(Unknown Source)
      27 frames
    4. mobac.program.model
      Settings.save
      1. mobac.program.model.Settings.save(Settings.java:277)
      1 frame
    5. mobac.program
      EnvironmentSetup.checkFileSetup
      1. mobac.program.EnvironmentSetup.checkFileSetup(EnvironmentSetup.java:110)
      1 frame
    6. mobac
      Main.<init>
      1. mobac.Main.<init>(Main.java:51)
      1 frame
    7. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      5. java.lang.Class.newInstance0(Unknown Source)
      6. java.lang.Class.newInstance(Unknown Source)
      6 frames
    8. mobac
      StartMOBAC.main
      1. mobac.StartMOBAC.main(StartMOBAC.java:43)
      1 frame