-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Description
I made a simple demonstration app that does a http.get which throws an exceptions. The stocks example throws the same error.
Steps to Reproduce
Click button which invokes
var response = await http.get(_url)
Flutter Doctor
[✓] Flutter (on Mac OS, channel alpha)
• Flutter at /Users/toney/flutter
• Framework revision 5460e94 (7 days ago), engine revision 76d5cf2
[x] Android toolchain - develop for Android devices
x Android Studio / Android SDK not found. Download from https://developer.android.com/sdk/
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1)
• XCode at /Applications/Xcode.app/Contents/Developer
• Xcode 7.3.1, Build version 7D1012
[✓] Atom - a lightweight development environment for Flutter
• Atom installed; Flutter plugin version 0.2.2
Logs and Crash Reports
May 9 11:07:36 --- last message repeated 1 time ---
══╡ EXCEPTION CAUGHT BY NETWORKING HTTP LIBRARY ╞═══════════════════════════════════════════════════
The following NoSuchMethodError was thrown while sending bytes to the Mojo network library:
The null object does not have a getter 'iterator'.
NoSuchMethodError: method not found: 'iterator'
Receiver: null
Arguments: []
When the exception was thrown, this was the stack:
#0 Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2 MojoClient._send.<_send_async_body> (package:flutter/src/http/mojo_client.dart:183:39)
#3 _RootZone.runUnary (dart:async/zone.dart:1137)
#4 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:553)
#5 _Future._propagateToListeners (dart:async/future_impl.dart:639)
#6 _Future._completeWithValue (dart:async/future_impl.dart:426)
#7 _Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:481)
#8 _microtaskLoop (dart:async/schedule_microtask.dart:41)
#9 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.