Contribute to Open Source. Search issue labels to find the right project for you!

Crashes related to server URL


My Android keyboard mangled “” to “recurse. zulipchat. com” which caused the Zulip Android app available on Play to crash when I clicked “Enter”. Android can also be crashed by entering an invalid server URL, backgrounding the app, then foregrounding it. Both of these methods show the same okhttp stacktrace.

com.zulipmobile E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
     Process: com.zulipmobile
     Theme: themes:{}
     java.lang.IllegalArgumentException: unexpected url: https://recurse. zulipchat. com/api/v1/server_settings?
         at okhttp3.Request$Builder.url(
         at java.lang.reflect.Method.invoke(Native Method)
         at com.facebook.react.bridge.JavaMethodWrapper.invoke(
         at com.facebook.react.bridge.JavaModuleWrapper.invoke(
         at Method)
         at android.os.Handler.handleCallback(
         at android.os.Handler.dispatchMessage(
         at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(
         at android.os.Looper.loop(
         at com.facebook.react.bridge.queue.MessageQueueThreadImpl$

Apologies if this has already been fixed. I tried to build the Android app to see if this had been fixed but running react-native run-android gives the error more than one library with package name 'com.wix.reactnativenotifications'.

I was able to build the iOS app. It doesn’t show this crash, although the page looks somewhat broken (“Enter” button only partially visible). screen shot 2017-10-31 at 12 21 48 pm

Updated 02/11/2017 00:45 6 Comments

Fork me on GitHub