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

Compiler crash: Iterables do not have same length. #48148

Closed
modulovalue opened this issue Jan 14, 2022 · 29 comments
Closed

Compiler crash: Iterables do not have same length. #48148

modulovalue opened this issue Jan 14, 2022 · 29 comments
Assignees
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues.

Comments

@modulovalue
Copy link
Contributor

Crash when compiling ... .
at character offset null:
Invalid argument(s): Iterables do not have same length.
#0      MapBase._fillMapWithIterables (dart:collection/maps.dart:92:7)
#1      new LinkedHashMap.fromIterables (dart:collection/linked_hash_map.dart:126:13)
#2      findTypeArgumentIssues (package:kernel/src/bounds_checks.dart:385:11)
#3      SourceLibraryBuilder.checkBoundsInType (package:front_end/src/fasta/source/source_library_builder.dart:3987:38)
#4      BodyBuilder._unaliasTypeAliasedConstructorInvocations (package:front_end/src/fasta/kernel/body_builder.dart:1389:22)
#5      BodyBuilder.performBacklogComputations (package:front_end/src/fasta/kernel/body_builder.dart:889:5)
#6      BodyBuilder.finishFields (package:front_end/src/fasta/kernel/body_builder.dart:877:5)
#7      DietListener._parseFields (package:front_end/src/fasta/source/diet_listener.dart:1010:17)
#8      DietListener.buildFields (package:front_end/src/fasta/source/diet_listener.dart:832:5)
#9      DietListener.endTopLevelFields (package:front_end/src/fasta/source/diet_listener.dart:376:5)
#10     Parser.parseFields (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2949:18)
#11     Parser.parseTopLevelMemberImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2839:12)
#12     Parser.parseTopLevelDeclarationImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:509:16)
#13     Parser.parseUnit (package:_fe_analyzer_shared/src/parser/parser_impl.dart:377:15)
#14     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:826:14)
<asynchronous suspension>
#15     SourceLoader.buildBodies (package:front_end/src/fasta/source/source_loader.dart:388:9)
<asynchronous suspension>
#16     KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:548:7)
<asynchronous suspension>
#17     withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#18     generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:162:19)
<asynchronous suspension>
#19     withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#20     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:50:12)
<asynchronous suspension>
#21     generateKernel (package:front_end/src/kernel_generator_impl.dart:49:10)
<asynchronous suspension>
#22     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:97:11)
<asynchronous suspension>
#23     SingleShotCompilerWrapper.compileInternal (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:398:11)
<asynchronous suspension>
#24     Compiler.compile.<anonymous closure> (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:216:45)
<asynchronous suspension>
#25     _processLoadRequest (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:886:37)
<asynchronous suspension>


#0      MapBase._fillMapWithIterables (dart:collection/maps.dart:92:7)
#1      new LinkedHashMap.fromIterables (dart:collection/linked_hash_map.dart:126:13)
#2      findTypeArgumentIssues (package:kernel/src/bounds_checks.dart:385:11)
#3      SourceLibraryBuilder.checkBoundsInType (package:front_end/src/fasta/source/source_library_builder.dart:3987:38)
#4      BodyBuilder._unaliasTypeAliasedConstructorInvocations (package:front_end/src/fasta/kernel/body_builder.dart:1389:22)
#5      BodyBuilder.performBacklogComputations (package:front_end/src/fasta/kernel/body_builder.dart:889:5)
#6      BodyBuilder.finishFields (package:front_end/src/fasta/kernel/body_builder.dart:877:5)
#7      DietListener._parseFields (package:front_end/src/fasta/source/diet_listener.dart:1010:17)
#8      DietListener.buildFields (package:front_end/src/fasta/source/diet_listener.dart:832:5)
#9      DietListener.endTopLevelFields (package:front_end/src/fasta/source/diet_listener.dart:376:5)
#10     Parser.parseFields (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2949:18)
#11     Parser.parseTopLevelMemberImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:2839:12)
#12     Parser.parseTopLevelDeclarationImpl (package:_fe_analyzer_shared/src/parser/parser_impl.dart:509:16)
#13     Parser.parseUnit (package:_fe_analyzer_shared/src/parser/parser_impl.dart:377:15)
#14     SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:826:14)
<asynchronous suspension>
#15     SourceLoader.buildBodies (package:front_end/src/fasta/source/source_loader.dart:388:9)
<asynchronous suspension>
#16     KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:548:7)
<asynchronous suspension>
#17     withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#18     generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:162:19)
<asynchronous suspension>
#19     withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#20     generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:50:12)
<asynchronous suspension>
#21     generateKernel (package:front_end/src/kernel_generator_impl.dart:49:10)
<asynchronous suspension>
#22     kernelForModule (package:front_end/src/api_prototype/kernel_generator.dart:97:11)
<asynchronous suspension>
#23     SingleShotCompilerWrapper.compileInternal (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:398:11)
<asynchronous suspension>
#24     Compiler.compile.<anonymous closure> (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:216:45)
<asynchronous suspension>
#25     _processLoadRequest (file:///opt/s/w/ir/cache/builder/sdk/pkg/vm/bin/kernel_service.dart:886:37)
<asynchronous suspension>
const HInvalid invalidExample = HInvalidComposite(
  [
    HInvalidLeaf(0),
    HInvalidChild(
      HInvalidLeaf(0),
    ),
    HInvalidError("error message"),
  ],
);

typedef HInvalid = HBase<HKindInvalid>;
typedef HInvalidComposite<CHILD extends HInvalid> = HBaseComposite<HKindInvalid, CHILD>;
typedef HInvalidChild<CHILD extends HInvalid> = HBaseChild<HKindInvalid, CHILD>;
typedef HInvalidLeaf = HBaseLeaf<HKindInvalid>;
typedef HInvalidError = HBaseError<HKindInvalid>;

abstract class HBase<HKT extends HKind> implements Kind<HKT> {}

class HBaseComposite<HKT extends HKindValid, CHILD extends HBase<HKT>> implements HBase<HKT> {
  final List<CHILD> children;

  const HBaseComposite(
    final this.children,
  );
}

class HBaseChild<HKT extends HKindValid, CHILD extends HBase<HKT>> implements HBase<HKT> {
  final CHILD child;

  const HBaseChild(
    final this.child,
  );
}

class HBaseLeaf<HKT extends HKindValid> implements HBase<HKT> {
  final int data;

  const HBaseLeaf(
    final this.data,
  );
}

class HBaseError<HKT extends HKindInvalid> implements HBase<HKT> {
  final String errorMessage;

  const HBaseError(
    final this.errorMessage,
  );
}

abstract class Kind<HKT extends HKind> {}

abstract class HKind {}

abstract class HKindValid implements HKind {}

abstract class HKindInvalid implements HKindValid {}
@devoncarew devoncarew added the area-front-end Use area-front-end for front end / CFE / kernel format related issues. label Jan 14, 2022
@johnniwinther johnniwinther self-assigned this Jan 14, 2022
@Pranav2907
Copy link

Can i get the whole project if possible?

@Pranav2907
Copy link

I guess the problem is in the abstraction of classes they are not properly extended .

@modulovalue
Copy link
Contributor Author

Can i get the whole project if possible?

The given example is self-contained and reproduces the crash. It isn't necessary to add a main function, just paste the example into an example.dart file and try to run it with dart example.dart

@Pranav2907
Copy link

okay , thank you I will try that.

@johnniwinther
Copy link
Member

@modulovalue, I'm working on a fix. Your repo is sufficient. Thanks.

@Pranav2907
Copy link

hey can you help me understand what was the issu actually and how it was solved ? It seems hard to read from above given commit.

@johnniwinther
Copy link
Member

The problem was caused by how the compiler builds the AST internally:

We compile the AST in two phases. The first (outline phase) builds the library scopes with for instance field and method declarations with their declared types. The second (body phase) builds the initializers of field declarations and bodies of method declarations.

Because of modular compilation (used for instance for the web development compiler) some parts of the body phase work must be performed during the outline phase. Amongst these is building the initializer of constant fields, like invalidExample in the repo. Unfortunately, this work cannot easily be skipped in the body phase, meaning that we for instance build the AST for constant field initializers twice, both in the outline phase and in the body phase.

In the latter, the duplicate ASTs are generally discarded, but in this case, the constructor invocation for HInvalidChild(...) inside invalidExample was not fully discarded, but left in an incomplete state, which triggered the crash. The fix was to detect the inconsistent state (in the code by checking the .hasBeenInferred property) and discard the invocation node at this point.

@Pranav2907
Copy link

Thank you so much for your info.

@Craftplacer
Copy link

I see the same issue occur on Dart 3.2.0 (build 3.2.0-65.0.dev) (with Flutter) while debugging when trying to read a value by hovering over a property in IDEA.

Unhandled exception:
Invalid argument(s): Iterables do not have same length.
#0      MapBase._fillMapWithIterables (dart:collection/maps.dart:178:7)
#1      new LinkedHashMap.fromIterables (dart:collection/linked_hash_map.dart:246:13)
#2      Substitution.fromPairs (package:kernel/type_algebra.dart:263:13)
#3      InferenceVisitorBase.getGetterTypeForMemberTarget (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1404:35)
#4      InstanceAccessTarget.getGetterType (package:front_end/src/fasta/type_inference/object_access_target.dart:491:30)
#5      InferenceVisitorImpl._computePropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:6673:36)
#6      InferenceVisitorImpl.visitPropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:7676:61)
#7      PropertyGet.acceptInference (package:front_end/src/fasta/kernel/internal_ast.dart:2984:20)
#8      InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:267:27)
#9      InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:301:40)
#10     InferenceVisitorImpl.visitReturnStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:7889:11)
#11     ReturnStatement.accept (package:kernel/ast.dart:9950:43)
#12     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:252:26)
#13     TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:198:17)
#14     BodyBuilder.parseSingleExpression (package:front_end/src/fasta/kernel/body_builder.dart:1790:62)
#15     SourceLoader.buildExpression (package:front_end/src/fasta/source/source_loader.dart:1321:21)
<asynchronous suspension>
#16     IncrementalCompiler.compileExpression.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:2033:39)
<asynchronous suspension>
#17     CompilerContext.clear (package:front_end/src/fasta/compiler_context.dart:139:3)
<asynchronous suspension>
#18     IncrementalCompiler.compileExpression (package:front_end/src/fasta/incremental_compiler.dart:1853:12)
<asynchronous suspension>
#19     FrontendCompiler.compileExpression (package:frontend_server/frontend_server.dart:981:28)
<asynchronous suspension>
#20     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1452:11)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.

@burekas7
Copy link

burekas7 commented Aug 28, 2023

Is there any solution for that? (Flutter 3.13)
I also have this problem. It happens after a specific api call, immediately after the response is arrived.

EDITED:
Updating from:
sdk: '>=3.0.3 <4.0.0'
To:
sdk: '>=3.1.0 <4.0.0'
Fixed the error.

@Lonyless
Copy link

Lonyless commented Aug 29, 2023

Is there any solution for that? (Flutter 3.13) I also have this problem. It happens after a specific api call, immediately after the response is arrived.

EDITED: Updating from: sdk: '>=3.0.3 <4.0.0' To: sdk: '>=3.1.0 <4.0.0' Fixed the error.

same here, after trying to evaluate a dio response. Increasing sdk boundaries dont seem to have any effect
Dart SDK version: 3.1.0 (stable) (Tue Aug 15 21:33:36 2023 +0000) on "windows_x64"

Unhandled exception:
Invalid argument(s): Iterables do not have same length.
#0      MapBase._fillMapWithIterables (dart:collection/maps.dart:178:7)
#1      new LinkedHashMap.fromIterables (dart:collection/linked_hash_map.dart:246:13)
#2      Substitution.fromPairs (package:kernel/type_algebra.dart:263:13)
#3      InferenceVisitorBase.getGetterTypeForMemberTarget (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1465:35)
#4      InstanceAccessTarget.getGetterType (package:front_end/src/fasta/type_inference/object_access_target.dart:489:30)
#5      InferenceVisitorImpl._computePropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:6663:36)
#6      InferenceVisitorImpl.visitPropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:7672:61)
#7      PropertyGet.acceptInference (package:front_end/src/fasta/kernel/internal_ast.dart:2984:20)
#8      InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:257:27)
#9      InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:291:40)
#10     InferenceVisitorImpl.visitReturnStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:7894:11)
#11     ReturnStatement.accept (package:kernel/ast.dart:10127:43)
#12     InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:242:26)
#13     TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:198:17)
#14     BodyBuilder.parseSingleExpression (package:front_end/src/fasta/kernel/body_builder.dart:1780:62)
#15     SourceLoader.buildExpression (package:front_end/src/fasta/source/source_loader.dart:1320:21)

doctor:

[√] Flutter (Channel stable, 3.13.1, on Microsoft Windows [versÆo 10.0.19045.3324], locale pt-BR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.3)
[√] Android Studio (version 2022.2)
[√] VS Code, 64-bit edition (version 1.81.1)
[√] Connected device (4 available)
[√] Network resources

@modulovalue
Copy link
Contributor Author

@burekas7 @Craftplacer @Lonyless I think you should consider opening a new issue.

@burekas7
Copy link

@Lonyless
Maybe it's the same error but a different reason.
For me, updating the sdk fixed it.

@johnniwinther
Copy link
Member

@burekas7 @Craftplacer @Lonyless The stack traces are different enough to indicate that this is a new problem, so do create a new issue. Also, if you can create a repro it would be of much help.

@fedpinx
Copy link

fedpinx commented Sep 8, 2023

In my case it's happening even with sdk: '>=3.1.0 <4.0.0', and its happening only in Debug mode, and when I'm trying to access a dynamic object inside a Response (Dio).

@johnniwinther
Copy link
Member

The new problem (crash originating from SourceLoader.buildExpression) is tracked in #53453

@fedpinx Thanks for the additional info on the circumstances for the crash.

@pv-kashif
Copy link

Is there any solution for that? (Flutter 3.13) I also have this problem. It happens after a specific api call, immediately after the response is arrived.

EDITED: Updating from: sdk: '>=3.0.3 <4.0.0' To: sdk: '>=3.1.0 <4.0.0' Fixed the error.

same error after upgrading to flutter 3.13 in same use case like u...

@Chandio763
Copy link

In my case it's happening even with sdk: '>=3.1.0 <4.0.0', and its happening only in Debug mode, and when I'm trying to access a dynamic object inside a Response (Dio).

Same, happening exact after the responce of an api using dio.
upgrading version to sdk: '>=3.1.0 <4.0.0' somehow fixed it but I am using breakpoint to view responce, this exceptions happens most of the time.

@2p31-1
Copy link

2p31-1 commented Sep 16, 2023

same here after upgrading flutter 3.13.3, dart 3.1.1

@Chandio763
Copy link

same here after upgrading flutter 3.13.3, dart 3.1.1

unchecking the unhandled exception in vs code works for me but i think this isn't the solution bcz we need to track unhandled exceptions.

@johnniwinther
Copy link
Member

