quicksc0p3r / simplecounter

Apache License 2.0
56 stars 11 forks source link

Import from JSON crashes the app when app is compiled with minify #22

Closed quicksc0p3r closed 7 months ago

quicksc0p3r commented 7 months ago

When app is compiled with minify, an attempt to import a JSON backup results in a crash with the following stack trace:

FATAL EXCEPTION: DefaultDispatcher-worker-1
                                                                                                    Process: org.quicksc0p3r.simplecounter, PID: 2188
                                                                                                    java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.lang.Iterable.iterator()' on a null object reference
                                                                                                        at A3.g$e$a.A(SourceFile:1)
                                                                                                        at G1.a.p(SourceFile:1)
                                                                                                        at i3.W.run(SourceFile:1)
                                                                                                        at n3.m$a.run(SourceFile:1)
                                                                                                        at p3.k.run(SourceFile:1)
                                                                                                        at p3.a.A(SourceFile:1)
                                                                                                        at p3.a$c.d(SourceFile:1)
                                                                                                        at p3.a$c.p(SourceFile:1)
                                                                                                        at p3.a$c.run(SourceFile:1)
                                                                                                        Suppressed: n3.i: [N0{Cancelling}@2a10f1a, Dispatchers.IO]