crash when search whit no valid data presented

in #utopian-io5 years ago

project information

expected behavior

when pressing the search button it should display the search page and allow the user to search

actual behavior

when the user uses the search option, after typing 1 letter the application crashes immediately

how to reproduce

  • open the app

  • click setting

  • than chose general

  • than change song addres whit another web

  • than go back and refresh and click search option and type any word and see if the app will crash

recording of the bug

log cat

    at org.zephyrsoft.sdbviewer.SongListActivity.applyFilter(SongListActivity.java:133)
    at org.zephyrsoft.sdbviewer.SongListActivity.handleSearchText(SongListActivity.java:127)
    at org.zephyrsoft.sdbviewer.SongListActivity.access$000(SongListActivity.java:41)
    at org.zephyrsoft.sdbviewer.SongListActivity$1.onQueryTextChange(SongListActivity.java:117)
    at android.widget.SearchView.onTextChanged(SearchView.java:1228)
    at android.widget.SearchView.access$2000(SearchView.java:98)
    at android.widget.SearchView$10.onTextChanged(SearchView.java:1712)
    at android.widget.TextView.sendOnTextChanged(TextView.java:8190)
    at android.widget.TextView.handleTextChanged(TextView.java:8253)
    at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:10069)
    at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:982)
    at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:528)
    at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:465)
    at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:38)
    at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:693)
    at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:453)
    at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:340)
    at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:78)
    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)````

device: android 6.1
submit issues
https://github.com/mathisdt/sdbviewer/issues/10
Sort:  

Hi @muhammadarif, thanks for making this report.

I was able to reproduce the error just as you suggested. I see you omitted some vital part of stack trace but I found it in the ticket opened in the app's github repo. It is a good find and the PO have you to praise since the logcat you provided made his job easier.

I saw in the comment section you asked the PO to label the issue as a bug. Please, this is really unnecessary. The label is one way the PO acknowledges a bug, one other way is through his comment. In this case, your issue was acknowledged with a comment and that was enough.

Lastly, I will advise you to properly crosscheck that your markdown formatting is working correctly before posting. This will give your reports a cleaner look. Also, work on your use of the English language. You had some badly placed tenses

I look forward to seeing these improvements in your future 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!

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

Hi, @muhammadarif!

You just got a 0.06% 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.

Hey, @muhammadarif!

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.26
TRX 0.13
JST 0.032
BTC 61663.08
ETH 2893.40
USDT 1.00
SBD 3.48