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

[ERRoR:flutter/runtime/dart _wm initializer.cc(41)] unhandled Exception: InvalidprotocolBufferException,Protocol message tag had invalid wire type #933

Open
JasonYangGe opened this issue May 28, 2024 · 0 comments

Comments

@JasonYangGe
Copy link

nanopb-04.8 encode to Flutter dart prutobuf:^3.1.0 Decode sometimes :
[ERRoR:flutter/runtime/dart _wm initializer.cc(41)] unhandled Exception: InvalidprotocolBufferException,Protocol message tag had invalid wire type
decode data:
a60000e40810aa01de0108016ad901188102220e28013208524144494f204944380a22160801100118012801320a584d2050726576696577380a221208021002180d28013206486974732031380a2214080310031814280132083230206f6e203230380a221408041004180428013208343073206f6e2034380a221408051005180528013208353073206f6e2035380a221408061006180628013208363073206f6e2036380a22140807100718072801320837307320120802120e080610011a08534952495553584da600003b08114a37f20c348a02310a2f12051203555341120a080112064555

Details:
224-85-28 1:87:15.549654+888 hertz ios[888:69683] [ERRoR:flutter/runtime/dart _wm initializer.cc(41)] unhandled Exception: InvalidprotocolBufferException,Protocol message tag had invalid wire typeUnknownFieldSet.mergeFieldFromBuffer (package:protobuf/src/protobuf/unknown field set.dart:88)mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded buffer.dart:46)GeneratedMessage .mergeFromCodedBufferReader (package:protobuf/src/protobuf/generated message.dart:177)CodedBufferReader.readMessage (package:protobuf/src/protobuf/coded buffer_reader.dart:113)mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded buffer.dart:186)GeneratedMessage.mergeFromCodedBufferReader (package:protobuf/src/protobuf/generated_message.dart:177)CodedBufferReader.readMessage (package:protobuf/src/protobuf/coded buffer reader.dart:113)mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded buffer.dart:126)GeneratedMessage .mergeFromCodedBufferReader (package:protobuf/src/protobuf/generated message.dart:177)CodedBufferReader.readMessage (package:protobuf/src/protobuf/coded buffer reader.dart:113)mergeFromCodedBufferReader (package:protobuf/src/protobuf/coded buffer.dart:126)GeneratedMessage.mergeFromBuffer (package:protobuf/src/protobuf/generated_message.dart:192)new ControlEnvelope,fromBuffer (package:hertz flutter/protoFiles/accessories,pb.dart;439)DataProtocolServices,receiveDataProtoParse (package:hertz flutter/services/data protocol services.dart:139)DataProtocolServices,processCompleteData (package:hertz flutter/services/data protocol services.dart:95)DataProtocolServices, onEvent (package:hertz flutter/services/data protocol services.dart:79)RootZone.runUnaryGuarded(dart:async/zone.dart:1594)BufferingStreamSubscription, sendData (dart:async/stream impl.dart:365)DelavedData,perform(dart:async/stream impl.dart:541)

焱拌2拌3救#5##7##9#1 0#11#12.#1.3.#145#15#16#17#18
#19
#26
#21
#220
PendingEvents.handleNext (dart:async/stream impl.dart:646)PendingEvents.schedule.(dart:async/stream impl.dart:617)microtaskLoop(dart:async/schedule microtask.dart:48)startMicrotaskLoop(dart:async/schedule microtask.dart:49)

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