[Mono-bugs] [Bug 378696] New: XmlSerializer: Error while compiling generated serializer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 10 06:54:51 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=378696


           Summary: XmlSerializer: Error while compiling generated
                    serializer
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.XML
        AssignedTo: atsushi at ximian.com
        ReportedBy: david.brazier at 360crm.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


We're calling a web service through
System.Web.Services.Protocols.SoapHttpClientProtocol and intermittently
getting:

Error while compiling generated serializer
/tmp/75f1eac0/31a7665e.cs(7597,54) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(7598,54) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(7599,51) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(8245,52) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(8246,53) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(10902,59) : error CS1002: Expecting `;'
/tmp/75f1eac0/31a7665e.cs(10905,45) : error CS1518: Expected `class',
`delegate', `enum', `interface', or `struct'

The web service call is happening every 0.5s, but the error only occurs a few
times a day, and is not data-dependent as far as I can tell.

It is clearly coming from the GenerateSerializers method on XmlSerializer, and
I would like to see the temporary file to see the incorrect syntax, but the
code deletes it straight away.  So do you have any suggestions as to how to
attack this?

Thanks for any help

David


-- 
Configure bugmail: https://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