https://bugzilla.novell.com/show_bug.cgi?id=635912
https://bugzilla.novell.com/show_bug.cgi?id=635912#c0 Summary: Subsequent calls to web service return null reference Classification: Mono Product: MonoDroid Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: When a call to web service (system.web.services) is made more than 1 time, null referenced is returned when creating instance of a webservice object. Steps to reproduce the problem: 1. Create a new MonoDroid application 2. Add web service http://soatest.parasoft.com/calculator.wsdl (or any other) 3. Replace delegate for a button with the following button.Click += delegate { com.parasoft.soatest.Calculator calc = new com.parasoft.soatest.Calculator(); if (calc == null) { var res = calc.add(1, 2); Toast.MakeText(this, res.ToString(), Toast.LengthLong).Show(); } else { Toast.MakeText(this, "null", Toast.LengthLong).Show(); } }; Actual Results: First click toast with "3". Subsequent clicks: toasts saying "null". Expected Results: Toast saying "3" every single time. How often does this happen? Always Additional Information: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
