connectbot
                                
                                 connectbot copied to clipboard
                                
                                    connectbot copied to clipboard
                            
                            
                            
                        Last 30-45 days started crashing on startup
Bug description
Program starts normally. When connecting to any remote server, the program crashes out.
Steps to reproduce
- Go to 'Connect Bot'
- Click on 'Saved Connection'
- See error
Expected behavior
It used to connect to the server and work flawlessly. This is now happening on our devices from ScanSKU
Screenshots
https://user-images.githubusercontent.com/97308252/148587255-7e70d764-7c25-4755-a796-78abd3e67c1b.mp4
Android device
ANDROID BARCODE SCANNER- RUGGED R SERIES (1D) ANDROID BARCODE SCANNER - RUGGED M SERIES (1D)
Using the latest version of ConnectBot from the Google Play Store
Server information
Getting information from our server vendor, but also happening with any telnet/ssh servers currently.
Additional context
I see a crash happening for Zebra TC21 and TC26 devices which look like barcode scanners. I can't really tell what's going on, but it only shows up on these devices. Is there any way you could get a logcat from that device?
java.lang.IllegalStateException: 
  at android.view.WindowManagerGlobal.addView (WindowManagerGlobal.java:359)
  at android.view.WindowManagerImpl.addView (WindowManagerImpl.java:96)
  at android.widget.Toast$TN.handleShow (Toast.java:514)
  at android.widget.Toast$TN$1.handleMessage (Toast.java:417)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:214)
  at android.app.ActivityThread.main (ActivityThread.java:7397)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:935)
I don't have root access to these devices, but they are running Android 7.0 Had to get my hands on the device from the team using them. If you want I am not that far away, and you can get some hands on time with the device.