The application crashes when first open it in landscape mode

in utopian-io •  7 years ago  (edited)

Project Information

Repository : https://github.com/Sparker0i/Weather
Title : Simple Weather
Publisher : Aaditya Menon (Sparker0i)

Expected behavior

Supposedly, When I open the app in a skewed rotation (landscape mode), the application will not run into any problems, because the application does not support landscape mode at all.

Actual behavior

Initially, my smartphone was in a tilted position (Landscape), and I accidentally opened the app, and suddenly the app crashes and bounces out. Next, I try to do the same thing by opening the app with smartphone position in the landscape, and the error still occurs.

How to reproduce

  1. Install the application first
  2. Make sure the Auto Rotate on smartphone is turned on
  3. Next, tilt the smartphone in landscape, then open the app.
    Then you will find the error as I experienced

  • Device: Xiaomi Redmi 4X
  • Operating system: Marshmallow, 6.0.1 mmb29m (CPU: Octa-core Max 1.9 GHz, RAM: 2 GB)
  • Application Version: 5.3.2

Recording Of The Bug

Proof of Work Done

Submitted the issue on GitHub: Click here
My GitHub Profile: https://github.com/ahyar92

Logcat

--------- beginning of crash
05-21 22:52:22.666 11595 11595 E AndroidRuntime: FATAL EXCEPTION: main
05-21 22:52:22.666 11595 11595 E AndroidRuntime: Process: com.a5corp.weather, PID: 11595
05-21 22:52:22.666 11595 11595 E AndroidRuntime: java.lang.IllegalArgumentException: View=com.android.internal.policy.PhoneWindow$DecorView{e087ebf V.E...... R......D 0,0-712,286} not attached to window manager
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:430)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:356)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:118)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.app.Dialog.dismissDialog(Dialog.java:365)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.app.Dialog$1.run(Dialog.java:135)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.os.Handler.handleCallback(Handler.java:742)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:95)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:154)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5527)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
05-21 22:52:22.666 11595 11595 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
05-21 22:52:22.672 11595 11595 E MQSEventManagerDelegate: failed to get MQSService.
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I am not too familiar with the results of the report, can be explained more simple sir?

mungkin dilain waktu, tidak cukup pembahasannya disini :D @calprut

bang @ahyar92, boleh minta kontaknya?,,
saya pengen belajar bagaimana sukses di steemit. trus SP delegasi abang yang + itu kalau boleh tau asalnya darimana ya?, saya masih nuub banget nih disini, hehe cari sambilan dari kerja, mulai bosan jadi karyawan, kali aja di steemit bisa nyari tambah2an :) makasih bang atas upvote di post saya :)

untuk delegasi, melalui blocktrades juga bisa @calprut. dan untuk sukses bermain steemit, seringlah untuk berkomunikasi sesama teman steemit. gabung dengan komunitas seperti KSI, NSC, dan lain-lain.

saya sudah gabung bang di discord NSC dan KSI steemchat, cuman yang ada kok post promotion doaaank terus-terusan hadeeeh,,, kadang saya merasa sendirian disini.

boleh terus follow abang nih, buat dapet tambah-tambah power.

kalau di blocktrades itu harus beli ya bang?, maksudnya nyewa apa beli?

Sewa juga bisa @calprut, untuk saat ini 1 SBD untuk 6 Steempower (lagi murah perbandingannya).

Biasakan untuk berkomunikasi dengan teman-teman steemit dari luar, kebanyakan mereka tida sesombong seperti di daerah kita.

iya bang, soalnya saya merasa yang dari indonesia justru pada sombong, trus kalau ada kata2 sorry "ngemis dikit" dari newbie, langsung di cacat habis-habisan.

makasih atas bantuan sebelumnya bang, akhirnya ketemu yang tidak sombong :), jangan bosan-bosan kasih saran ke saya ya bang

okay!!
you are welcome, brother!!

Hello @ahyar92, thank you for this report. I was able to replicate this behavior on my device. However, similar report had already been made on github here

Thanks for using our service.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]