[PdfViewer][v2.8]The app crashes if i enable navigation bar color.

in #utopian-io5 years ago (edited)

Related Information

  • Repository:https://github.com/JavaCafe01/PdfViewer
  • Submitted issue:here
  • Github account:here

    Actual Behaviour


    App crashes if i enable navigation bar color.

    Expected behavior


    Expected that i can enable navigation bar color without crashing the app and can use normally.

    Step to reproduce

  1. Install and open the app
  2. click three horizontal dot in top bar.
  3. Click change theme
  4. Enable Navigation bar color.
  5. Click back sign
  6. See the error

Information

  • App version:v2.8
  • OS:Android 9.0
  • Device:Samsung A10

Recording Of The Bug

LogCat


06-03 06:54:01.271  6252  6252 E AndroidRuntime: FATAL EXCEPTION: main
06-03 06:54:01.271  6252  6252 E AndroidRuntime: Process: com.gsnathan.pdfviewer, PID: 6252
06-03 06:54:01.271  6252  6252 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at com.jaredrummler.cyanea.b.e.m(Unknown Source:83)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at com.jaredrummler.cyanea.b.e.b(Unknown Source:8)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at com.jaredrummler.cyanea.a.d.onStart(Unknown Source:7)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1395)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.Activity.performStart(Activity.java:7348)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3139)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:180)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:165)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:142)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1955)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:106)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:214)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:7073)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
06-03 06:54:01.271  6252  6252 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)

Sort:  

Hi @masudrana, thanks for making this contribution.

I can see the project maintainer has acknowledged and fixed the issue in the application's latest release version.

Thanks for providing us with a crash log. It must have been really helpful. Apparently, the cause lies here

Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference

But this looks more UI related, bugs that affect the application's look and feel are considered cosmetic and trivial at best. For instance, the color of the navigation bar is insignificant when compared to the major features of the app.

Thanks again for the report. I look forward to your future contributions.

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 @masudrana!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Hey, @masudrana!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.31
TRX 0.11
JST 0.034
BTC 64852.72
ETH 3178.07
USDT 1.00
SBD 4.20