#### Project Information Repository: https://github.com/pmiddend/piggybudget Project Name: Piggy Budget #### Expected behavior Users should be able to be able to share csv files when the "share csv" button is clicked. #### Actual behavior The application closes and crashed when user click on "share csv". #### How to reproduce Download and install the latest release of the app. Launch the app. Grant all permissions. Click on the floating action button (the 3 horizontal dots) in the top right corner Click on the "Share CSV" option. It will be observed that the app crashes and closes. Hence, the bug. Browser: Piggy budget version 2.5 Operating system: android version 6.0 #### Recording Of The Bug https://youtu.be/PZtSl0Da_rU #### GitHub Account https://github.com/jubreal Link to Github Issue [here](https://github.com/pmiddend/piggybudget/issues/15) #### LOG ``` 04-10 13:23:40.824 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) new GraphicBuffer needed 04-10 13:23:40.838 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) queueBuffer: fps=0.40 dur=2530.76 max=2530.76 min=2530.76 04-10 13:23:40.842 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) new GraphicBuffer needed 04-10 13:23:41.280 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) new GraphicBuffer needed 04-10 13:23:42.448 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) queueBuffer: fps=3.73 dur=1610.20 max=818.23 min=7.13 04-10 13:23:43.617 I/BufferQueueProducer(271): [de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity](this:0x7f7d3a3000,id:597,api:1,p:14344,c:271) queueBuffer: fps=4.28 dur=1168.76 max=594.79 min=8.61 04-10 13:23:45.950 I/am_crash(944): [14344,0,de.php_tech.piggybudget,948452932,android.util.AndroidRuntimeException,Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?,ContextImpl.java,677] 04-10 13:23:45.956 I/am_finish_activity(944): [0,32879754,112609,de.php_tech.piggybudget/.MainActivity,force-crash] 04-10 13:23:45.947 E/AndroidRuntime(14344): Process: de.php_tech.piggybudget, PID: 14344 04-10 13:23:45.947 E/AndroidRuntime(14344): at de.php_tech.piggybudget.ExportIntentModule.exportCsv(ExportIntentModule.java:54) 04-10 13:23:45.994 I/am_pause_activity(944): [0,32879754,de.php_tech.piggybudget/.MainActivity] 04-10 13:23:45.956 W/ActivityManager(944): Force finishing activity de.php_tech.piggybudget/.MainActivity 04-10 13:23:45.957 V/WindowManager(944): findFocusedWindow: Found new focus @ 12 = Window{e58d660 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity} 04-10 13:23:45.959 V/WindowManager(944): Set focused app to: AppWindowToken{52b76d7 token=Token{13e656 ActivityRecord{e87871 u0 com.infinix.xlauncher/com.android.launcher3.Launcher t112575}}} old focus=AppWindowToken{3922718 token=Token{f5c1afb ActivityRecord{1f5b48a u0 de.php_tech.piggybudget/.MainActivity t112609}}} moveFocusNow=true 04-10 13:23:45.965 D/AES (944): process : de.php_tech.piggybudget 04-10 13:23:45.965 D/AES (944): module : de.php_tech.piggybudget v25 (2.5) 04-10 13:23:45.965 D/AEE/LIBAEE(944): shell: raise_exp(4, 14344, -1361051648, de.php_tech.piggybudget, 0x0x7f767e1720, 0x0x0) 04-10 13:23:45.968 V/WindowManager(944): Changing focus from Window{e58d660 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:4506 com.android.server.am.ActivityManagerService.setFocusedActivityLocked:2873 com.android.server.am.ActivityStackSupervisor.moveHomeStackTaskToTop:575 com.android.server.am.ActivityStack.adjustFocusedActivityLocked:3141 04-10 13:23:45.969 I/AEE/AED (14395): [OnPurpose Redunant in void preset_info(aed_report_record*, int, int)] pid: 14344, tid: -1361051648, name: UNKNOWN >>> de.php_tech.piggybudget <<< 04-10 13:23:45.969 V/AEE/AED (14395): dashboard_record_update() : rec->module = de.php_tech.piggybudget 04-10 13:23:45.969 I/WindowManager(944): Focus moving from Window{e58d660 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity} to null 04-10 13:23:45.970 I/WindowManager(944): Losing focus: Window{e58d660 u0 de.php_tech.piggybudget/de.php_tech.piggybudget.MainActivity}
author | jubreal | ||||||
---|---|---|---|---|---|---|---|
permlink | piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files | ||||||
category | utopian-io | ||||||
json_metadata | {"app":"steempeak/1.9.6","format":"markdown","tags":["utopian-io","bug-hunting","fix","open-source"],"links":["https://github.com/pmiddend/piggybudget","https://github.com/jubreal","https://github.com/pmiddend/piggybudget/issues/15"]} | ||||||
created | 2019-04-11 09:17:24 | ||||||
last_update | 2019-04-11 09:17:24 | ||||||
depth | 0 | ||||||
children | 4 | ||||||
last_payout | 2019-04-18 09:17:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 7.769 HBD | ||||||
curator_payout_value | 2.493 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 4,665 | ||||||
author_reputation | 52,484,764,045,339 | ||||||
root_title | "Piggy Budget v2.5; The app crashes when trying to share CSV files." | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 82,870,376 | ||||||
net_rshares | 17,667,674,484,589 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 1,758,611,437,452 | 7.44% | ||
rufans | 0 | 19,658,116,772 | 100% | ||
elviento | 0 | 508,744,839 | 0.74% | ||
helo | 0 | 30,399,383,193 | 13.5% | ||
saintopic | 0 | 602,481,371 | 50% | ||
codingdefined | 0 | 16,791,727,240 | 13.5% | ||
ratticus | 0 | 4,501,864,455 | 10% | ||
alexzicky | 0 | 78,944,197,293 | 70% | ||
masudrana | 0 | 439,362,846 | 100% | ||
leir | 0 | 2,119,051,409 | 50% | ||
jadabug | 0 | 1,685,554,751 | 1% | ||
accelerator | 0 | 5,620,679,354 | 0.35% | ||
buckydurddle | 0 | 21,477,702,716 | 100% | ||
nicola71 | 0 | 194,865,976 | 49% | ||
espoem | 0 | 72,841,330,680 | 38% | ||
mcfarhat | 0 | 9,731,140,505 | 5.4% | ||
utopian-io | 0 | 14,904,775,480,376 | 18.6% | ||
jaff8 | 0 | 25,715,324,158 | 13.5% | ||
jetto | 0 | 249,823,383 | 50% | ||
marvel1206 | 0 | 7,722,245,399 | 50% | ||
mcyusuf | 0 | 14,393,843,201 | 100% | ||
amosbastian | 0 | 39,568,354,828 | 13.5% | ||
eruditescholar1 | 0 | 172,114,410 | 50% | ||
bbstar | 0 | 105,510,871 | 50% | ||
sargoon | 0 | 677,599,855 | 9.3% | ||
tobias-g | 0 | 158,044,826,048 | 42% | ||
mondodidave73 | 0 | 1,070,392,026 | 42% | ||
kaylog | 0 | 270,684,866 | 100% | ||
ilukzymoore | 0 | 248,907,901 | 50% | ||
mirkosche | 0 | 404,264,141 | 100% | ||
melisaa | 0 | 251,297,183 | 50% | ||
fego | 0 | 11,928,853,605 | 13.5% | ||
polycarpedet | 0 | 193,558,602 | 50% | ||
sir.skillful1 | 0 | 479,719,647 | 50% | ||
jubreal | 0 | 14,607,302,781 | 100% | ||
prechyrukky | 0 | 3,792,363,968 | 80% | ||
zcool | 0 | 188,967,143 | 10% | ||
ezravandi | 0 | 3,208,191,609 | 1% | ||
jacksartori | 0 | 3,789,887,280 | 26% | ||
afefe | 0 | 214,820,044 | 50% | ||
kenn24 | 0 | 251,542,915 | 50% | ||
statsexpert | 0 | 9,348,969,006 | 100% | ||
ammyluv | 0 | 2,048,783,045 | 50% | ||
yourboynextdoor | 0 | 250,891,662 | 50% | ||
afolwalex | 0 | 11,995,278,535 | 100% | ||
blessedben | 0 | 1,029,270,963 | 75% | ||
feronio | 0 | 1,066,856,767 | 100% | ||
jacksondavies | 0 | 700,706,865 | 50% | ||
martzpro | 0 | 220,160,140 | 50% | ||
viktor1414 | 0 | 250,095,666 | 50% | ||
serialfiller | 0 | 35,583,924,362 | 54% | ||
oyelekan | 0 | 170,250,019 | 50% | ||
dontador | 0 | 250,095,666 | 50% | ||
millaclipps | 0 | 251,154,251 | 50% | ||
allyberry | 0 | 250,853,095 | 50% | ||
simplewole | 0 | 90,282,456 | 50% | ||
okipeter | 0 | 556,733,193 | 50% | ||
trigar12 | 0 | 251,765,109 | 50% | ||
shumuel | 0 | 549,168,187 | 100% | ||
rashyem | 0 | 251,467,226 | 50% | ||
sirewales | 0 | 251,355,335 | 50% | ||
dawizy | 0 | 1,371,752,779 | 50% | ||
lightoj | 0 | 98,766,645 | 10% | ||
elpriist | 0 | 250,936,857 | 50% | ||
joker33 | 0 | 251,765,109 | 50% | ||
caleb96 | 0 | 250,095,666 | 50% | ||
steemiansarena | 0 | 916,102,101 | 100% | ||
caroline1234 | 0 | 279,746,714 | 100% | ||
afromit | 0 | 250,034,781 | 50% | ||
simaoatb | 0 | 250,095,666 | 50% | ||
olakunle | 0 | 251,751,087 | 50% | ||
christopher007 | 0 | 251,743,266 | 50% | ||
ulockblock | 0 | 47,119,279,954 | 13.68% | ||
ayoshewa | 0 | 250,095,666 | 50% | ||
steemingnaija | 0 | 100,622,256 | 25% | ||
wglenz | 0 | 74,962,242 | 1% | ||
cryptouno | 0 | 419,968,484 | 5% | ||
steeming-hot | 0 | 17,369,060 | 0.1% | ||
opeyemil | 0 | 305,077,827 | 50% | ||
loveforlove | 0 | 241,057,017 | 50% | ||
neyor | 0 | 250,095,666 | 50% | ||
daddykross | 0 | 250,891,662 | 50% | ||
mops2e | 0 | 428,584,284 | 30.4% | ||
lecongdoo3 | 0 | 18,421,602,666 | 100% | ||
steem-ua | 0 | 262,448,341,087 | 2.7% | ||
hdu | 0 | 980,000,870 | 1% | ||
adamantino | 0 | 116,264,193 | 25% | ||
bluesniper | 0 | 8,179,122,283 | 2.6% | ||
ascorphat | 0 | 1,935,831,652 | 2.5% | ||
pgshow | 0 | 983,787,311 | 1.3% | ||
bejust | 0 | 1,782,304,703 | 100% | ||
hamsa.quality | 0 | 837,378,103 | 1% | ||
progressing | 0 | 1,609,109,217 | 100% | ||
cedallesa | 0 | 504,081,492 | 100% | ||
islenyar | 0 | 504,063,398 | 100% | ||
saromit | 0 | 504,162,892 | 100% | ||
sutofomon | 0 | 504,091,376 | 100% | ||
ernellu | 0 | 504,289,453 | 100% | ||
ponety | 0 | 504,336,695 | 100% | ||
enowhor | 0 | 504,147,237 | 100% | ||
uthised | 0 | 504,098,633 | 100% | ||
edyaimire | 0 | 504,121,052 | 100% | ||
esera | 0 | 504,087,661 | 100% | ||
nendediti | 0 | 504,094,703 | 100% | ||
entitru | 0 | 504,085,342 | 100% | ||
hototon | 0 | 503,940,971 | 100% | ||
atiedlupu | 0 | 504,083,122 | 100% | ||
julietteb1xv | 0 | 504,048,400 | 100% | ||
entange | 0 | 503,847,341 | 100% | ||
teessasto | 0 | 503,904,118 | 100% | ||
oweenis | 0 | 504,053,884 | 100% | ||
tangar | 0 | 504,090,318 | 100% | ||
surinsigl | 0 | 503,914,273 | 100% | ||
cighe | 0 | 504,056,203 | 100% | ||
hupon | 0 | 503,870,417 | 100% | ||
nommunon | 0 | 503,881,963 | 100% | ||
erititi | 0 | 503,883,309 | 100% | ||
orat | 0 | 503,763,662 | 100% | ||
inoushi | 0 | 503,742,311 | 100% | ||
iladondu | 0 | 503,848,743 | 100% | ||
rosatsur | 0 | 503,742,821 | 100% | ||
talindi | 0 | 503,974,274 | 100% | ||
tererall | 0 | 503,852,665 | 100% | ||
upeco | 0 | 503,924,709 | 100% | ||
suilfur | 0 | 503,726,560 | 100% | ||
rathuro | 0 | 503,798,782 | 100% | ||
dicetime | 0 | 17,554,735,820 | 9.3% | ||
mannan999 | 0 | 0 | 5% | ||
ojasp0 | 0 | 492,024,475 | 100% |
Hi @jubrael, thanks for making this contribution. I was unable to reproduce the crash. I see the PO is yet to reproduce the bug but he has added the bug label. Probably a hint that the crash may have been possible. 1. The expected and actual behavior are very well written. 2. The steps you provided were easy to follow. Although I couldn't reproduce the crash on an android 7 or 8 OS. The recording very well complemented the written steps. 3. It will be nice to properly format the body of your content. You can arrange the steps in an ordered or unordered list Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/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](https://review.utopian.io/result/5/3-1-2-2-2-3-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | fego |
---|---|
permlink | re-jubreal-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t071936757z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["jubrael"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/5/3-1-2-2-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2019-04-12 07:19:39 |
last_update | 2019-04-12 07:19:39 |
depth | 1 |
children | 1 |
last_payout | 2019-04-19 07:19:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.280 HBD |
curator_payout_value | 1.295 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,014 |
author_reputation | 168,836,422,039,217 |
root_title | "Piggy Budget v2.5; The app crashes when trying to share CSV files." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,936,150 |
net_rshares | 9,284,084,632,678 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yuxi | 0 | 23,762,654,106 | 100% | ||
codingdefined | 0 | 34,683,724,798 | 28.93% | ||
jadabug | 0 | 1,601,036,156 | 1% | ||
espoem | 0 | 26,945,320,835 | 15% | ||
utopian-io | 0 | 8,840,369,569,635 | 9.68% | ||
jaff8 | 0 | 52,622,379,178 | 28.93% | ||
amosbastian | 0 | 80,474,396,049 | 28.93% | ||
ismailkah | 0 | 3,878,465,190 | 25% | ||
organicgardener | 0 | 10,759,124,754 | 35% | ||
reazuliqbal | 0 | 13,429,051,031 | 8% | ||
amico | 0 | 606,026,887 | 0.33% | ||
ezravandi | 0 | 3,211,867,959 | 1% | ||
mightypanda | 0 | 155,308,363,430 | 70% | ||
ulockblock | 0 | 27,309,544,407 | 7.9% | ||
fastandcurious | 0 | 412,944,878 | 100% | ||
hdu | 0 | 996,360,566 | 1% | ||
curbot | 0 | 2,526,948,923 | 100% | ||
linknotfound | 0 | 418,689,709 | 100% | ||
ascorphat | 0 | 1,882,945,045 | 2.5% | ||
monster-inc | 0 | 2,885,219,142 | 100% |
Thank you for your review, @fego! Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-jubreal-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t071936757z-20190414t200117z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-04-14 20:01:18 |
last_update | 2019-04-14 20:01:18 |
depth | 2 |
children | 0 |
last_payout | 2019-04-21 20:01:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 56 |
author_reputation | 152,955,367,999,756 |
root_title | "Piggy Budget v2.5; The app crashes when trying to share CSV files." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 83,096,984 |
net_rshares | 0 |
#### Hi @jubreal! 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](https://discord.gg/KpBNYGz)**
author | steem-ua |
---|---|
permlink | re-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t072344z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.19"}" |
created | 2019-04-12 07:23:45 |
last_update | 2019-04-12 07:23:45 |
depth | 1 |
children | 0 |
last_payout | 2019-04-19 07:23:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.020 HBD |
curator_payout_value | 0.006 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 286 |
author_reputation | 23,214,230,978,060 |
root_title | "Piggy Budget v2.5; The app crashes when trying to share CSV files." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,936,409 |
net_rshares | 44,187,191,208 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sbi4 | 0 | 44,187,191,208 | 7.72% |
Hey, @jubreal! **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](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)). **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
author | utopian-io |
---|---|
permlink | re-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t214120z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-04-12 21:41:21 |
last_update | 2019-04-12 21:41:21 |
depth | 1 |
children | 0 |
last_payout | 2019-04-19 21:41:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 589 |
author_reputation | 152,955,367,999,756 |
root_title | "Piggy Budget v2.5; The app crashes when trying to share CSV files." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,984,506 |
net_rshares | 0 |