You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Open the app and click on the post creation button at the downside of your phone.
Write something on "Title", "Tags", & "Your post" field.
Then press the back button of your phone.
See error.
Information
App version: 1.5.0
OS: Android 6.0.1
Device: Samsung A5
Recording Of The Bug
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
The text was updated successfully, but these errors were encountered:
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
Information
Recording Of The Bug
Logcat
The text was updated successfully, but these errors were encountered: