Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1054

IllegalStateException when destroying MUC room prevents unavailable broadcast to be sent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.0.1, 4.1.0
    • Component/s: MUC
    • Labels:
      None

      Description

      2016.01.21 15:34:36 org.jivesoftware.openfire.muc.spi.LocalMUCRoom - This JID was instantiated without a resource identifier. A full JID representation is not available for: room@conference.domain
      java.lang.IllegalStateException: This JID was instantiated without a resource identifier. A full JID representation is not available for: room@conference.domain
      at org.xmpp.packet.JID.toFullJID(JID.java:688)
      at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.destroyRoom(LocalMUCRoom.java:964)
      at org.jivesoftware.openfire.muc.cluster.DestroyRoomRequest$1.run(DestroyRoomRequest.java:65)
      at org.jivesoftware.openfire.muc.cluster.MUCRoomTask.execute(MUCRoomTask.java:85)
      at org.jivesoftware.openfire.muc.cluster.DestroyRoomRequest.run(DestroyRoomRequest.java:63)
      at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.destroyRoom(LocalMUCRoom.java:990)
      at org.jivesoftware.openfire.muc.spi.IQOwnerHandler.handleIQ(IQOwnerHandler.java:130)
      at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:413)
      at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:191)
      at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:331)
      at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:591)
      at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:401)
      at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:243)
      at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:331)
      at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:123)
      at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)
      at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:330)
      at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler.java:93)
      at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:295)
      at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:187)
      at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:177)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
      at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769)
      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761)
      at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703)
      at java.lang.Thread.run(Unknown Source) 
      

      See http://xmpp.org/extensions/xep-0045.html#destroyroom example 202.

      Occupants don't get notified when the room gets destroyed.

        Attachments

          Activity

            People

            Assignee:
            csh csh
            Reporter:
            csh csh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: