Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GithubApi exception when using kobalt offline #105

Closed
pabl0rg opened this issue Jan 18, 2016 · 5 comments
Closed

GithubApi exception when using kobalt offline #105

pabl0rg opened this issue Jan 18, 2016 · 5 comments

Comments

@pabl0rg
Copy link
Contributor

pabl0rg commented Jan 18, 2016

Exception in thread "main" java.util.concurrent.ExecutionException: kotlin.TypeCastException: null cannot be cast to non-null type retrofit.mime.TypedByteArray
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at com.beust.kobalt.Main.run(Main.kt:102)
at com.beust.kobalt.MainKt.mainNoExit(Main.kt:48)
at com.beust.kobalt.MainKt.main(Main.kt:30)
Caused by: kotlin.TypeCastException: null cannot be cast to non-null type retrofit.mime.TypedByteArray
at com.beust.kobalt.misc.GithubApi.parseRetrofitError(GithubApi.kt:40)
at com.beust.kobalt.misc.GithubApi.access$parseRetrofitError(GithubApi.kt:26)
at com.beust.kobalt.misc.GithubApi$latestKobaltVersion$callable$1.call(GithubApi.kt:139)
at com.beust.kobalt.misc.GithubApi$latestKobaltVersion$callable$1.call(GithubApi.kt:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

@cbeust
Copy link
Owner

cbeust commented Jan 18, 2016

That's easy to fix, don't go offline.

Just kidding :-)

Will investigate.

@pabl0rg
Copy link
Contributor Author

pabl0rg commented Jan 18, 2016

Hahaha. :)

@sargunv
Copy link
Contributor

sargunv commented Jan 29, 2016

I also sometimes, but not always, get this on my Travis builds.

https://travis-ci.org/sargunster/CakeParse/builds/105778403#L259

@cbeust
Copy link
Owner

cbeust commented Jan 29, 2016

I also notice an NPE at the beginning of the build, can you build with --log 2 and send me a link to the next travis build that shows this error?

It may or may not be related to the GithubApi problem you're seeing, not sure yet.

@sargunv
Copy link
Contributor

sargunv commented Jan 30, 2016

Will do.

@cbeust cbeust closed this as completed Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants