java.lang.IllegalStateException: Uh oh! Event loop context executing with wrong thread! Expected null got Thread[globalEventExecutor-1-2,5,FailOnTimeoutGroup]

GitHub | vietj | 4 months ago
  1. 0

    EventLoopContext#executeFromIO fails when executed by Netty GlobalEventExecutor

    GitHub | 4 months ago | vietj
    java.lang.IllegalStateException: Uh oh! Event loop context executing with wrong thread! Expected null got Thread[globalEventExecutor-1-2,5,FailOnTimeoutGroup]
  2. 0

    java.lang.IllegalStateException: Uh oh! Event loop context executing with wrong thread!

    Google Groups | 1 month ago | Luis Trigueiros
    java.lang.IllegalStateException: Uh oh! Event loop context executing with wrong thread! Expected null got Thread[globalEventExecutor-1-2,5,main]
  3. 0
    You can solve this by using an actual Service instead of an IntentService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  6. 0
    Execute mvn dependency:tree from your project's root directory.

    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

      Uh oh! Event loop context executing with wrong thread! Expected null got Thread[globalEventExecutor-1-2,5,FailOnTimeoutGroup]

      at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2()
    2. Vert.x Core
      ChannelProvider.lambda$connect$0
      1. io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:303)
      2. io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:190)
      3. io.vertx.core.net.impl.NetClientImpl.failed(NetClientImpl.java:250)
      4. io.vertx.core.net.impl.NetClientImpl.lambda$connect$5(NetClientImpl.java:225)
      5. io.vertx.core.net.impl.ChannelProvider.lambda$connect$0(ChannelProvider.java:42)
      5 frames
    3. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:514)
      2. io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:488)
      3. io.netty.util.concurrent.DefaultPromise.access$000(DefaultPromise.java:34)
      4. io.netty.util.concurrent.DefaultPromise$1.run(DefaultPromise.java:438)
      5. io.netty.util.concurrent.GlobalEventExecutor$TaskRunner.run(GlobalEventExecutor.java:233)
      6. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
      6 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame