You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.
Description:
The error occurs when running normally and then resumes the normal process, this does happen multiple times.
Steps to reproduce:
Run the bot
Error while running
Continues normal process
Expected behavior:
Run smoothly without error
Actual behavior:
Runs for about 30 sec and error shows up frequently
Stacktrace (If it's a crash):
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.player.PlayerProfile.acceptLevelUpRewards(PlayerProfile.java:123)
at ink.abb.pogo.scraper.tasks.UpdateProfile.run(UpdateProfile.kt:32)
at ink.abb.pogo.scraper.Bot.task(Bot.kt:254)
at ink.abb.pogo.scraper.Bot$start$3.invoke(Bot.kt:137)
at ink.abb.pogo.scraper.Bot$start$3.invoke(Bot.kt:35)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:202)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:35)
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)
... 9 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)
... 11 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:296)
at java.lang.Thread.run(Thread.java:745)
Version:
0.6.0
Operating System:
OSX El Capitan v10.11.6
Java version:
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Leave this sentence in your issue as proof that you have read and used this template.
The text was updated successfully, but these errors were encountered:
@KEESSTARR this error comes from a profile update request which probably should failed
* Updates the player profile with the latest data.
*
* @throws LoginFailedException the login failed exception
* @throws RemoteServerException the remote server exception
*/
public void updateProfile() throws RemoteServerException, LoginFailedException {
GetPlayerMessage getPlayerReqMsg = GetPlayerMessage.newBuilder().build();
ServerRequest getPlayerServerRequest = new ServerRequest(RequestType.GET_PLAYER, getPlayerReqMsg);
api.getRequestHandler().sendServerRequests(getPlayerServerRequest);
Description:
The error occurs when running normally and then resumes the normal process, this does happen multiple times.
Steps to reproduce:
Expected behavior:
Run smoothly without error
Actual behavior:
Runs for about 30 sec and error shows up frequently
Stacktrace (If it's a crash):
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.player.PlayerProfile.acceptLevelUpRewards(PlayerProfile.java:123)
at ink.abb.pogo.scraper.tasks.UpdateProfile.run(UpdateProfile.kt:32)
at ink.abb.pogo.scraper.Bot.task(Bot.kt:254)
at ink.abb.pogo.scraper.Bot$start$3.invoke(Bot.kt:137)
at ink.abb.pogo.scraper.Bot$start$3.invoke(Bot.kt:35)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:202)
at ink.abb.pogo.scraper.Bot$runLoop$1.invoke(Bot.kt:35)
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)
... 9 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)
... 11 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:296)
at java.lang.Thread.run(Thread.java:745)
Version:
0.6.0
Operating System:
OSX El Capitan v10.11.6
Java version:
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
Leave this sentence in your issue as proof that you have read and used this template.
The text was updated successfully, but these errors were encountered: