Project Information
Repository:
https://github.com/Chooloo/call_manageProject Name: Koler
The issue submitted on GitHub:https://github.com/Chooloo/call_manage/issues/26
My github link: https://github.com/darewealth
Describe the bug
The behavior is a bit strange because it affects two things. Sometimes when I just click the call function without adding any number, the app will crash. Other regular behavior is when I click the call function to dial out, which it will dial a certain unknown number. Then if I stop the call, and dial back after 10 secs, the app will crash.
To Reproduce
Open the app
Click on the dial pad
Click on the call button, let it dial and cut the call
Wait for some seconds. Maybe 10sec or more and re-click again.
Expected behavior
Crash causes hinderances and I don't expect to encounter one while performing such activity in the app.
Screenshots
Smartphone
Device: [Gionee X1]
OS: [7.0]
Version [0.3.1]
Log
06-19 18:50:30.930 16342 16342 E AndroidRuntime: Process: com.chooloo.www.callmanager, PID: 16342
06-19 18:50:30.930 16342 16342 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.chooloo.www.callmanager/com.chooloo.www.callmanager.ui.activity.OngoingCallActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2417)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2477)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1345)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5452)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:671)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at com.chooloo.www.callmanager.util.CallManager.getDisplayContact(CallManager.java:221)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at com.chooloo.www.callmanager.ui.activity.OngoingCallActivity.displayInformation(OngoingCallActivity.java:522)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at com.chooloo.www.callmanager.ui.activity.OngoingCallActivity.onCreate(OngoingCallActivity.java:199)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6305)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1110)
06-19 18:50:30.930 16342 16342 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2370)
06-19 18:50:```
Hi @darewealth, thanks for making this contribution.
The log is pretty precise and can still be supported with a detailed explanation. I see the PO has given the ticket the bug label. Hopefully a fix is in the works. A partial fix will be to include a catch block for when no number is entered before dial.
Good of you to have shared this. 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]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for your review, @fego! Keep up the good work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @darewealth!
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey, @darewealth!
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!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit