Note that there are some explanatory texts on larger screens.

plurals
  1. POWebservice access error from monotouch (iphone debugging)
    primarykey
    data
    text
    <p>The application with webservice (C#) access <strong>works well on MAC</strong> (iphone simulator), but <strong>doesn't work on iphone</strong> (release and debug mode). It happens when I tryed to create a new webservice instance.</p> <pre><code> "YNSMS.ynSMSws.Service1 wsSMS = new YNSMS.ynSMSws.Service1();" </code></pre> <p>Could it be a Monotouch iphone runtime bug ? Is there any way to solve it?</p> <p>Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/monotouch.dll Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/Mono.Security.dll Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/System.dll Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/System.Xml.dll Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/System.Web.Services.dll Loaded assembly: /private/var/mobile/Applications/47D2DA1C-28BA-43C8-BCF0-919D307C60EB/YNSMS.app/AddressBookExample.exe Thread started: Resolved pending breakpoint at 'MainView.xib.cs:70' to Void AddressBookExample.MainView:ExecutaBotao ():0. * Assertion at ../../../../mono/metadata/marshal.c:4115, condition `method' not met Stacktrace:</p> <p>at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool) &lt;0xffffffff> at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider,System.Type) &lt;0x0006c> at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider,bool) &lt;0x00037> at System.Reflection.MonoField.GetCustomAttributes (bool) &lt;0x00023> at System.Xml.Serialization.XmlAttributes..ctor (System.Reflection.ICustomAttributeProvider) &lt;0x0009f> at System.Xml.Serialization.XmlReflectionImporter.GetReflectionMembers (System.Type) &lt;0x004ef> at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping (System.Xml.Serialization.TypeData,System.Xml.Serialization.XmlRootAttribute,string) &lt;0x001df> at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Xml.Serialization.TypeData,System.Xml.Serialization.XmlRootAttribute,string) &lt;0x000e3> at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type,System.Xml.Serialization.XmlRootAttribute,string) &lt;0x0005b> at System.Xml.Serialization.XmlReflectionImporter.ImportListMapping (System.Xml.Serialization.TypeData,System.Xml.Serialization.XmlRootAttribute,string,System.Xml.Serialization.XmlAttributes,int) &lt;0x00743> at System.Xml.Serialization.XmlReflectionImporter.ImportListMapping (System.Type,System.Xml.Serialization.XmlRootAttribute,string,System.Xml.Serialization.XmlAttributes,int) &lt;0x0005b> at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember (System.Type,System.Xml.Serialization.XmlReflectionMember,string) &lt;0x0093b> at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (string,string,System.Xml.Serialization.XmlReflectionMember[],bool,bool,bool,System.Xml.Serialization.XmlMappingAccess) &lt;0x00097> at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (string,string,System.Xml.Serialization.XmlReflectionMember[],bool,bool,bool) &lt;0x0006b> at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (string,string,System.Xml.Serialization.XmlReflectionMember[],bool,bool) &lt;0x0005b> at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping (string,string,System.Xml.Serialization.XmlReflectionMember[],bool) &lt;0x0004b> at System.Web.Services.Protocols.SoapMethodStubInfo..ctor (System.Web.Services.Protocols.TypeStubInfo,System.Web.Services.Protocols.LogicalMethodInfo,object,System.Xml.Serialization.XmlReflectionImporter,System.Xml.Serialization.SoapReflectionImporter) &lt;0x006bb> at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo (System.Web.Services.Protocols.TypeStubInfo,System.Web.Services.Protocols.LogicalMethodInfo,bool) &lt;0x0016b> at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () &lt;0x00127> at System.Web.Services.Protocols.TypeStubInfo.Initialize () &lt;0x00023> at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (string) &lt;0x00167> at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type,string) &lt;0x0002f> at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () &lt;0x0003b> at YNSMS.ynSMSws.Service1..ctor () at AddressBookExample.MainView.ExecutaBotao (object,System.EventArgs) [0x00000] in /Volumes/STORAGE/cafexpto/Marcelo/sistemas_mac/MonoTouch/AddresBook/AddressBookExample/MainView.xib.cs:70 at MonoTouch.UIKit.UIBarButtonItem/Callback.Call (MonoTouch.Foundation.NSObject) &lt;0x0005b> at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) &lt;0x000c3> at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) &lt;0xffffffff> at MonoTouch.UIKit.UIApplication.Main (string[],string,string) &lt;0x000e0> at MonoTouch.UIKit.UIApplication.Main (string[]) &lt;0x00023> at AddressBookExample.Application.Main (string[]) [0x00000] in /Volumes/STORAGE/cafexpto/Marcelo/sistemas_mac/MonoTouch/AddresBook/AddressBookExample/Main.cs:14 at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) &lt;0x000c3></p> <p>Native stacktrace:</p> <pre><code>0 AddressBookExample 0x0003ca58 mono_handle_native_sigsegv + 396 1 AddressBookExample 0x0006c13c sigabrt_signal_handler + 124 2 libSystem.B.dylib 0x31a2584b _sigtramp + 42 3 libSystem.B.dylib 0x31a279a3 kill + 10 4 libSystem.B.dylib 0x31a27995 raise + 16 5 libSystem.B.dylib 0x31a3c641 abort + 40 6 AddressBookExample 0x001b0a0c g_logv + 248 7 AddressBookExample 0x001b0a64 g_log + 52 8 AddressBookExample 0x000e5a5c mono_marshal_get_runtime_invoke + 108 9 AddressBookExample 0x0000b41c mono_jit_runtime_invoke + 624 10 AddressBookExample 0x0011f054 mono_property_set_value + 68 11 AddressBookExample 0x001453e4 create_custom_attr + 1212 12 AddressBookExample 0x0014610c mono_custom_attrs_construct + 408 13 AddressBookExample 0x001479a0 mono_reflection_get_custom_attrs_by_type + 92 14 AddressBookExample 0x000c82bc custom_attrs_get_by_type + 80 15 AddressBookExample 0x004e8fd4 wrapper_managed_to_native_System_MonoCustomAttrs_GetCustomAttributesInternal_System_Reflection_ICustomAttributeProvider_System_Type_bool + 80 </code></pre> <p>* Assertion: should not be reached at ../../../../mono/mini/mini-darwin.c:258</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload