NPE on EditorTileService#onStartListening
Closed this issue · 0 comments
yshrsmz commented
http://crashes.to/s/ec33a3b6eaf
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.service.quicksettings.Tile.setState(int)' on a null object reference
at net.yslibrary.monotweety.quicksetting.EditorTileService.onStartListening(EditorTileService.kt:49)
at android.service.quicksettings.TileService$H.handleMessage(TileService.java:398)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6176)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:888)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:778)
Tile should be available in onStartListening
though :(