Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate into NoClassDefFoundError #3025

Closed
markushi opened this issue Nov 6, 2023 · 1 comment · Fixed by #3044
Closed

Investigate into NoClassDefFoundError #3025

markushi opened this issue Nov 6, 2023 · 1 comment · Fixed by #3044

Comments

@markushi
Copy link
Member

markushi commented Nov 6, 2023

Description

We're seeing more and more errors produced by a few users (~20) on few apps (~10) but with high volume (~10k).

It looks like URL.openConnection() is throwing this issue, maybe due to a malformed DSN? (E.g. wrong protocol).

Type
java.lang.NoClassDefFoundError
Exception java.lang.NoClassDefFoundError:
at
at android.app.Instrumentation.callApplicationOnCreate (Instrumentation.java:1211)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:7506)
at android.app.ActivityThread.access$1600 (ActivityThread.java:310)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2281)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8663)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:567)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1135)
Caused by java.lang.ExceptionInInitializerError:
at
at io.sentry.transport.HttpConnection.open (HttpConnection.java:103)
at io.sentry.transport.HttpConnection.createConnection (HttpConnection.java:114)
at io.sentry.transport.HttpConnection.send (HttpConnection.java:150)
at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.flush (AsyncHttpTransport.java:247)
at io.sentry.transport.AsyncHttpTransport$EnvelopeSender.run (AsyncHttpTransport.java:201)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:487)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:644)
at java.lang.Thread.run (Thread.java:1012)
Caused by java.lang.IllegalStateException:
at

@markushi
Copy link
Member Author

markushi commented Nov 9, 2023

Gave it a quick try, we accept any protocol, even FTP 😅

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant