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

Bad state: No element while parsing #352

Open
vishnudasRapidor opened this issue May 16, 2024 · 0 comments
Open

Bad state: No element while parsing #352

vishnudasRapidor opened this issue May 16, 2024 · 0 comments

Comments

@vishnudasRapidor
Copy link

When parsing excel i'm getting Bad state: No element error

image

stack trace

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>
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

1 participant