create account

App crashes when clicked on the add files icon in the "Search" activity by godwyn

View this thread on: hive.blogpeakd.comecency.com
· @godwyn · (edited)
$0.17
App crashes when clicked on the add files icon in the "Search" activity
#### Githup [repo](https://github.com/gateship-one/malp)

#### Expected behavior
I expected the app to open an activity where the user can add files or select files, successfully without crashing. 

#### Actual behavior
At the "Search " activity when I click on the add files icon in the toolbar, the app crashes and exit. 

#### How to reproduce
* Download the app from [F-droid](https://f-droid.org/app/org.gateshipone.malp)
* Launch the app
* From the nav drawer, click on "Search "
* At the search activity in the toolbar,click on the add files icon(the plus icon at the right) 
* App crashes and exit.


* Version : Version 1.1.15(release-24)
* Device : Gionee A1 lite
* Operating system : Android 7.0


#### Recording of the Bug

https://m.youtube.com/watch?v=d_8eyJWx8-w


#### Logcat

05-25 19:59:55.964 29520-29544/? E/AndroidRuntime: FATAL EXCEPTION: AndroMPD-QueryHandler
                                                   Process: org.gateshipone.malp, PID: 29520
                                                   java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference
                                                       at org.gateshipone.malp.mpdservice.mpdprotocol.MPDCommands.escapeString(MPDCommands.java:327)
                                                       at org.gateshipone.malp.mpdservice.mpdprotocol.MPDCommands.MPD_COMMAND_SEARCH_FILES(MPDCommands.java:279)
                                                       at org.gateshipone.malp.mpdservice.mpdprotocol.MPDInterface.getSearchedFiles(MPDInterface.java:530)
                                                       at org.gateshipone.malp.mpdservice.handlers.serverhandler.MPDQueryHandler.handleMessage(MPDQueryHandler.java:517)
                                                       at android.os.Handler.dispatchMessage(Handler.java:110)
                                                       at android.os.Looper.loop(Looper.java:203)
                                                       at android.os.HandlerThread.run(HandlerThread.java:61)
05-25 19:59:56.589 1607-1617/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorgodwyn
permlinkapp-crashes-when-clicked-on-the-add-files-icon-in-the-search-activity
categoryutopian-io
json_metadata{"tags":["utopian-io","bug-hunting"],"image":["https://img.youtube.com/vi/d_8eyJWx8-w/0.jpg"],"links":["https://github.com/gateship-one/malp","https://f-droid.org/app/org.gateshipone.malp","https://m.youtube.com/watch?v=d_8eyJWx8-w"],"app":"steemit/0.1","format":"markdown"}
created2018-05-25 18:03:30
last_update2018-05-25 19:15:15
depth0
children1
last_payout2018-06-01 18:03:30
cashout_time1969-12-31 23:59:59
total_payout_value0.160 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,249
author_reputation5,434,410,437,644
root_title"App crashes when clicked on the add files icon in the "Search" activity"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id57,679,081
net_rshares45,958,632,336
author_curate_reward""
vote details (48)
@tykee ·
Hello, thank you for your contribution, but the project you are contributing to is on Utopian Repos Blacklist and no contribution on the project can be considered for possible reward. Read [Utopian Policies and  Guidelines](https://join.utopian.io/guidelines/) to know the latest update.

We appreciate your effort...Thank you once again!


----------------------------------------------------------------------
Need help? Write a ticket on https://support.utopian.io.
Chat with us on [Discord](https://discord.gg/uTyJkNm).

**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authortykee
permlinkre-godwyn-app-crashes-when-clicked-on-the-add-files-icon-in-the-search-activity-20180525t213446793z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines/","https://support.utopian.io","https://discord.gg/uTyJkNm","https://utopian.io/moderators"],"app":"steemit/0.1"}
created2018-05-25 21:34:51
last_update2018-05-25 21:34:51
depth1
children0
last_payout2018-06-01 21:34:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length581
author_reputation233,202,435,251,808
root_title"App crashes when clicked on the add files icon in the "Search" activity"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id57,704,933
net_rshares0