Hello Bobby, On Fri, Mar 30, 2012 at 2:45 PM, Bobby Johnson <[email protected]> wrote: > I am running the alfa channel and noticed that my code runs locally fine but > fails on the device with the following error: > > System.ExecutionEngineException: Attempting to JIT compile method > 'ServiceStack.Text.Json.JsonReader`1<MonoTouch.CoreLocation.CLLocationCoordinate2D>:GetParseFn > ()' while running with --aot-only. > > at ServiceStack.Text.Json.JsonReader.GetParseFn (System.Type type) > [0x00000] in <filename unknown>:0 > at ServiceStack.Text.Json.JsonTypeSerializer.GetParseFn (System.Type type) > [0x00000] in <filename unknown>:0 > at > ServiceStack.Text.Common.DeserializeType`1[ServiceStack.Text.Json.JsonTypeSerializer].GetParseMethod > (System.Type type) [0x00000] in <filename unknown>:0 > at > ServiceStack.Text.Common.JsReader`1[ServiceStack.Text.Json.JsonTypeSerializer].GetParseFn[Product] > () [0x00000] in <filename unknown>:0 > at ServiceStack.Text.Json.JsonReader`1[Furnishly.UI.Product]..cctor () > [0x00000] in <filename unknown>:0 > > I found this support article and was able to get my code working again with > these changes.
So you added line #28, right ? > This code worked no problems in previous versions, so I thought I would > report it as possibly a bug. Previous version of MonoTouch ? (do you recall which one ?) or previous version of SS.T ? (which version are you using right now ?) I'd like to be able to duplicate the issue. Could you give me a sample JSON string returned from the service you use ? (so I can instantiate my own stream on it and create a test case). Thanks! Sebastien _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
