java.lang.NoSuchMethodError: okio.BufferedSource.select(Lokio/Options;)I

GitHub | Zizekftw | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    NoSuchMethodError on okio.BufferedSource.select(Lokio/Options) using PTC Accounts

    GitHub | 8 months ago | Zizekftw
    java.lang.NoSuchMethodError: okio.BufferedSource.select(Lokio/Options;)I

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      okio.BufferedSource.select(Lokio/Options;)I

      at com.squareup.moshi.BufferedSourceJsonReader.selectName()
    2. com.squareup.moshi
      JsonAdapter.fromJson
      1. com.squareup.moshi.BufferedSourceJsonReader.selectName(BufferedSourceJsonReader.java:564)
      2. com.squareup.moshi.ClassJsonAdapter.fromJson(ClassJsonAdapter.java:147)
      3. com.squareup.moshi.JsonAdapter$1.fromJson(JsonAdapter.java:68)
      4. com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:33)
      5. com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:37)
      5 frames
    3. com.pokegoapi.auth
      PtcCredentialProvider.<init>
      1. com.pokegoapi.auth.PtcCredentialProvider.login(PtcCredentialProvider.java:157)
      2. com.pokegoapi.auth.PtcCredentialProvider.<init>(PtcCredentialProvider.java:111)
      2 frames
    4. ink.abb.pogo
      PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke
      1. ink.abb.pogo.scraper.MainKt.getAuth(Main.kt:72)
      2. ink.abb.pogo.scraper.MainKt.startBot(Main.kt:194)
      3. ink.abb.pogo.scraper.MainKt.startBot$default(Main.kt:157)
      4. ink.abb.pogo.scraper.services.BotService.submitBot(BotService.kt:42)
      5. ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:85)
      6. ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$$inlined$forEach$lambda$1.invoke(PokemonGoBotApplication.kt:67)
      6 frames
    5. kotlin.concurrent
      ThreadsKt$thread$thread$1.run
      1. kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)
      1 frame