Launcher crashes in loop due to the invalid sentry dsn
- /e/ version: 1.8-rc
- Device model(s): all
- Developer mode enabled: yes
- Device rooted: no
- Trackers blocker enabled: yes
Summary
Launcher crashes in loop due to the invalid sentry dsn.
The problem
Steps to reproduce
Enable telemetry from dev settings.
What is the current behavior?
Launcher crashes in loop.
What is the expected correct behavior?
Telemetry and launcher works.
Technical informations
Relevant logs (adb logcat
)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: FATAL EXCEPTION: main
01-25 17:47:08.278 31007 31007 E AndroidRuntime: Process: foundation.e.blisslauncher, PID: 31007
01-25 17:47:08.278 31007 31007 E AndroidRuntime: java.lang.RuntimeException: Unable to create application foundation.e.blisslauncher.BlissLauncher: java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 1: ${SENTRY_DSN}
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6767)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.ActivityThread.access$1500(ActivityThread.java:256)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2091)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7870)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 1: ${SENTRY_DSN}
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.Dsn.<init>(Dsn.java:89)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.Sentry.initConfigurations(Sentry.java:226)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.Sentry.init(Sentry.java:188)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.Sentry.init(Sentry.java:125)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:89)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.android.core.SentryAndroid.init(SentryAndroid.java:70)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at foundation.e.lib.telemetry.Telemetry.init(Telemetry.kt:20)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at foundation.e.blisslauncher.BlissLauncher.onCreate(BlissLauncher.java:49)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1227)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6762)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: ... 9 more
01-25 17:47:08.278 31007 31007 E AndroidRuntime: Caused by: java.net.URISyntaxException: Illegal character in path at index 1: ${SENTRY_DSN}
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.net.URI$Parser.fail(URI.java:2893)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.net.URI$Parser.checkChars(URI.java:3066)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.net.URI$Parser.parseHierarchical(URI.java:3150)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.net.URI$Parser.parse(URI.java:3108)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at java.net.URI.<init>(URI.java:584)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: at io.sentry.Dsn.<init>(Dsn.java:54)
01-25 17:47:08.278 31007 31007 E AndroidRuntime: ... 18 more
01-25 17:47:08.281 31007 31007 I Process : Sending signal. PID: 31007 SIG: 9