Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app crashes when I write a post and cancel that by pressing the back button. #45

Open
sagorahmed opened this issue Apr 1, 2019 · 0 comments

Comments

@sagorahmed
Copy link

Actual behavior

The app crashes when I write a post and cancel that by pressing the back button.

Expected behavior

I expected that after the cancelation of a post would be saved in the draft or land on the homepage without crashing the app.

How to reproduce

  1. Open the app and click on the post creation button at the downside of your phone.
  2. Write something on "Title", "Tags", & "Your post" field.
  3. Then press the back button of your phone.
  4. See error.

Information

  • App version: 1.5.0
  • OS: Android 6.0.1
  • Device: Samsung A5

Recording Of The Bug

insteem

Logcat

04-01 14:33:01.681 22686 22686 E AndroidRuntime: FATAL EXCEPTION: main

04-01 14:33:01.681 22686 22686 E AndroidRuntime: Process: com.insteem.ipfreely.steem, PID: 22686

04-01 14:33:01.681 22686 22686 E AndroidRuntime: java.lang.RuntimeException: Unable to stop activity {com.insteem.ipfreely.steem/com.insteem.ipfreely.steem.Post}: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5094)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5162)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread.access$1700(ActivityThread.java:229)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1880)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:148)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7325)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class TextView

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:551)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:429)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.view.LayoutInflater.inflate(LayoutInflater.java:380)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.widget.Toast.makeText(Toast.java:481)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at com.insteem.ipfreely.steem.Fragments.WritePost.onStop(WritePost.kt:234)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.Fragment.performStop(Fragment.java:2662)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1519)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentManagerImpl.dispatchStop(FragmentManager.java:3250)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:245)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:641)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:184)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1307)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.Activity.performStop(Activity.java:7098)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5089)

04-01 14:33:01.681 22686 22686 E AndroidRuntime: 	... 9 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant