Project Information * Repository: https://github.com/gpetuhov/Hive * Project Name: Hive * My Issue: https://github.com/gpetuhov/Hive/issues/2 # Expected behavior When I add a photo, the application should not crash when I upload a photo, the photo should be uploaded in the application. # Actual behavior The application crashes when I try to use ADD photo option And try to upload photos # How to reproduce 1-[Download ](https://play.google.com/store/apps/details?id=com.gpetuhov.android.hive&ah=mg3ZMk3XOh7ku1YRv9uagzRmaMw)the app and open it 2- click GRANT PERMISSION 3- click on the profile 4- click click on the photo add 5- select any photo from your phone gallery 6-see the bug * Browser/App version: 0.1.46 * Operating system: 6.0.1 * Smartphone: Galaxy j7 # Recording Of The Bug  # My Github Account https://github.com/facebook-786 # Logcat <pre><code>E/AndroidRuntime(15794): FATAL EXCEPTION: DefaultDispatcher-worker-3 E/AndroidRuntime(15794): Process: com.gpetuhov.android.hive, PID: 15794 E/AndroidRuntime(15794): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() E/AndroidRuntime(15794): at android.os.Handler.<init>(Handler.java:200) E/AndroidRuntime(15794): at android.os.Handler.<init>(Handler.java:114) E/AndroidRuntime(15794): at android.widget.Toast$TN.<init>(Toast.java:569) E/AndroidRuntime(15794): at android.widget.Toast.<init>(Toast.java:129) E/AndroidRuntime(15794): at android.widget.Toast.makeText(Toast.java:427) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.ui.fragment.ProfileFragment.showToast(ProfileFragment.kt:584) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.presentation.view.ProfileFragmentView$$State.showToast(ProfileFragmentView$$State.java:790) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.presentation.presenter.ProfileFragmentPresenter.showToast(ProfileFragmentPresenter.kt:552) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.presentation.presenter.ProfileFragmentPresenter.access$showToast(ProfileFragmentPresenter.kt:21) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.presentation.presenter.ProfileFragmentPresenter$addPhoto$1.invoke(ProfileFragmentPresenter.kt:219) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.presentation.presenter.ProfileFragmentPresenter$addPhoto$1.invoke(ProfileFragmentPresenter.kt:21) E/AndroidRuntime(15794): at com.gpetuhov.android.hive.repository.Repository$uploadImage$1.invokeSuspend(Repository.kt:1703) E/AndroidRuntime(15794): at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) E/AndroidRuntime(15794): at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:238) E/AndroidRuntime(15794): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594) E/AndroidRuntime(15794): at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60) E/AndroidRuntime(15794): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742) </code></pre>
author | facebok | ||||||
---|---|---|---|---|---|---|---|
permlink | bug-found-in-hive-app-the-application-crashes-when-i-try-to-use-add-photo-option-and-try-to-upload-photos | ||||||
category | utopian-io | ||||||
json_metadata | {"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io","bug-hunting"],"users":[],"links":["https://github.com/gpetuhov/Hive","https://github.com/gpetuhov/Hive/issues/2","https://play.google.com/store/apps/details?id=com.gpetuhov.android.hive&ah=mg3ZMk3XOh7ku1YRv9uagzRmaMw","https://github.com/facebook-786"],"image":["https://user-images.githubusercontent.com/50115498/57714650-cefdff80-7629-11e9-9c34-503f30324a97.gif"]} | ||||||
created | 2019-05-15 11:51:30 | ||||||
last_update | 2019-05-15 11:51:30 | ||||||
depth | 0 | ||||||
children | 3 | ||||||
last_payout | 2019-05-22 11:51:30 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 8.202 HBD | ||||||
curator_payout_value | 2.929 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 3,226 | ||||||
author_reputation | 5,947,126,562,823 | ||||||
root_title | "BUG found in Hive app The application crashes when I try to use ADD photo option And try to upload photos" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 84,891,951 | ||||||
net_rshares | 22,338,696,240,877 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
tombstone | 0 | 2,305,522,039,821 | 9.26% | ||
daan | 0 | 22,141,644,757 | 5% | ||
rufans | 0 | 26,994,430,001 | 100% | ||
eforucom | 0 | 7,344,056,022 | 1% | ||
techslut | 0 | 39,671,663,437 | 10% | ||
minersean | 0 | 7,456,253,490 | 75% | ||
erikaflynn | 0 | 15,793,845,560 | 35% | ||
jakipatryk | 0 | 13,739,815,280 | 50% | ||
jga | 0 | 1,535,223,680 | 11.58% | ||
helo | 0 | 44,722,745,404 | 17.79% | ||
jamjamfood | 0 | 50,848,312,673 | 25% | ||
lorenzor | 0 | 634,006,104 | 5.79% | ||
xyzashu | 0 | 1,480,080,292 | 8% | ||
suesa | 0 | 70,806,018,423 | 25% | ||
codingdefined | 0 | 21,288,762,024 | 17.79% | ||
tsoldovieri | 0 | 811,775,608 | 5.79% | ||
tykee | 0 | 5,720,884,729 | 11.58% | ||
iamphysical | 0 | 15,886,269,544 | 90% | ||
felixrodriguez | 0 | 170,678,721 | 4.05% | ||
leir | 0 | 2,226,943,517 | 50% | ||
azulear | 0 | 492,064,202 | 100% | ||
silviu93 | 0 | 3,149,471,190 | 11.58% | ||
dakeshi | 0 | 572,498,653 | 11.58% | ||
eastmael | 0 | 3,996,228,687 | 23.17% | ||
buckydurddle | 0 | 7,077,497,363 | 23.12% | ||
jinger | 0 | 2,199,419,397 | 28.46% | ||
elear | 0 | 5,691,015,259 | 23.17% | ||
zoneboy | 0 | 20,906,081,867 | 100% | ||
carloserp-2000 | 0 | 24,149,265,257 | 100% | ||
carlos84 | 0 | 634,104,765 | 11.58% | ||
che-shyr | 0 | 999,733,905 | 50% | ||
utopian-io | 0 | 19,229,132,214,161 | 23.17% | ||
imisstheoldkanye | 0 | 1,507,422,016 | 1% | ||
jaff8 | 0 | 32,776,755,322 | 17.79% | ||
cheneats | 0 | 5,386,782,724 | 45% | ||
amestyj | 0 | 655,234,778 | 11.58% | ||
mcyusuf | 0 | 1,180,750,468 | 11.58% | ||
alexs1320 | 0 | 13,658,345,287 | 15% | ||
cpufronz | 0 | 1,152,469,194 | 50% | ||
ivymalifred | 0 | 195,650,535 | 5.79% | ||
aussieninja | 0 | 3,982,389,567 | 11.58% | ||
carsonroscoe | 0 | 8,950,031,017 | 100% | ||
amosbastian | 0 | 52,521,830,869 | 17.79% | ||
eliaschess333 | 0 | 1,257,568,015 | 5.79% | ||
mehta | 0 | 11,792,740,685 | 35% | ||
asaj | 0 | 19,067,995,209 | 100% | ||
harry-heightz | 0 | 9,839,909,395 | 23.17% | ||
suesa-random | 0 | 10,265,796,122 | 50% | ||
scienceangel | 0 | 26,125,257,129 | 50% | ||
sargoon | 0 | 1,299,200,168 | 11.58% | ||
darewealth | 0 | 4,490,068,175 | 23.17% | ||
dongentle2 | 0 | 3,977,254,677 | 11.58% | ||
didic | 0 | 27,996,109,241 | 25% | ||
emiliomoron | 0 | 573,711,649 | 5.79% | ||
cyprianj | 0 | 481,245,311 | 11.58% | ||
mirkosche | 0 | 86,220,996 | 23.12% | ||
tomastonyperez | 0 | 1,460,050,528 | 5.79% | ||
elvigia | 0 | 1,197,219,979 | 5.79% | ||
jubreal | 0 | 3,807,309,291 | 23.17% | ||
yu-stem | 0 | 13,235,464,117 | 33% | ||
luiscd8a | 0 | 826,722,711 | 80% | ||
eniolw | 0 | 6,607,351,407 | 100% | ||
josedelacruz | 0 | 649,106,209 | 5.79% | ||
joseangelvs | 0 | 155,183,833 | 11.58% | ||
viannis | 0 | 71,292,328 | 5.79% | ||
rollthedice | 0 | 2,387,886,977 | 23.17% | ||
erickyoussif | 0 | 153,255,482 | 11.58% | ||
techcoderx | 0 | 2,975,777,132 | 11.58% | ||
yougotresteemed | 0 | 324,565,201 | 45% | ||
yusvelasquez | 0 | 106,120,688 | 5.79% | ||
anaestrada12 | 0 | 2,575,507,513 | 11.58% | ||
bflanagin | 0 | 5,220,352,882 | 11.58% | ||
dalz | 0 | 3,881,752,808 | 9.26% | ||
jk6276 | 0 | 1,116,052,546 | 11.58% | ||
dssdsds | 0 | 1,311,856,851 | 11.58% | ||
musiclove | 0 | 206,832,058 | 45% | ||
jayplayco | 0 | 23,765,647,559 | 11.58% | ||
cryptouno | 0 | 389,361,860 | 5% | ||
fran.frey | 0 | 165,516,071 | 5.79% | ||
stem-espanol | 0 | 9,434,641,959 | 11.58% | ||
ayisigi | 0 | 447,847,856 | 100% | ||
giulyfarci52 | 0 | 82,463,547 | 5.79% | ||
kaczynski | 0 | 166,548,067 | 100% | ||
alex-hm | 0 | 888,518,032 | 50% | ||
wilmer14molina | 0 | 128,155,156 | 11.58% | ||
primeradue | 0 | 15,315,413,109 | 22.5% | ||
mrsbozz | 0 | 1,323,011,362 | 20% | ||
ascorphat | 0 | 237,584,602 | 2.5% | ||
rewarding | 0 | 3,357,382,241 | 61.58% | ||
eternalsuccess | 0 | 164,248,921 | 1% | ||
jk6276.mons | 0 | 772,534,116 | 23.17% | ||
jaxson2011 | 0 | 832,430,979 | 23.17% | ||
supu | 0 | 7,341,458,173 | 1% | ||
utopian.trail | 0 | 8,753,500,249 | 23.17% | ||
dicetime | 0 | 23,844,534,135 | 11.58% |
Hi @facebok, thanks for making this report. The appears to be fixed in the latest release version 0.1.47. According to the PO, the crash was as result of the app trying to show image upload error message on background thread. I love that you included a crash log. This helped in finding the root cause of the error. I look forward to more of your reports. 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/2-1-1-2-2-3-). ---- Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | fego |
---|---|
permlink | re-facebok-bug-found-in-hive-app-the-application-crashes-when-i-try-to-use-add-photo-option-and-try-to-upload-photos-20190515t180002305z |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":["facebok"],"links":["/@facebok","https://join.utopian.io/guidelines","https://review.utopian.io/result/5/2-1-1-2-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"image":[]} |
created | 2019-05-15 18:00:09 |
last_update | 2019-05-15 18:00:09 |
depth | 1 |
children | 1 |
last_payout | 2019-05-22 18:00:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 9.072 HBD |
curator_payout_value | 2.914 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 808 |
author_reputation | 168,836,422,039,217 |
root_title | "BUG found in Hive app The application crashes when I try to use ADD photo option And try to upload photos" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 84,911,973 |
net_rshares | 22,345,461,100,730 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
codingdefined | 0 | 30,461,622,975 | 25.04% | ||
jadabug | 0 | 1,476,154,441 | 1% | ||
accelerator | 0 | 2,148,515,929 | 0.13% | ||
buckydurddle | 0 | 10,153,359,675 | 32.55% | ||
espoem | 0 | 31,435,732,478 | 15% | ||
utopian-io | 0 | 22,055,566,085,879 | 24.73% | ||
jaff8 | 0 | 46,558,572,639 | 25.04% | ||
amosbastian | 0 | 74,509,969,121 | 25.04% | ||
ismailkah | 0 | 4,450,064,183 | 25% | ||
reazuliqbal | 0 | 16,918,706,944 | 10% | ||
amico | 0 | 1,373,920,382 | 0.51% | ||
statsexpert | 0 | 9,950,443,041 | 100% | ||
ulockblock | 0 | 33,399,751,105 | 9.95% | ||
hdu | 0 | 805,816,987 | 1% | ||
curbot | 0 | 2,548,227,318 | 100% | ||
delabo | 0 | 2,711,600,602 | 1% | ||
ascorphat | 0 | 230,055,775 | 2.5% | ||
yff | 0 | 19,899,484,741 | 100% | ||
curatortrail | 0 | 331,137,256 | 95% | ||
tenyears | 0 | 531,879,259 | 98% |
Thank you for your review, @fego! Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-facebok-bug-found-in-hive-app-the-application-crashes-when-i-try-to-use-add-photo-option-and-try-to-upload-photos-20190515t180002305z-20190517t203114z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-05-17 20:31:15 |
last_update | 2019-05-17 20:31:15 |
depth | 2 |
children | 0 |
last_payout | 2019-05-24 20:31:15 |
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 | "BUG found in Hive app The application crashes when I try to use ADD photo option And try to upload photos" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 85,045,594 |
net_rshares | 0 |
Hey, @facebok! **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-bug-found-in-hive-app-the-application-crashes-when-i-try-to-use-add-photo-option-and-try-to-upload-photos-20190515t191320z |
category | utopian-io |
json_metadata | "{"app": "beem/0.20.17"}" |
created | 2019-05-15 19:13:21 |
last_update | 2019-05-15 19:13:21 |
depth | 1 |
children | 0 |
last_payout | 2019-05-22 19:13: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 | "BUG found in Hive app The application crashes when I try to use ADD photo option And try to upload photos" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 84,915,548 |
net_rshares | 0 |