[DatingApp version 1.0 ] The application crashes when I click the close icon

in #utopian-io5 years ago
-----------------------------Project Information------------------------------------- .
Project Respotry https://github.com/quintuslabs/DatingApp
Project Name: DatingApp.
My Github Account https://github.com/friendsmobile.
APK Downlod

https://github.com/quintuslabs/DatingApp/blob/master/lovedating1.0.apk.
My issue:

https://github.com/quintuslabs/DatingApp/issues/2

Expected behavior

When opening a profile, click on the close icon, the open profile should be closed and the application should not be crashed.

Actual behavior

The application crashes when I click the close icon

How to reproduce

  • open the application

  • click on the profile info icon

  • After opening the info icon click close icon

  • Note the Error

  • Browser/App version: 1.0

  • Operating system: 6.0

Recording Of The Bug

20190702_104847

Logcat

D/AndroidRuntime(13377): Shutting down VM

E/AndroidRuntime(13377): FATAL EXCEPTION: main

E/AndroidRuntime(13377): Process: com.quintus.labs.datingapp, PID: 13377

E/AndroidRuntime(13377): java.lang.IllegalStateException: Could not find method DislikeBtn(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.support.v7.widget.AppCompatImageButton with id 'dislikebtn'

E/AndroidRuntime(13377): at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.resolveMethod(AppCompatViewInflater.java:424)

E/AndroidRuntime(13377): at android.support.v7.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:381)

E/AndroidRuntime(13377): at android.view.View.performClick(View.java:5076)

E/AndroidRuntime(13377): at android.view.View$PerformClick.run(View.java:20279)

E/AndroidRuntime(13377): at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime(13377): at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime(13377): at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(13377): at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(13377): at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(13377): at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(13377): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(13377): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

V/ApplicationPolicy( 1016): isApplicationStateBlocked userId 0 pkgname com.quintus.labs.datingapp

V/ApplicationPolicy( 1016): isApplicationStateBlocked userId 0 pkgname com.quintus.labs.datingapp

Sort:  

Hi @friendsmobile, thanks for making this contribution.

Great to know that this issue was fixed. I love that you included a logcat. The stacktrace provided was of great help and can be supported with detailed analysis.

Your formatting at the beginning of the post was highly unnecessary. It made it difficult to read. Please try and fix this in subsequent reports

I look forward to your next report.

Your contribution has been evaluated according to Utopian policies and 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.


Need help? Chat with us on Discord.

[utopian-moderator]

Thank you for your review, @fego! Keep up the good work!

Congratulations @friendsmobile! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published more than 10 posts. Your next target is to reach 20 posts.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Hi @friendsmobile!

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

Hey @friendsmobile, your contribution was unvoted because we found out that it did not follow the Utopian guidelines.

Upvote this comment to help Utopian grow its power and help other Open Source contributions like this one.

Want to chat? Join us on Discord.

Coin Marketplace

STEEM 0.28
TRX 0.13
JST 0.032
BTC 66256.11
ETH 3036.39
USDT 1.00
SBD 3.73