I'm very new to dart and programming and am getting the following error when running the example. Do you know what the problem may be? Hope I'm not doing something stupid with configuration data. Any help would be appreciated.
opening connection
connection open
running example
dropping tables
Uncaught Error: The null object does not have a getter 'length'.
I'm very new to dart and programming and am getting the following error when running the example. Do you know what the problem may be? Hope I'm not doing something stupid with configuration data. Any help would be appreciated.
opening connection connection open running example dropping tables Uncaught Error: The null object does not have a getter 'length'.
NoSuchMethodError: method not found: 'length' Receiver: null Arguments: [] Stack Trace:
0 Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
1 Utf8Encoder.convert (dart:convert/utf.dart:90)
2 Codec.encode (dart:convert/codec.dart:22)
3 _AuthHandler.createRequest (package:sqljocky/src/auth/auth_handler.dart:50:38)
4 _handleData (package:sqljocky/src/connection.dart:184:43)
5 _rootRunUnary (dart:async/zone.dart:730)
6 _RootZone.runUnary (dart:async/zone.dart:864)
7 _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:488)
8 _Future._propagateToListeners (dart:async/future_impl.dart:571)
9 _Future._completeWithValue (dart:async/future_impl.dart:331)
10 _Future._asyncComplete. (dart:async/future_impl.dart:393)
11 _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:23)
12 _asyncRunCallback (dart:async/schedule_microtask.dart:32)
13 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:128)
Unhandled exception: The null object does not have a getter 'length'.
NoSuchMethodError: method not found: 'length' Receiver: null Arguments: []
0 _rootHandleUncaughtError.. (dart:async/zone.dart:713)
1 _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:23)
2 _asyncRunCallback (dart:async/schedule_microtask.dart:32)
3 _asyncRunCallback (dart:async/schedule_microtask.dart:36)
4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:128)