[Mono-bugs] [Bug 628697] New: Webservice constructor crashes with object not set to an instance of an object error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Aug 5 09:01:10 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=628697
http://bugzilla.novell.com/show_bug.cgi?id=628697#c0
Summary: Webservice constructor crashes with object not set to
an instance of an object error
Classification: Mono
Product: MonoTouch
Version: SVN
Platform: Other
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Critical
Priority: P5 - None
Component: Runtime
AssignedTo: gnorton at novell.com
ReportedBy: david.black at casewise.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; MDDR; InfoPath.2; .NET4.0C; .NET4.0E; MS-RTC LM 8)
I create a web service proxy and during its construction it throws and object
not set to an instance of an object error.
This only occurrs on my work wifi network, not on my home or indeed any other
network I have tried.
Reproducible: Always
Steps to Reproduce:
1. Create an application and upload to the iPad
2.Create a web service via a constructor (mine specifies a url to the service)
3. Boink...
Actual Results:
The following error for all web services
Object reference not set to an instance of an object
at System.Xml.Serialization.XmlAttributes..ctor (ICustomAttributeProvider
provider) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.CreateTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultXmlType,
System.String defaultNamespace) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
System.String defaultNamespace) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportListMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace,
System.Xml.Serialization.XmlAttributes atts, Int32 nestingLevel) [0x00000] in
<filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportListMapping
(System.Type type, System.Xml.Serialization.XmlRootAttribute root,
System.String defaultNamespace, System.Xml.Serialization.XmlAttributes atts,
Int32 nestingLevel) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember
(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping
(System.String elementName, System.String ns,
System.Xml.Serialization.XmlReflectionMember[] members, Boolean
hasWrapperElement, Boolean writeAccessors, Boolean validate, XmlMappingAccess
access) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping
(System.String elementName, System.String ns,
System.Xml.Serialization.XmlReflectionMember[] members, Boolean
hasWrapperElement, Boolean writeAccessors, Boolean validate) [0x00000] in
<filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping
(System.String elementName, System.String ns,
System.Xml.Serialization.XmlReflectionMember[] members, Boolean
hasWrapperElement, Boolean writeAccessors) [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping
(System.String elementName, System.String ns,
System.Xml.Serialization.XmlReflectionMember[] members, Boolean
hasWrapperElement) [0x00000] in <filename unknown>:0
at System.Web.Services.Protocols.SoapMethodStubInfo..ctor
(System.Web.Services.Protocols.TypeStubInfo typeStub,
System.Web.Services.Protocols.LogicalMethodInfo source, System.Object kind,
System.Xml.Serialization.XmlReflectionImporter xmlImporter,
System.Xml.Serialization.SoapReflectionImporter soapImporter) [0x00000] in
<filename unknown>:0
at System.Web.Services.Protocols.SoapTypeStubInfo.CreateMethodStubInfo
(System.Web.Services.Protocols.TypeStubInfo parent,
System.Web.Services.Protocols.LogicalMethodInfo lmi, Boolean isClientProxy)
[0x00000] in <filename unknown>:0
at System.Web.Services.Protocols.TypeStubInfo.BuildTypeMethods () [0x00000]
in <filename unknown>:0
at System.Web.Services.Protocols.TypeStubInfo.Initialize () [0x00000] in
<filename unknown>:0
at System.Web.Services.Protocols.LogicalTypeInfo.GetTypeStub (System.String
protocolName) [0x00000] in <filename unknown>:0
at System.Web.Services.Protocols.TypeStubManager.GetTypeStub (System.Type t,
System.String protocolName) [0x00000] in <filename unknown>:0
at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor () [0x00000] in
<filename unknown>:0
at CasewiseMobile.ModelService.ModelService..ctor (System.String url)
[0x00000] in <filename unknown>:0
at CasewiseMobile.ServiceFactory.CreateModelService () [0x00000] in <filename
unknown>:0
at CasewiseMobile.LiveSearchTableViewDataSource.AddPage (Int32 page)
[0x00000] in <filename unknown>:0
Expected Results:
For it to work on all networks and for me (please, please) to be able to demo
this work not on the simulator
As I said, the emulator works fine, the device used to work periodically at
work but now not at all.
This seems to be worse since the upgrade to mono that supported wcf services
(that could be a totally irrelivant statement as it is just a hunch)
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list