You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PlatformException error on flutter version 3.32.0 #83
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(Internal Consistency Error, Set editing state has been invoked, but no client is set., null, null)
#0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:168:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370:18)
<asynchronous suspension>
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(Internal Consistency Error, Set editing state has been invoked, but no client is set., null, null)
#0 JSONMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:168:7)
#1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:370:18)
<asynchronous suspension>
Activity
javaqiang commentedon May 25, 2025
我是Mac桌面版应用,升级了flutter3.32.0也运行时会引起闪退。
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull longLongValue]: unrecognized selector sent to instance 0x2099b8d18'
*** First throw call stack:
(
0 CoreFoundation 0x000000019a5faca0 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000019a0beb90 objc_exception_throw + 88
2 CoreFoundation 0x000000019a6b7b90 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000019a568ddc forwarding + 1500
4 CoreFoundation 0x000000019a568740 _CF_forwarding_prep_0 + 96
5 FlutterMacOS 0x00000001052dde34 -[FlutterTextInputPlugin handleMethodCall:result:] + 2324
6 FlutterMacOS 0x0000000105f934b4 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 180
7 FlutterMacOS 0x00000001052c6748 -[FlutterEngine engineCallbackOnPlatformMessage:] + 416
8 FlutterMacOS 0x0000000105b97024 _ZNSt3_fl10__function6__funcIZ23FlutterEngineInitializeE3$3NS_9allocatorIS2_EEFvNS_10unique_ptrIN7flutter15PlatformMessageENS_14default_deleteIS7_EEEEEEclEOSA + 128
9 FlutterMacOS 0x0000000105baa7f4 _ZN7flutter20PlatformViewEmbedder21HandlePlatformMessageENSt3_fl10unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE + 76
10 FlutterMacOS 0x0000000105bab384 _ZNSt3_fl10__function6__funcIN3fml8internal14CopyableLambdaIZN7flutter20PlatformViewEmbedder30EmbedderPlatformMessageHandler21HandlePlatformMessageENS_10unique_ptrINS5_15PlatformMessageENS_14defa 11 FlutterMacOS 0x0000000105ba73c4 _ZN7flutter18EmbedderTaskRunner8PostTaskEy + 652
12 FlutterMacOS 0x0000000105b9b95c _ZN7flutter14EmbedderEngine7RunTaskEPK11FlutterTask + 56
13 FlutterMacOS 0x0000000105b8e890 FlutterEngineRunTask + 68
14 FlutterMacOS 0x00000001052c9aa8 __60-[FlutterEngine postMainThreadTask:targetTimeInNanoseconds:]_block_invoke + 72
15 FlutterMacOS 0x00000001052d9734 -[FlutterRunLoop performExpiredTasks] + 524
16 CoreFoundation 0x000000019a589cd4 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
17 CoreFoundation 0x000000019a589c68 __CFRunLoopDoSource0 + 172
18 CoreFoundation 0x000000019a5899d4 __CFRunLoopDoSources0 + 232
19 CoreFoundation 0x000000019a588628 __CFRunLoopRun + 840
20 CoreFoundation 0x000000019a587c58 CFRunLoopRunSpecific + 572
21 HIToolbox 0x00000001a601c27c RunCurrentEventLoopInMode + 324
22 HIToolbox 0x00000001a601f4e8 ReceiveNextEventCommon + 676
23 HIToolbox 0x00000001a61aa484 _BlockUntilNextEventMatchingListInModeWithFilter + 76
24 AppKit 0x000000019e4afab4 _DPSNextEvent + 684
25 AppKit 0x000000019ee4e5b0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
26 AppKit 0x000000019e4a2c64 -[NSApplication run] + 480
27 AppKit 0x000000019e47935c NSApplicationMain + 880
28 WithQuant.debug.dylib 0x000000010052a400 $sSo21NSApplicationDelegateP6AppKitE4mainyyFZ + 40
29 WithQuant.debug.dylib 0x000000010052a3c8 $s9WithQuant11AppDelegateC5$mainyyFZ + 44
30 WithQuant.debug.dylib 0x000000010052a468 __debug_main_executable_dylib_entry_point + 28
31 dyld 0x000000019a0feb98 start + 6076
)
libc++abi: terminating due to uncaught exception of type NSException
Lost connection to device.
Exited.
nsfoxer commentedon May 26, 2025
目前先暂时降级到flutter版本
v3.29.0吧,这个版本没有这个问题?VladTheJunior commentedon May 29, 2025
Same error, Flutter 3.32.0. Appears only when
readOnlyis not trueMegatronKing commentedon Sep 25, 2025
Fixed on v0.8.0.