ttb 5822039456
ในวันที่ วันพุธที่ 9 ตุลาคม ค.ศ. 2024 เวลา 14 นาฬิกา 40 นาที 10 วินาที
UTC+7 欧阳兴旺 เขียนว่า:
> sry my English is not that good,here is the problem
> language:C# protobuf26.x
> private void OnXXXChange(Logic.Protocol.XXX.XXXMsg msg)
> {
> XLog.ILog(TAG, $"Recieve OnxxxxChange:{msg}");
> }
>
> the stacktrace
> System.TypeInitializationException: The type initializer for
> 'Logic.Protocol.Hvac.HvacMsgReflection' threw an exception. --->
> System.FormatException: The input is not a valid Base-64 string as it
> contains a non-base 64 character, more than two padding characters, or an
> illegal character among the padding characters.
> at System.Convert.FromBase64CharPtr (System.Char* inputPtr, System.Int32
> inputLength)
> at Logic.Protocol.XXXX.XXXMsgReflection..cctor ()
> at Logic.Protocol.XXXX.XXXX.get_Descriptor
> at Google.Protobuf.JsonFormatter.Format (Google.Protobuf.IMessage message,
> System.IO.TextWriter writer)
> at Google.Protobuf.JsonFormatter.Format (Google.Protobuf.IMessage message)
>
> How does it happen?
> I do`nt know,never seen it before.it was reported online,restart app
> donot solve,we can not keep the environment,and Restore Factory Settings it
> works well.
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/b62447f7-62a4-4414-9909-407aadf772c9n%40googlegroups.com.