Skip to content

Illegal argument in isolate message: (object extends NativeWrapper - Library:'dart:ui' Class: EngineLayer) #2

@AntonBartlyn

Description

@AntonBartlyn

I get this issue consistently after a certain point.
I haven't noticed any difference between different areItemsTheSame implementations, different items or animation wrappers, etc.
I think, to reproduce it, the list should either be long enough, updated enough times, or both.

The whole stack trace:

E/flutter (26370): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Illegal argument in isolate message: (object extends NativeWrapper - Library:'dart:ui' Class: EngineLayer)
E/flutter (26370): #0      Isolate._spawnFunction (dart:isolate-patch/isolate_patch.dart:399:25)
E/flutter (26370): #1      Isolate.spawn (dart:isolate-patch/isolate_patch.dart:379:7)
E/flutter (26370): #2      Isolate.run (dart:isolate:238:15)
E/flutter (26370): #3      compute (package:flutter/src/foundation/_isolates_io.dart:17:18)
E/flutter (26370): #4      MyersDiff.diff (package:implicitly_animated_reorderable_list_2/src/diff/myers_diff.dart:47:21)
E/flutter (26370): #5      MyersDiff.withCallback (package:implicitly_animated_reorderable_list_2/src/diff/myers_diff.dart:24:12)
E/flutter (26370): #6      ImplicitlyAnimatedListBaseState._calcDiffs (package:implicitly_animated_reorderable_list_2/src/implicitly_animated_list_base.dart:182:19)
E/flutter (26370): <asynchronous suspension>

Please tell me if you need any specific additional information.
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions