Home Forums Support Protobuf-net Reply To: Protobuf-net

#1015
Anonymous
Inactive

I receive this from the application output and object is not sent:

[mono] Stacktrace:
[mono]
[mono] at (wrapper delegate-invoke) <Module>.invoke_bool__this___intptr_intptr_intptr_JValue[] (intptr,intptr,intptr,Android.Runtime.JValue[]) <0xffffffff>
[mono] at Android.Runtime.JNIEnv.CallBooleanMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00053>
[mono] at Android.Graphics.Bitmap.Compress (Android.Graphics.Bitmap/CompressFormat,int,System.IO.Stream) <0x001eb>
[mono] at Discovery_Service.ImageWrapper.Serialize () <0x0006b>
[mono] at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
[mono] at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00183>
[mono] at System.Reflection.MethodBase.Invoke (object,object[]) <0x00047>
[mono] at ProtoBuf.Serializers.TypeSerializer.InvokeCallback (System.Reflection.MethodInfo,object,ProtoBuf.SerializationContext) <0x00157>
[mono] at ProtoBuf.Serializers.TypeSerializer.Callback (object,ProtoBuf.Meta.TypeModel/CallbackType,ProtoBuf.SerializationContext) <0x0004b>
[mono] at ProtoBuf.Serializers.TypeSerializer.Write (object,ProtoBuf.ProtoWriter) <0x0003b>
[mono] at ProtoBuf.Meta.RuntimeTypeModel.Serialize (int,object,ProtoBuf.ProtoWriter) <0x00087>
[mono] at ProtoBuf.Meta.TypeModel.SerializeCore (ProtoBuf.ProtoWriter,object) <0x00067>
[mono] at ProtoBuf.Meta.TypeModel.Serialize (System.IO.Stream,object,ProtoBuf.SerializationContext) <0x00073>
[mono] at ProtoBuf.Meta.TypeModel.Serialize (System.IO.Stream,object) <0x00027>
[mono] at ProtoBuf.Serializer/NonGeneric.Serialize (System.IO.Stream,object) <0x00033>
[mono] at DPSBase.ProtobufSerializer.SerialiseDataObjectInt (System.IO.Stream,object,System.Collections.Generic.Dictionary`2<string, string>) <0x00027>
[mono] at DPSBase.DataSerializer.SerialiseGeneralObject<T> (T,System.Collections.Generic.List1<DPSBase.DataProcessor>,System.Collections.Generic.Dictionary2<string, string>) <0x0006f>
[mono] at DPSBase.DataSerializer.SerialiseDataObject<T> (T,System.Collections.Generic.List1<DPSBase.DataProcessor>,System.Collections.Generic.Dictionary2<string, string>) <0x000ff>
[mono] at NetworkCommsDotNet.Packet.Constructor (string,string,object,NetworkCommsDotNet.SendReceiveOptions) <0x0015b>
[mono] at NetworkCommsDotNet.Packet..ctor (string,object,NetworkCommsDotNet.SendReceiveOptions) <0x00037>
[mono] at NetworkCommsDotNet.Connection.SendObject (string,object,NetworkCommsDotNet.SendReceiveOptions) <0x0004b>
[mono] at NetworkCommsDotNet.Connection.SendObject (string,object) <0x00027>
[mono] at NetworkCommsDotNet.NetworkComms.SendObject (string,string,int,object) <0x00057>
[mono] at Discovery_Service.MainActivity.OnActivityResult (int,Android.App.Result,Android.Content.Intent) <0x001b3>
[mono] at Android.App.Activity.n_OnActivityResult_IILandroid_content_Intent_ (intptr,intptr,int,int,intptr) <0x00077>
[mono] at (wrapper dynamic-method) object.289cae26-1434-4d67-9bd5-8ab6ccb6ee0a (intptr,intptr,int,int,intptr) <0x0005b>
[mono] at (wrapper native-to-managed) object.289cae26-1434-4d67-9bd5-8ab6ccb6ee0a (intptr,intptr,int,int,intptr) <0xffffffff>
Exception has been thrown by the target of an invocation.
[ActivityNative] send ACTIVITY_IDLE_TRANSACTION