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/333d0b01-7c09-4d07-a8a4-708f090c6cd4n%40googlegroups.com.

Reply via email to