nhentai viewer v .1.01 app crash when try to open

in #utopian-io5 years ago

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```
Sort:  

Hi @muhammadarif, thanks for making this contribution

Unfortunately, this contribution cannot be scored. Looking at the release page, I can see the PO was aware of the issue and had already fixed it before you opened the ticket.

I apologise for any inconvenience as a result. I look forward to more of your reports.

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Hi, @muhammadarif!

You just got a 0.04% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.