execution failed for task ':run'
This is what happened to me when i ran the last build i don't realy know how it happaned. I can log in but then it crashes
like this
I did all these steps |-Clone this repo: `git clone
||-Run git submodule update --init --recursive
|||-Run from terminal/cmd: gradlew build
||||-Rename ./config.properties.template to ./config.properties
|||||-Modify config.properties as you please
||||||-To run the bot directly from console run gradlew run
Stacktrace http://pastebin.com/PSd1rrGx
Version: latest on 29-07-2016 13:50
Operating System: windows 10 pro
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)
Duplicate of #627
Quick fix for that https://github.com/jabbink/PokemonGoBot/blob/develop/src/main/kotlin/ink/abb/pogo/scraper/Bot.kt#L91-L98
Use try-catch there
do {
try {
reply = api.map.mapObjects
Log.normal("Got ${reply.pokestops.size} pokestops")
if (reply == null || reply.pokestops.size == 0) {
Log.red("Retrying in $sleepTimeout seconds...")
Thread.sleep(sleepTimeout * 1000)
}
} catch (e : Exception){}
} while (reply == null || reply.pokestops.size == 0)
Duplicate, closing.
its not anout the
Contents of buffer are null
you refering to
my problem is about the
execution failed for task run
The fix provided by @pashorizer will let the task "run" (in fact is it a build + run, and the run part fails here) pass, but running it will still throw a LOT of exceptions.
Try to go to /lib/pokemonjavaapi (something like this) and git pull origin Development
can't find it