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

DioError [DioErrorType.DEFAULT]: #359

Closed
waitwalker opened this issue Jul 4, 2019 · 2 comments
Closed

DioError [DioErrorType.DEFAULT]: #359

waitwalker opened this issue Jul 4, 2019 · 2 comments

Comments

@waitwalker
Copy link

New Issue Checklist

Dior 请求异常,结果正常返回,状态码200,在StreamHandlerTransformer报错.

Issue Info

Info Value
Platform Name e.g. flutter / ios / android
Platform Version e.g. 1.5.0 / 12.0 / 9.0
Dio Version e.g. 2.1.0 / 1.0.17
Android Studio / Xcode Version e.g. Android Studio 3.4 / Xcode 10.2.1

Issue Description and Steps

DioError [DioErrorType.DEFAULT]: type '_StreamHandlerTransformer<List, List>' is not a subtype of type 'StreamTransformer<Uint8List, List>' of 'streamTransformer'#0 Stream.transform (dart:async/stream.dart)
#1 DefaultTransformer.transformResponse (package:dio/src/transformer.dart:102:48)

#2 Dio._makeRequest (package:dio/src/dio.dart:771:38)

#3 Dio._request.. (package:dio/src/dio.dart:710:22)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#9 Future._complete (dart:async/future_impl.dart:473:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11

@prasant10050
Copy link

Please check this issue..My Production has crashed..

@wendux
Copy link
Contributor

wendux commented Jul 4, 2019

duplicated #357

@wendux wendux closed this as completed Jul 4, 2019
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