Bug 2588 - System.ServiceModel.Dispatcher.BaseMessagesFormatter.MessageObjectToParts throws Array index is out of range exception
Summary: System.ServiceModel.Dispatcher.BaseMessagesFormatter.MessageObjectToParts thr...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: 2.10.x
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-12-20 18:23 UTC by Alan
Modified: 2011-12-20 18:23 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Alan 2011-12-20 18:23:25 UTC
When preparing a file to stream to a web service, the following exception is thrown.  Stack trace follows.

Array index is out of range.
   at (wrapper stelemref) object:virt_stelemref_object (intptr,object)
   at
System.ServiceModel.Dispatcher.BaseMessagesFormatter.MessageObjectToParts
(System.ServiceModel.Description.MessageDescription md, System.Object msgObject, System.Collections.Generic.Dictionary`2 headers, System.Object[]
parts) [0x000cc] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/BaseMessagesFormatter.cs:329 

   at System.ServiceModel.Dispatcher.BaseMessagesFormatter.SerializeRequest
(System.ServiceModel.Channels.MessageVersion version, System.Object[]
parameters) [0x0007f] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/BaseMessagesFormatter.cs:185 

   at System.ServiceModel.Dispatcher.OperationFormatter.SerializeRequest
(System.ServiceModel.Channels.MessageVersion messageVersion, System.Object[]
parameters) [0x00000] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel.Dispatcher/BaseMessagesFormatter.cs:95 

   at System.ServiceModel.MonoInternal.ClientRuntimeChannel.CreateRequest
(System.ServiceModel.Dispatcher.ClientOperation op, System.Object[]
parameters) [0x0001e] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:618 

   at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Request
(System.ServiceModel.Description.OperationDescription od, System.Object[]
parameters) [0x0002d] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:516 

   at System.ServiceModel.MonoInternal.ClientRuntimeChannel.DoProcess
(System.Reflection.MethodBase method, System.String operationName, System.Object[] parameters) [0x00038] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:486 

   at System.ServiceModel.MonoInternal.ClientRuntimeChannel.Process
(System.Reflection.MethodBase method, System.String operationName, System.Object[] parameters) [0x00000] in
/var/tmp/portage/dev-lang/mono-2.10.6/work/mono-2.10.6/mcs/class/System.ServiceModel/System.ServiceModel/ClientRuntimeChannel.cs:466

Note You need to log in before you can comment on or make changes to this bug.