java.lang.IllegalStateException: CometSession cannot be activated. Socket is closed!!

Google Groups | 汤慰生 | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    There is a run-time error

    Google Groups | 3 years ago | 汤慰生
    java.lang.IllegalStateException: CometSession cannot be activated. Socket is closed!!

    Root Cause Analysis

    1. java.lang.IllegalStateException

      CometSession cannot be activated. Socket is closed!!

      at org.openmobster.core.dataService.comet.CometSession.activate()
    2. org.openmobster.core
      ServerHandler.messageReceived
      1. org.openmobster.core.dataService.comet.CometSession.activate(CometSession.java:87)
      2. org.openmobster.core.dataService.comet.CometSessionManager.activate(CometSessionManager.java:219)
      3. org.openmobster.core.dataService.server.CommandController.execute(CommandController.java:79)
      4. org.openmobster.core.dataService.server.ServerHandler.messageReceived(ServerHandler.java:106)
      4 frames
    3. Apache MINA Core
      DefaultIoFilterChain$EntryImpl$1.messageReceived
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      4. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      4 frames
    4. org.openmobster.core
      AuthenticationFilter.messageReceived
      1. org.openmobster.core.dataService.server.AuthenticationFilter.messageReceived(AuthenticationFilter.java:81)
      1 frame
    5. Apache MINA Core
      DefaultIoFilterChain$EntryImpl$1.messageReceived
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      3 frames
    6. org.openmobster.core
      TransactionFilter.messageReceived
      1. org.openmobster.core.dataService.server.TransactionFilter.messageReceived(TransactionFilter.java:37)
      1 frame
    7. Apache MINA Core
      DefaultIoFilterChain$EntryImpl$1.messageReceived
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      3 frames
    8. org.openmobster.core
      RequestConstructionFilter.messageReceived
      1. org.openmobster.core.dataService.server.RequestConstructionFilter.messageReceived(RequestConstructionFilter.java:47)
      1 frame
    9. Apache MINA Core
      DefaultIoFilterChain$EntryImpl$1.messageReceived
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      3 frames
    10. org.openmobster.core
      PayloadFilter.messageReceived
      1. org.openmobster.core.dataService.server.PayloadFilter.messageReceived(PayloadFilter.java:52)
      1 frame
    11. Apache MINA Core
      OrderedThreadPoolExecutor$Worker.run
      1. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
      2. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
      4. org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
      5. org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
      6. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:769)
      7. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:761)
      8. org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:703)
      8 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame