[Mono-list] handle is invalid when calling property setter

markejfmunro markejfmunro at yahoo.co.uk
Fri Mar 27 13:16:54 UTC 2015


Hi,

I am trying to get an ASP.Net application running on mono 3.10.0 and xsp4
3.0.0 under Ubunto. I am getting the following error

System.ArgumentException
The handle is invalid.

Description: HTTP 500.Error processing request.

Details: Non-web exception. Exception origin (name of application or
object): mscorlib.
Exception stack trace:
at System.Reflection.MethodBase.GetMethodFromIntPtr (IntPtr handle, IntPtr
declaringType) [0x00000] in <filename unknown>:0 
at System.Reflection.MethodBase.GetMethodFromHandle (RuntimeMethodHandle
handle, RuntimeTypeHandle declaringType) [0x00000] in <filename unknown>:0 
at
DynamicModule.ns.Wrapped_TreeViewViewModel_6c658207bfd24d37b84f3f4e7289debd.set__items
(IModelList`1 value) [0x00000] in <filename unknown>:0

The error appears to be in a property setter.

The property is simply the following

public virtual IModelList<IStateObject> _items { get; set; }

Due to the fact that there is a lot of framework code etc around this I have
not been able to get a reproducible small case.

Has anyone seen anything like this.
 



--
View this message in context: http://mono.1490590.n4.nabble.com/handle-is-invalid-when-calling-property-setter-tp4665715.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list