Exception thrown in
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.deliverToBareJID
when sending groupchat message
----------------------------------------------------------------------------------------------------------------------------------------------
Key: VYSPER-183
URL: https://issues.apache.org/jira/browse/VYSPER-183
Project: VYSPER
Issue Type: Bug
Components: core protocol
Reporter: Niklas Gustavsson
When a client sends a message to a room in MUC, an exception is thrown in
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.deliverToBareJID().
The following is the log file (with some extras from such a run):
stanza.client INFO message.body.Fooo
stanza.client DEBUG Received stanza: <message id="ml1g6-10"
to="[email protected]" type="groupchat"><body>Fooo</body></message>
org.apache.vysper.xmpp.modules.extension.xep0045_muc.handler.MUCMessageHandler
DEBUG Received message for MUC
org.apache.vysper.xmpp.modules.extension.xep0045_muc.handler.MUCMessageHandler
DEBUG Received groupchat message to [email protected]
org.apache.vysper.xmpp.modules.extension.xep0045_muc.handler.MUCMessageHandler
DEBUG Relaying message to all room occupants
org.apache.vysper.xmpp.modules.extension.xep0045_muc.handler.MUCMessageHandler
DEBUG Relaying message to [email protected]/334074766a8d457a8254cb06d04a3dc5
org.apache.vysper.xmpp.modules.extension.xep0045_muc.handler.MUCMessageHandler
DEBUG Relaying message to [email protected]/50932ac5d36e42e2b8759fbbf7e424a2
Relay.deliver() to [email protected]/334074766a8d457a8254cb06d04a3dc5
Relay.deliver() to [email protected]
Relay.deliver() to [email protected]/50932ac5d36e42e2b8759fbbf7e424a2
Relay.deliverToBareJID <message id="ml1g6-10" to="[email protected]"
type="groupchat"
from="[email protected]/50932ac5d36e42e2b8759fbbf7e424a2"><body>Fooo</body></message>
stanza.server INFO message.body.Fooo
stanza.server INFO Sent stanza: <message id="ml1g6-10"
to="[email protected]/334074766a8d457a8254cb06d04a3dc5" type="groupchat"
from="[email protected]/Nick"><body>Fooo</body></message>
org.apache.vysper.xmpp.delivery.failure.ServiceNotAvailableException
at
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.deliverToBareJID(DeliveringInboundStanzaRelay.java:207)
at
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.deliver(DeliveringInboundStanzaRelay.java:178)
at
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.call(DeliveringInboundStanzaRelay.java:133)
at
org.apache.vysper.xmpp.delivery.inbound.DeliveringInboundStanzaRelay$Relay.call(DeliveringInboundStanzaRelay.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
Relay.deliver() to [email protected]/50932ac5d36e42e2b8759fbbf7e424a2
stanza.server INFO message.body.Fooo
stanza.server INFO Sent stanza: <message id="ml1g6-10"
to="[email protected]/50932ac5d36e42e2b8759fbbf7e424a2" type="groupchat"
from="[email protected]/Nick"><body>Fooo</body></message>
stanza.server INFO message.body.Fooo
stanza.server INFO Sent stanza: <message
to="[email protected]/50932ac5d36e42e2b8759fbbf7e424a2" from="chat.vysper.org"
type="error" id="ml1g6-10"><body>Fooo</body><error
type="cancel"><service-unavailable
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></service-unavailable><text
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">stanza could not be
delivered</text></error></message>
As seen above, the message is successfully processed by the MUC module before
the exception is thrown. Even though not seen in the log above, the exception
happens on relaying a message to [email protected].
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.