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

Uncaught exception inside IOHttpClientAdapter #1979

Closed
vadrian89 opened this issue Sep 22, 2023 · 1 comment
Closed

Uncaught exception inside IOHttpClientAdapter #1979

vadrian89 opened this issue Sep 22, 2023 · 1 comment
Labels
i: duplicate This issue or pull request already exists

Comments

@vadrian89
Copy link

Package

dio

Version

5.3.3

Operating-System

Android

Output of flutter doctor -v

[✓] Flutter (Channel stable, 3.13.5, on KDE neon 5.27 6.2.0-33-generic, locale ro_RO.UTF-8)
    • Flutter version 3.13.5 on channel stable at /home/adrian/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 12fccda598 (3 days ago), 2023-09-19 13:56:11 -0700
    • Engine revision bd986c5ed2
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /home/adrian/Android/Sdk
    • Platform android-33, build-tools 33.0.2
    • ANDROID_SDK_ROOT = /home/adrian/Android/Sdk
    • Java binary at: /home/adrian/Programe/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.27.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2022.3)
    • Android Studio at /home/adrian/Programe/android-studio
    • Flutter plugin version 75.1.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version unknown)
    • VS Code at /snap/code/current
    • Flutter extension version 3.72.0
    ✗ Unable to determine VS Code version.

[✓] Connected device (4 available)
    • Redmi Note 8 Pro (mobile)  • jrhavkvg6xgutcxc • android-arm64  • Android 11 (API 30)
    • sdk gphone x86 64 (mobile) • emulator-5554    • android-x64    • Android 13 (API 33) (emulator)
    • Linux (desktop)            • linux            • linux-x64      • KDE neon 5.27 6.2.0-33-generic
    • Chrome (web)               • chrome           • web-javascript • Google Chrome 117.0.5938.88

[✓] Network resources
    • All expected network resources are available.

Dart Version

3.1.2

Steps to Reproduce

  1. Stop internet access of device.
  2. Make a Dio.get request.

Expected Result

  1. Should not throw a DioException which cannot be catched.

Actual Result

It throws an uncaught exception inside IOHttpClientAdapter.
image

@vadrian89 vadrian89 added h: need triage This issue needs to be categorized s: bug Something isn't working labels Sep 22, 2023
@vadrian89 vadrian89 reopened this Sep 22, 2023
@AlexV525
Copy link
Member

Duplicate of #1869

@AlexV525 AlexV525 marked this as a duplicate of #1869 Sep 22, 2023
@AlexV525 AlexV525 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 22, 2023
@AlexV525 AlexV525 added i: duplicate This issue or pull request already exists and removed h: need triage This issue needs to be categorized s: bug Something isn't working labels Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants