[Mono-bugs] [Bug 675144] Apparent threading issue with KnownTypeCollection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 7 04:21:13 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=675144#c4


Tymek Majewski <tymek.majewski at nearmap.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tymek.majewski at nearmap.com

--- Comment #4 from Tymek Majewski <tymek.majewski at nearmap.com> 2011-04-07 08:21:11 UTC ---
My stack trace (below) is comes from MVC methods but eventually ends in the
same  MonoCustomAttrs.GetCustomAttributes.

This particular stack trace comes from a MVC api returning xml but it happens
with json serialized actionresults too. 

My test case is to run a load tester and usually few thousands request will
trigger the problem. I cannot reproduce it on one of the machines, I can run
the load test for hundreds of thousands request and it won't happen (another
thing will but not this bug).


Full stack trace:

Main Exception (System.NullReferenceException) in mscorlib in Copy: Object
reference not set to an instance of an object
 at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex,
System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00000]
in <filename unknown>:0
 at System.Collections.ArrayList.CopyTo (Int32 index, System.Array array, Int32
arrayIndex, Int32 count) [0x00000] in <filename unknown>:0
 at System.Collections.ArrayList.CopyTo (System.Array array, Int32 arrayIndex)
[0x00000] in <filename unknown>:0
 at System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj,
System.Type attributeType, Boolean inherit) [0x00000] in <filename unknown>:0
 at System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean
inherit) [0x00000] in <filename unknown>:0
 at
System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptor.FindMetadataType
() [0x00000] in <filename unknown>:0
 at
System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptor.get_AssociatedMetadataType
() [0x00000] in <filename unknown>:0
 at
System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptor.GetAttributes
() [0x00000] in <filename unknown>:0
 at System.Web.Mvc.ModelBinders.GetBinderFromAttributes (System.Type type,
System.Func`1 errorMessageAccessor) [0x00000] in <filename unknown>:0
 at System.Web.Mvc.ModelBinderDictionary.GetBinder (System.Type modelType,
IModelBinder fallbackBinder) [0x00000] in <filename unknown>:0
 at System.Web.Mvc.ModelBinderDictionary.GetBinder (System.Type modelType,
Boolean fallbackToDefault) [0x00000] in <filename unknown>:0
 at System.Web.Mvc.ModelBinderDictionary.GetBinder (System.Type modelType)
[0x00000] in <filename unknown>:0
 at System.Web.Mvc.ControllerActionInvoker.GetModelBinder
(System.Web.Mvc.ParameterDescriptor parameterDescriptor) [0x00000] in <filename
unknown>:0
 at System.Web.Mvc.ControllerActionInvoker.GetParameterValue
(System.Web.Mvc.ControllerContext controllerContext,
System.Web.Mvc.ParameterDescriptor parameterDescriptor) [0x00000] in <filename
unknown>:0
 at System.Web.Mvc.ControllerActionInvoker.GetParameterValues
(System.Web.Mvc.ControllerContext controllerContext,
System.Web.Mvc.ActionDescriptor actionDescriptor) [0x00000] in <filename
unknown>:0
 at System.Web.Mvc.ControllerActionInvoker.InvokeAction
(System.Web.Mvc.ControllerContext controllerContext, System.String actionName)
[0x00000] in <filename unknown>:0
No InnerException

-- 
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