nhentai viewer v .1.01 app crash when try to open

PROJECT INFORMATION

REPOSITORIES:https://github.com/ttdyce/NHentaiViewer
ISSUES :https://github.com/ttdyce/NHentaiViewer/issues/1
Describe the bug
app crash when try to open
To Reproduce
Steps to reproduce the behavior:
-download and open the app and note the error
Expected behavior
i expect i can open and use the as well
Screenshots

Smartphone (please complete the following information):

  • Device: [e.g. oppo neo 5]
  • OS: [e.g. android 6.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. latest realeas signed apk]

Additional context

Process: personal.ttd.nhviewer, PID: 5987
java.lang.RuntimeException: Unable to start activity ComponentInfo{personal.ttd.nhviewer/personal.ttd.nhviewer.Controller.MainActivity}: java.lang.NullPointerException: Attempt to get length of null array
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2525)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2617)
    at android.app.ActivityThread.access$800(ActivityThread.java:182)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474)
    at android.os.Handler.dispatchMessage(Handler.java:111)
    at android.os.Looper.loop(Looper.java:218)
    at android.app.ActivityThread.main(ActivityThread.java:5657)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785)
Caused by: java.lang.NullPointerException: Attempt to get length of null array
    at personal.ttd.nhviewer.Model.Saver.JSONSaver.getCollectionList(JSONSaver.java:225)
    at personal.ttd.nhviewer.Model.comic.Collection.loadCollection(Collection.java:55)
    at personal.ttd.nhviewer.Controller.MainActivity.initCollection(MainActivity.java:225)
    at personal.ttd.nhviewer.Controller.MainActivity.init(MainActivity.java:129)
    at personal.ttd.nhviewer.Controller.MainActivity.onCreate(MainActivity.java:118)
    at android.app.Activity.performCreate(Activity.java:6135)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2472)
    ... 10 more```
H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center