java.lang.IllegalArgumentException: Illegal JID: @conference.wroot

JIRA | wroot | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When trying to create a room with JID <blabla> it throws an exception (below). It should show a warning about illegal characters in JID. I think niess has already done similar fixes in conferences JIDs, so maybe it can be "copied" into rooms naming code. {code} java.lang.IllegalArgumentException: Illegal JID: @conference.wroot at org.xmpp.packet.JID.(JID.java:546) at org.xmpp.packet.JID.(JID.java:500) at org.jivesoftware.openfire.admin.muc_002droom_002dedit_002dform_jsp._jspService(muc_002droom_002dedit_002dform_jsp.java:90) 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:530) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216) 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:1187) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: The input is not a valid JID node: at org.xmpp.packet.JID.nodeprep(JID.java:262) at org.xmpp.packet.JID.(JID.java:533) ... 37 more Caused by: gnu.inet.encoding.StringprepException: Contains prohibited code points. at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:193) at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:146) at org.xmpp.packet.JID.nodeprep(JID.java:248) ... 38 more {code}

    Jive Software Open Source | 7 years ago | wroot
    java.lang.IllegalArgumentException: Illegal JID: @conference.wroot
  2. 0

    When trying to create a room with JID <blabla> it throws an exception (below). It should show a warning about illegal characters in JID. I think niess has already done similar fixes in conferences JIDs, so maybe it can be "copied" into rooms naming code. {code} java.lang.IllegalArgumentException: Illegal JID: @conference.wroot at org.xmpp.packet.JID.(JID.java:546) at org.xmpp.packet.JID.(JID.java:500) at org.jivesoftware.openfire.admin.muc_002droom_002dedit_002dform_jsp._jspService(muc_002droom_002dedit_002dform_jsp.java:90) 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:530) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216) 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:1187) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: The input is not a valid JID node: at org.xmpp.packet.JID.nodeprep(JID.java:262) at org.xmpp.packet.JID.(JID.java:533) ... 37 more Caused by: gnu.inet.encoding.StringprepException: Contains prohibited code points. at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:193) at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:146) at org.xmpp.packet.JID.nodeprep(JID.java:248) ... 38 more {code}

    JIRA | 7 years ago | wroot
    java.lang.IllegalArgumentException: Illegal JID: @conference.wroot
  3. 0

    When trying to create a room with JID <blabla> it throws an exception (below). It should show a warning about illegal characters in JID. I think niess has already done similar fixes in conferences JIDs, so maybe it can be "copied" into rooms naming code. {code} java.lang.IllegalArgumentException: Illegal JID: @conference.wroot at org.xmpp.packet.JID.(JID.java:546) at org.xmpp.packet.JID.(JID.java:500) at org.jivesoftware.openfire.admin.muc_002droom_002dedit_002dform_jsp._jspService(muc_002droom_002dedit_002dform_jsp.java:90) 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:530) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216) 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:1187) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494) at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalArgumentException: The input is not a valid JID node: at org.xmpp.packet.JID.nodeprep(JID.java:262) at org.xmpp.packet.JID.(JID.java:533) ... 37 more Caused by: gnu.inet.encoding.StringprepException: Contains prohibited code points. at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:193) at gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:146) at org.xmpp.packet.JID.nodeprep(JID.java:248) ... 38 more {code}

    Jive Software Open Source | 7 years ago | wroot
    java.lang.IllegalArgumentException: Illegal JID: @conference.wroot
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. gnu.inet.encoding.StringprepException

      Contains prohibited code points.

      at gnu.inet.encoding.Stringprep.nodeprep()
    2. GNU IDN Library
      Stringprep.nodeprep
      1. gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:193)
      2. gnu.inet.encoding.Stringprep.nodeprep(Stringprep.java:146)
      2 frames
    3. org.xmpp.packet
      JID.<init>
      1. org.xmpp.packet.JID.nodeprep(JID.java:248)
      2. org.xmpp.packet.JID.<init>(JID.java:533)
      3. org.xmpp.packet.JID.<init>(JID.java:500)
      3 frames
    4. org.jivesoftware.openfire
      muc_002droom_002dedit_002dform_jsp._jspService
      1. org.jivesoftware.openfire.admin.muc_002droom_002dedit_002dform_jsp._jspService(muc_002droom_002dedit_002dform_jsp.java:90)
      1 frame
    5. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
      2 frames
    8. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
      2 frames
    9. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
      1 frame
    10. org.jivesoftware.util
      LocaleFilter.doFilter
      1. org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)
      1 frame
    11. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
      1 frame
    12. org.jivesoftware.util
      SetCharacterEncodingFilter.doFilter
      1. org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)
      1 frame
    13. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
      1 frame
    14. org.jivesoftware.admin
      PluginFilter.doFilter
      1. org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
      1 frame
    15. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
      1 frame
    16. org.jivesoftware.admin
      AuthCheckFilter.doFilter
      1. org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)
      1 frame
    17. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)
      5. org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)
      8. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
      9. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      10. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
      11. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
      13. org.eclipse.jetty.server.Server.handle(Server.java:334)
      14. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)
      15. org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992)
      16. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)
      17. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
      18. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
      18 frames
    18. GWT dev
      SelectChannelEndPoint.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)
      1 frame
    19. Jetty
      QueuedThreadPool$2.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
      1 frame
    20. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame