com.pokegoapi.exceptions.AsyncPokemonGoException

Unknown exception occurred.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web78

  • via GitHub by didierva
    , 11 months ago
    Unknown exception occurred.
  • via GitHub by fm360
    , 11 months ago
    Unknown exception occurred.
  • Unknown exception occurred.
  • Stack trace

    • com.pokegoapi.exceptions.AsyncPokemonGoException: Unknown exception occurred. at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:45) at com.pokegoapi.main.RequestHandler.sendServerRequests(RequestHandler.java:155) at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:108) at com.pokegoapi.api.inventory.Inventories.updateInventories(Inventories.java:84) at com.pokegoapi.api.player.PlayerProfile.getStats(PlayerProfile.java:304) at ink.abb.pogo.scraper.Bot.<init>(Bot.kt:41) at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:142) at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:84) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null at rx.exceptions.Exceptions.propagate(Exceptions.java:58) at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:465) at rx.observables.BlockingObservable.first(BlockingObservable.java:168) at com.pokegoapi.util.AsyncHelper.toBlocking(AsyncHelper.java:37) ... 10 more Caused by: java.util.concurrent.ExecutionException: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:109) at com.pokegoapi.main.RequestHandler$1.get(RequestHandler.java:86) at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:74) at rx.internal.operators.OnSubscribeToObservableFuture$ToObservableFuture.call(OnSubscribeToObservableFuture.java:43) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48) at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30) at rx.Observable.subscribe(Observable.java:9957) at rx.Observable.subscribe(Observable.java:9924) at rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:445) ... 12 more Caused by: com.google.protobuf.InvalidProtocolBufferException: Contents of buffer are null at com.pokegoapi.main.ServerRequest.getData(ServerRequest.java:78) at com.pokegoapi.main.RequestHandler.run(RequestHandler.java:293) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.