The issue has been fixed (see #53453) and is available in the current dev release and will be available in the next beta and stable releases.

@faisalansari0367
Copy link

I see the same issue occur on Dart 3.2.0 (build 3.2.0-65.0.dev) (with Flutter) while debugging when trying to read a value by hovering over a property in IDEA.

Same issue is happening with me when I am trying to debug the repsonse of an API.
following are the details with a screenshot for the same.

Unhandled exception:
Invalid argument(s): Iterables do not have same length.
#0 MapBase._fillMapWithIterables (dart:collection/maps.dart:178:7)
#1 new LinkedHashMap.fromIterables (dart:collection/linked_hash_map.dart:246:13)
#2 Substitution.fromPairs (package:kernel/type_algebra.dart:263:13)
#3 InferenceVisitorBase.getGetterTypeForMemberTarget (package:front_end/src/fasta/type_inference/inference_visitor_base.dart:1465:35)
#4 InstanceAccessTarget.getGetterType (package:front_end/src/fasta/type_inference/object_access_target.dart:489:30)
#5 InferenceVisitorImpl._computePropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:6663:36)
#6 InferenceVisitorImpl.visitPropertyGet (package:front_end/src/fasta/type_inference/inference_visitor.dart:7672:61)
#7 PropertyGet.acceptInference (package:front_end/src/fasta/kernel/internal_ast.dart:2984:20)
#8 InferenceVisitorImpl._inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:257:27)
#9 InferenceVisitorImpl.inferExpression (package:front_end/src/fasta/type_inference/inference_visitor.dart:291:40)
#10 InferenceVisitorImpl.visitReturnStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:7894:11)
#11 ReturnStatement.accept (package:kernel/ast.dart:10127:43)
#12 InferenceVisitorImpl.inferStatement (package:front_end/src/fasta/type_inference/inference_visitor.dart:242:26)
#13 TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:198:17)
#14 BodyBuilder.parseSingleExpression (package:front_end/src/fasta/kernel/body_builder.dart:1780:62)
#15 SourceLoader.buildExpression (package:front_end/src/fasta/source/source_loader.dart:1320:21)

#16 IncrementalCompiler.compileExpression. (package:front_end/src/fasta/incremental_compiler.dart:2033:39)

#17 IncrementalCompiler.compileExpression (package:front_end/src/fasta/incremental_compiler.dart:1853:12)

#18 FrontendCompiler.compileExpression (package:frontend_server/frontend_server.dart:981:28)

#19 listenAndCompile. (package:frontend_server/frontend_server.dart:1452:11)

the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.
Exited (1)

flutter doctor output:
[✓] Flutter (Channel stable, 3.13.4, on macOS 13.4.1 22F770820d darwin-arm64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources

Screenshot 2023-09-30 at 5 33 38 PM

@jaypathak9460
Copy link

jaypathak9460 commented Oct 3, 2023

Yes i have faced same error after upgrading Flutter version
once it shows me error to update the compileSdkVersion so i did that but still facing same issue
i also update the
environment:
sdk: '>=3.1.2 <4.0.0'
i got the reference by creating new and then i copied this value from it but issue still persists.
any help would be help full

Note:- this issue is only faced when the variables is defined and want to check the its properties value then and then this error comes and stops the application and Before updating the environment it shows for defined variable also.

@johnniwinther
Copy link
Member

The fix was first included in 3.2.0-154.0.dev so it has not yet been picked up by the current Flutter version.

@christopherfujino Do you know when this can be expected to be picked up by Flutter?

@christopherfujino
Copy link
Member

christopherfujino commented Oct 9, 2023

The fix was first included in 3.2.0-154.0.dev so it has not yet been picked up by the current Flutter version.

@christopherfujino Do you know when this can be expected to be picked up by Flutter?

Not sure when exactly it rolled, but currently the engine is past that version, at 3.3.0-2.0.dev: flutter/engine@429a242

And at the Flutter SDK master channel HEAD, I see:

Flutter 3.16.0-7.0.pre.42 • channel master • [email protected]:flutter/flutter.git
Framework • revision a5e3e78591 (23 minutes ago) • 2023-10-09 09:55:09 -0700
Engine • revision 22ce5c6a45
Tools • Dart 3.3.0 (build 3.3.0-2.0.dev) • DevTools 2.28.1

@leqnam
Copy link

leqnam commented Oct 23, 2023

Ohmg I face this issue too when I am trying to debug the repsonse of an API.

[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.22621.2428], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.7.3)
[√] Android Studio (version 2022.3)
[√] IntelliJ IDEA Ultimate Edition (version 2023.2)
[√] VS Code (version 1.83.1)
[√] Connected device (3 available)
[√] Network resources

@kashiflab
Copy link

@christopherfujino I am also facing this issue while fetching data from hive.

@hupo376787
Copy link

Same issue, but I upgrade my flutter solved.

flutter upgrade
Upgrading Flutter to 3.16.4 from 3.13.0 in D:\flutter\src\flutter...

@Caroline1224
Copy link

In my case it's happening even with sdk: '>=3.1.0 <4.0.0', and its happening only in Debug mode, and when I'm trying to access a dynamic object inside a Response (Dio).

How did you go around it please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues.
Projects
None yet
Development

No branches or pull requests