Corewala / Buran

Gemini browser for Android
GNU General Public License v3.0
107 stars 10 forks source link

Crash when trying to open an address #22

Closed licaon-kter closed 2 years ago

licaon-kter commented 2 years ago

v1.9 self built

Open the app Block the home capsule loading (https://github.com/Corewala/Buran/issues/20) Put any link in the browser address bar: gemini://drewdevault.com Press ENTER

FATAL EXCEPTION: main
Process: corewala.gemini.buran, PID: 2609
java.util.NoSuchElementException: List is empty.
    at w2.f.C(Unknown Source:2)
    at h.h.k(Unknown Source:4)
    at corewala.buran.ui.GemActivity.D(Unknown Source:6)
    at corewala.buran.ui.GemActivity.z(Unknown Source:2)
    at corewala.buran.ui.GemActivity.y(Unknown Source:1)
    at corewala.buran.ui.GemActivity$c.a(Unknown Source:1)
    at corewala.buran.ui.GemActivity$g.onEditorAction(Unknown Source:3)
    at android.widget.TextView.onEditorAction(TextView.java:7075)
    at com.android.internal.widget.EditableInputConnection.performEditorAction(EditableInputConnection.java:138)
    at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:363)
    at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:93)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:223)
    at android.app.ActivityThread.main(ActivityThread.java:7705)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
Corewala commented 2 years ago

Fixed