create account

Piggy Budget v2.5; The app crashes when trying to share CSV files. by jubreal

View this thread on: hive.blogpeakd.comecency.com
· @jubreal ·
$10.26
Piggy Budget v2.5; The app crashes when trying to share CSV files.
#### 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}
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 65 others
properties (23)
authorjubreal
permlinkpiggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files
categoryutopian-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"]}
created2019-04-11 09:17:24
last_update2019-04-11 09:17:24
depth0
children4
last_payout2019-04-18 09:17:24
cashout_time1969-12-31 23:59:59
total_payout_value7.769 HBD
curator_payout_value2.493 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,665
author_reputation52,484,764,045,339
root_title"Piggy Budget v2.5; The app crashes when trying to share CSV files."
beneficiaries
0.
accountutopian.pay
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id82,870,376
net_rshares17,667,674,484,589
author_curate_reward""
vote details (129)
@fego ·
$5.58
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/)
πŸ‘  , , , , , , , , , , , , , , , , , , ,
properties (23)
authorfego
permlinkre-jubreal-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t071936757z
categoryutopian-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"}
created2019-04-12 07:19:39
last_update2019-04-12 07:19:39
depth1
children1
last_payout2019-04-19 07:19:39
cashout_time1969-12-31 23:59:59
total_payout_value4.280 HBD
curator_payout_value1.295 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,014
author_reputation168,836,422,039,217
root_title"Piggy Budget v2.5; The app crashes when trying to share CSV files."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id82,936,150
net_rshares9,284,084,632,678
author_curate_reward""
vote details (20)
@utopian-io ·
Thank you for your review, @fego! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-jubreal-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t071936757z-20190414t200117z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-04-14 20:01:18
last_update2019-04-14 20:01:18
depth2
children0
last_payout2019-04-21 20:01:18
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_length56
author_reputation152,955,367,999,756
root_title"Piggy Budget v2.5; The app crashes when trying to share CSV files."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id83,096,984
net_rshares0
@steem-ua ·
$0.03
#### 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)**
πŸ‘  
properties (23)
authorsteem-ua
permlinkre-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t072344z
categoryutopian-io
json_metadata"{"app": "beem/0.20.19"}"
created2019-04-12 07:23:45
last_update2019-04-12 07:23:45
depth1
children0
last_payout2019-04-19 07:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.006 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length286
author_reputation23,214,230,978,060
root_title"Piggy Budget v2.5; The app crashes when trying to share CSV files."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id82,936,409
net_rshares44,187,191,208
author_curate_reward""
vote details (1)
@utopian-io ·
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>
properties (22)
authorutopian-io
permlinkre-piggy-budget-v2-5-the-app-crashes-when-trying-to-share-csv-files-20190412t214120z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-04-12 21:41:21
last_update2019-04-12 21:41:21
depth1
children0
last_payout2019-04-19 21:41:21
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_length589
author_reputation152,955,367,999,756
root_title"Piggy Budget v2.5; The app crashes when trying to share CSV files."
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id82,984,506
net_rshares0