Open vishnudasRapidor opened 4 months ago
When parsing excel i'm getting Bad state: No element error
Error: Bad state: No element http://localhost:50669/dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3 throw_ http://localhost:50669/dart-sdk/lib/core/iterable.dart 674:25 get single http://localhost:50669/packages/excel/src/parser/parse.dart 275:49 <fn> http://localhost:50669/dart-sdk/lib/core/iterable.dart 347:29 forEach http://localhost:50669/packages/excel/src/parser/parse.dart 245:32 [_parseStyles] http://localhost:50669/packages/excel/src/parser/parse.dart 16:5 [_startParsing] http://localhost:50669/packages/excel/src/excel.dart 82:5 __ http://localhost:50669/packages/excel/src/excel.dart 17:20 _newExcel http://localhost:50669/packages/excel/src/excel.dart 97:12 decodeBytes http://localhost:50669/packages/ondc_seller_web/apps/common/ui/widgets/file_drop_target.dart 89:27 pickFile http://localhost:50669/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn> http://localhost:50669/dart-sdk/lib/async/zone.dart 1661:54 runUnary http://localhost:50669/dart-sdk/lib/async/future_impl.dart 162:18 handleValue http://localhost:50669/dart-sdk/lib/async/future_impl.dart 838:44 handleValueCallback http://localhost:50669/dart-sdk/lib/async/future_impl.dart 867:13 _propagateToListeners http://localhost:50669/dart-sdk/lib/async/future_impl.dart 464:9 callback http://localhost:50669/dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop http://localhost:50669/dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop http://localhost:50669/dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
stack trace