Another interesting problem happens when trying to start a multi-user chat using user names containing an @ sign:
2008.03.10 17:25:15 [org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.processPacket(MultiU serChatServerImpl.java:250)
] Internal server error
java.lang.IllegalArgumentException: Illegal JID: stacee@company.com@server
at org.xmpp.packet.JID.init(JID.java:394)
at org.xmpp.packet.JID.<init>(JID.java:229)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:297)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:160)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.processPacket(MultiUs erChatServerImpl.java:247)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServerImpl.process(MultiUserChat ServerImpl.java:227)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:234)
at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:96)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:71)
at org.jivesoftware.openfire.net.StanzaHandler.processMessage(StanzaHandler.java:3 39)
at org.jivesoftware.openfire.net.ClientStanzaHandler.processMessage(ClientStanzaHa ndler.java:90)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:200)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:167)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:132)
at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:173)
at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)
at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)
at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)
at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)
at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jivesoftware.stringprep.IDNAException: Contains non-LDH characters.
at org.jivesoftware.stringprep.IDNA.toASCII(IDNA.java:106)
at org.jivesoftware.stringprep.IDNA.toASCII(IDNA.java:53)
at org.xmpp.packet.JID.init(JID.java:365)
… 28 more