java.lang.IllegalStateException: Timed out after 5168 ms trying to get the next val for trigger_hist

symmetricds | gyrem | 4 months ago
  1. 0

    Sybase db.driver results in Oracle error msg?

    symmetricds | 4 months ago | gyrem
    java.lang.IllegalStateException: Timed out after 5168 ms trying to get the next val for trigger_hist
  2. 0
    You should define the TestContext class in your classpath
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    You might've forgotten to initialize the cursor you're using.
  6. 0
    You can solve this by using an actual Service instead of an IntentService

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Timed out after 5168 ms trying to get the next val for trigger_hist

      at org.jumpmind.symmetric.service.impl.SequenceService.nextValFromDatabase()
    2. org.jumpmind.symmetric
      TriggerRouterService$2.run
      1. org.jumpmind.symmetric.service.impl.SequenceService.nextValFromDatabase(SequenceService.java:137)
      2. org.jumpmind.symmetric.service.impl.SequenceService$1.execute(SequenceService.java:118)
      3. org.jumpmind.symmetric.service.impl.SequenceService$1.execute(SequenceService.java:1)
      4. org.jumpmind.symmetric.service.impl.SequenceService$DoTransaction.execute(SequenceService.java:283)
      5. org.jumpmind.symmetric.service.impl.SequenceService.nextValFromDatabase(SequenceService.java:120)
      6. org.jumpmind.symmetric.service.impl.SequenceService.nextVal(SequenceService.java:91)
      7. org.jumpmind.symmetric.service.impl.TriggerRouterService.insert(TriggerRouterService.java:958)
      8. org.jumpmind.symmetric.service.impl.TriggerRouterService.rebuildTriggerIfNecessary(TriggerRouterService.java:1764)
      9. org.jumpmind.symmetric.service.impl.TriggerRouterService.updateOrCreateDatabaseTriggers(TriggerRouterService.java:1647)
      10. org.jumpmind.symmetric.service.impl.TriggerRouterService.updateOrCreateDatabaseTrigger(TriggerRouterService.java:1529)
      11. org.jumpmind.symmetric.service.impl.TriggerRouterService$2.run(TriggerRouterService.java:1515)
      11 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames