kaaes / spotify-web-api-android

A wrapper for Spotify Web API. It uses Retrofit to create Java interfaces from API endpoints
http://kaaes.github.io/spotify-web-api-android
MIT License
379 stars 139 forks source link

Proguard issues #137

Closed ZinoKader closed 8 years ago

ZinoKader commented 8 years ago

I'm getting this error no matter how long the query is. I've excluded the library from obfuscation "-keep class kaaes.". When not using proguard, this error isn't present.

This is the exception:

08-03 21:42:24.737 29594-29594/se.zinokader.spotiq W/System.err: java.lang.NullPointerException: Attempt to read from field 'java.util.List kaaes.spotify.webapi.android.models.Pager.b' on a null object reference 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at se.zinokader.spotiq.c.f.a(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at se.zinokader.spotiq.c.f.call(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.internal.operators.OnSubscribeDefer.a(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.internal.operators.OnSubscribeDefer.call(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.Observable.a(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.internal.operators.OperatorSubscribeOn$1.a(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.a(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at rx.internal.schedulers.ScheduledAction.run(Unknown Source) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) 08-03 21:42:24.747 29594-29594/se.zinokader.spotiq W/System.err: at java.lang.Thread.run(Thread.java:818)