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

android.os.NetworkOnMainThreadException in ExceptionHandler.uncaughtException() #7

Closed
rehan-vanzyl opened this issue Mar 26, 2013 · 4 comments

Comments

@rehan-vanzyl
Copy link

android.os.NetworkOnMainThreadException: The exception that is thrown when an application attempts to perform a networking operation on its main thread.

On an unhandled exception uncaughtException() is called which in turn calls client.autoNotify(). client is an instance of com.bugsnag.Client which does not call notify() on a background thread while Bugsnag.notify() does (which is correct).

@loopj
Copy link
Contributor

loopj commented Mar 26, 2013

Hey @rehan-vanzyl this is a bug. We're rolling out a release today that fixes this issue.

Thanks for reporting!

@loopj
Copy link
Contributor

loopj commented Mar 26, 2013

Hey @rehan-vanzyl we've just released a new version of the Android Notifier that fixes this issue:
https://s3.amazonaws.com/bugsnagcdn/bugsnag-android/bugsnag-android-2.0.6.jar

Please let me know if this works for you.

Best

  • James

@loopj loopj closed this as completed Mar 26, 2013
@rehan-vanzyl
Copy link
Author

This does fix my issue. Thanks!

@l0gg3r
Copy link

l0gg3r commented Apr 16, 2014

This issue is back in version 2.1.1

lemnik pushed a commit that referenced this issue Jun 2, 2021
Load Bugsnag tasks after project has been evaluated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants