Results 1 to 5 of 5
  1. #1

    The session will be closed. Cause: java.lang.IllegalStateException: Unexpected call o

    Hi everyone, i got this error what can i do?


    ```
    Unexpected call on dismissed batch manager: LS_reqId=15&LS_op=add&LS_subId=17&LS_mode=MERGE&LS _group=ISINCODE&LS_schema=instrumentId lastTradePriceChangePercent instrumentColor instrumentState instrumentName instrumentStateName companyName lastTradePrice lastTradePriceChange closingPrice closingPriceChange closingPriceChangePercent&LS_data_adapter=PopularI nstruments&LS_snapshot=false&
    2024-04-30 08:06:09.685 4753-4995 lightstreamer.threads itrader.develop E Uncaught exception
    java.lang.IllegalStateException: Unexpected call on dismissed batch manager
    at com.lightstreamer.client.protocol.HttpRequestManag er.addRequest(HttpRequestManager.java:270)
    at com.lightstreamer.client.protocol.TextProtocolHttp .sendControlRequest(TextProtocolHttp.java:40)
    at com.lightstreamer.client.protocol.TextProtocol.sen dSubscriptionRequest(TextProtocol.java:314)
    at com.lightstreamer.client.session.Session.sendSubsc ription(Session.java:986)
    at com.lightstreamer.client.session.SessionManager.se ndSubscription(SessionManager.java:640)
    at com.lightstreamer.client.SubscriptionManager.subsc ribe(SubscriptionManager.java:172)
    at com.lightstreamer.client.SubscriptionManager.doAdd (SubscriptionManager.java:105)
    at com.lightstreamer.client.SubscriptionManager$1.run (SubscriptionManager.java:91)
    at com.lightstreamer.client.session.SessionThread$1.r un(SessionThread.java:150)
    at com.lightstreamer.util.threads.LoggingRunnable.run (LoggingRunnable.java:35)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:462)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:301)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:923)
    at com.lightstreamer.util.threads.JoinableSchedulerPo olExecutor$1$1.run(JoinableSchedulerPoolExecutor.j ava:48)
    2024-04-30 08:06:09.685 4753-4995 lightstreamer.session trader.develop E A fatal error has occurred. The session will be closed. Cause: java.lang.IllegalStateException: Unexpected call on dismissed batch manager
    ```

  2. #2
    Which client version are you using?

    Can you provide a complete log of the scenario that led to the exception?

  3. #3
    2024-04-30 10:23:13.835 517-588 InputDispatcher system_server E channel 'c52cee0 trader.develop/trader.develop.android.trader.presentation.ui.Main Activity (server)' ~ Channel is unrecoverably broken and will be disposed!
    2024-04-30 10:24:55.419 8655-8939 lightstreamer.session trader.develop E Unexpected OK event while session is in status: RECEIVING
    2024-04-30 10:24:57.275 8655-8939 lightstreamer.requests trader.develop E Unexpected call on dismissed batch manager: LS_reqId=15&LS_op=add&LS_subId=17&LS_mode=MERGE&LS _group=IRO1 IRO9 IRO9&LS_schema=instrumentId lastTradePriceChangePercent instrumentColor instrumentState instrumentName instrumentStateName companyName lastTradePrice lastTradePriceChange closingPrice closingPriceChange closingPriceChangePercent&LS_data_adapter=PopularI nstruments&LS_snapshot=false&
    2024-04-30 10:24:57.276 8655-8939 lightstreamer.threads trader.develop E Uncaught exception
    java.lang.IllegalStateException: Unexpected call on dismissed batch manager
    at com.lightstreamer.client.protocol.HttpRequestManag er.addRequest(HttpRequestManager.java:270)
    at com.lightstreamer.client.protocol.TextProtocolHttp .sendControlRequest(TextProtocolHttp.java:40)
    at com.lightstreamer.client.protocol.TextProtocol.sen dSubscriptionRequest(TextProtocol.java:314)
    at com.lightstreamer.client.session.Session.sendSubsc ription(Session.java:986)
    at com.lightstreamer.client.session.SessionManager.se ndSubscription(SessionManager.java:640)
    at com.lightstreamer.client.SubscriptionManager.subsc ribe(SubscriptionManager.java:172)
    at com.lightstreamer.client.SubscriptionManager.doAdd (SubscriptionManager.java:105)
    at com.lightstreamer.client.SubscriptionManager$1.run (SubscriptionManager.java:91)
    at com.lightstreamer.client.session.SessionThread$1.r un(SessionThread.java:150)
    at com.lightstreamer.util.threads.LoggingRunnable.run (LoggingRunnable.java:35)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:462)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:266)
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.run(ScheduledThreadPoolExecutor .java:301)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:923)
    at com.lightstreamer.util.threads.JoinableSchedulerPo olExecutor$1$1.run(JoinableSchedulerPoolExecutor.j ava:48)
    2024-04-30 10:24:57.276 8655-8939 lightstreamer.session trader.develop E A fatal error has occurred. The session will be closed. Cause: java.lang.IllegalStateException: Unexpected call on dismissed batch manager

  4. #4
    Thank you for your attention
    Click image for larger version. 

Name:	Screenshot 2024-04-30 104741.png 
Views:	74 
Size:	14.7 KB 
ID:	276

  5. #5
    Please attach the log file capturing all events from the initiation to the termination of your application.


    Additionally, could you confirm whether the error persists if you switch to ls-android-client 4.2.8, or better yet, to version 5.1.1, instead of the current ls-android-client-compact version?

 

 

Similar Threads

  1. Closed session due to internal cause on server side
    By ManKeer in forum Adapter SDKs
    Replies: 1
    Last Post: August 28th, 2023, 08:26 AM
  2. Replies: 15
    Last Post: April 29th, 2022, 10:04 PM
  3. Replies: 1
    Last Post: November 5th, 2015, 10:30 AM
  4. Replies: 10
    Last Post: July 15th, 2009, 10:02 AM
  5. com.lightstreamer.i.jc cannot be cast to java.lang
    By ddhanis in forum Adapter SDKs
    Replies: 4
    Last Post: March 4th, 2009, 08:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 07:16 PM.