[Mono-bugs] [Bug 635912] New: Subsequent calls to web service return null reference

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 31 11:48:39 EDT 2010



           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: mono-bugs at lists.ximian.com
        ReportedBy: olexiys at desco-soft.com
         QAContact: mono-bugs at lists.ximian.com
          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
                if (calc == null)
                    var res = calc.add(1, 2);
                    Toast.MakeText(this, res.ToString(),
                    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? 

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.

More information about the mono-bugs mailing list