[Travel Mate][version 5.4.0]The app crashes if I click on my created trip by masudrana

View this thread on steempeak.com
· @masudrana · (edited)
$12.11
[Travel Mate][version 5.4.0]The app crashes if I click on my created trip
<h4>Related Information</h4>

   * Project Repository: https://github.com/project-travel-mate/Travel-Mate
   * Project Name:Travel Mate
   * The submitted issue is <a href="https://github.com/project-travel-mate/Travel-Mate/issues/636">here</a>
   * publisher: Swati Garg
  *  My GitHub account:https://github.com/maaudrana

<h4>Actual behavior</h4>
App crashes if i click on my created trip to view details.
<h4>Expected behavior</h4>
Expected that i can click on my trip and view details successfully without crash.
<h4>How to reproduce</h4>
<ol>
<li>Install the apps and open the app</li>
<li>click navigation bar, select "My trips"</li>
<li>Create one trip by clicking "+" or if you have already trip list don't need to create.</li>
<li>Just click any trip you created</li>
<li>See the error</li>
</ol>
<h4>Information</h4>
<ul>
<li>App version:V5.4.0</li>
<li>OS:Android 9.0</li>
<li>Device:Samsung A10</li>
</ul>
<h4>Recording Of The Bug</h4>
https://youtu.be/D1ZJ7uwRLKk
<h4>Logcat</h4>

```

04-28 15:31:23.994 31928 31928 E AndroidRuntime: FATAL EXCEPTION: main
04-28 15:31:23.994 31928 31928 E AndroidRuntime: Process: io.github.project_travel_mate, PID: 31928
04-28 15:31:23.994 31928 31928 E AndroidRuntime: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.app.ContextImpl.startActivity(ContextImpl.java:974)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.app.ContextImpl.startActivity(ContextImpl.java:950)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.content.ContextWrapper.startActivity(ContextWrapper.java:384)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at io.github.project_travel_mate.mytrips.MyTripsFragment.lambda$onCreateView$0(MyTripsFragment.java:89)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at io.github.project_travel_mate.mytrips.-$$Lambda$MyTripsFragment$aagzd9bpdfL-txnYFNCy_aYdSnY.onItemClick(Unknown Source:2)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at io.github.project_travel_mate.mytrips.TripsListAdapter$TimelineViewHolder.onClick(TripsListAdapter.java:133)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.view.View.performClick(View.java:7339)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.view.View.performClickInternal(View.java:7305)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.view.View.access$3200(View.java:846)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:27788)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:873)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7073)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
04-28 15:31:23.994 31928 31928 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

```
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 37 others
properties (23)
post_id73,850,587
authormasudrana
permlinktravel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip
categoryutopian-io
json_metadata{"tags":["utopian-io","bug-hunting"],"image":["https:\/\/img.youtube.com\/vi\/D1ZJ7uwRLKk\/0.jpg"],"links":["https:\/\/github.com\/project-travel-mate\/Travel-Mate","https:\/\/github.com\/project-travel-mate\/Travel-Mate\/issues\/636","https:\/\/github.com\/maaudrana","https:\/\/youtu.be\/D1ZJ7uwRLKk"],"app":"steemit\/0.1","format":"markdown"}
created2019-04-28 16:17:27
last_update2019-04-28 16:22:06
depth0
children6
net_rshares24,138,866,929,236
last_payout2019-05-05 16:17:27
cashout_time1969-12-31 23:59:59
total_payout_value9.222 SBD
curator_payout_value2.885 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3,295
author_reputation18,908,917,484,896
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (101)
@steemitboard ·
Congratulations @masudrana! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@masudrana/payout.png?201905010357</td><td>You received more than 1000 as payout for your posts. Your next target is to reach a total payout of 2000</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@masudrana) and compare to others on the [Steem Ranking](http://steemitboard.com/ranking/index.php?name=masudrana)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
post_id73,991,638
authorsteemitboard
permlinksteemitboard-notify-masudrana-20190501t054656000z
categoryutopian-io
json_metadata{"image":["https:\/\/steemitboard.com\/img\/notify.png"]}
created2019-05-01 05:46:54
last_update2019-05-01 05:46:54
depth1
children0
net_rshares0
last_payout2019-05-08 05:46:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length863
author_reputation38,705,954,145,809
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@fego ·
$3.33
Hi @masudrana, thanks for making this contribution.

Great to know this has been fixed by one of the maintainers. I like that you provided a logcat, this must have narrowed down the search.

The actual and expected behavior is very well written. One could easily spot the discrepancy between what went wrong and what was expected. Also, the steps provided were simple and easy to follow and reproduce.

I look forward to your next contribution.

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/)
πŸ‘  , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id74,002,300
authorfego
permlinkre-masudrana-travel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip-20190501t110122071z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["masudrana"],"links":["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\/"],"app":"steemit\/0.1"}
created2019-05-01 11:01:27
last_update2019-05-01 11:01:27
depth1
children2
net_rshares6,988,747,649,675
last_payout2019-05-08 11:01:27
cashout_time1969-12-31 23:59:59
total_payout_value2.566 SBD
curator_payout_value0.768 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length892
author_reputation168,957,617,866,077
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (21)
@masudrana ·
Glad to here that 🀩
πŸ‘  
properties (23)
post_id74,004,069
authormasudrana
permlinkre-fego-re-masudrana-travel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip-20190501t114537029z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit\/0.1"}
created2019-05-01 11:45:42
last_update2019-05-01 11:45:42
depth2
children0
net_rshares3,204,797,950
last_payout2019-05-08 11:45:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length19
author_reputation18,908,917,484,896
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@utopian-io ·
Thank you for your review, @fego! Keep up the good work!
properties (22)
post_id74,126,411
authorutopian-io
permlinkre-re-masudrana-travel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip-20190501t110122071z-20190503t162828z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-05-03 16:28:30
last_update2019-05-03 16:28:30
depth2
children0
net_rshares0
last_payout2019-05-10 16:28:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length56
author_reputation152,913,012,544,965
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-ua ·
#### Hi @masudrana!

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 (22)
post_id74,002,973
authorsteem-ua
permlinkre-travel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip-20190501t111845z
categoryutopian-io
json_metadata{"app":"beem\/0.20.19"}
created2019-05-01 11:18:45
last_update2019-05-01 11:18:45
depth1
children0
net_rshares0
last_payout2019-05-08 11:18:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length288
author_reputation23,203,609,903,979
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey, @masudrana!

**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)
post_id74,033,289
authorutopian-io
permlinkre-travel-mate-version-5-4-0-the-app-crashes-if-i-click-on-my-created-trip-20190501t221243z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-05-01 22:12:45
last_update2019-05-01 22:12:45
depth1
children0
net_rshares0
last_payout2019-05-08 22:12:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length591
author_reputation152,913,012,544,965
root_title"[Travel Mate][version 5.4.0]The app crashes if I click on my created trip"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000