FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

handle is not inialized crash on `clr.GetClrType(System.__class__)` · Issue #606 · pythonnet/pythonnet · GitHub

handle is not inialized crash on clr.GetClrType(System.__class__) #606

Description

Python 3.5, 64-bit, Windows 10, pythonnet master

clr.GetClrType(System.__class__)
Unhandled Exception: System.InvalidOperationException: Handle is not initialized.
   at System.Runtime.InteropServices.GCHandle.FromIntPtr(IntPtr value)
   at Python.Runtime.ManagedType.GetManagedObject(IntPtr ob)
   at Python.Runtime.Converter.ToManagedValue(IntPtr value, Type obType, Object& result, Boolean setError)
   at Python.Runtime.Converter.ToManaged(IntPtr value, Type type, Object& result, Boolean setError)
   at Python.Runtime.MethodBinder.Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo)
   at Python.Runtime.MethodBinder.Invoke(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, MethodInfo[] methodinfo)
   at Python.Runtime.MethodObject.Invoke(IntPtr target, IntPtr args, IntPtr kw, MethodBase info)
   at Python.Runtime.MethodObject.Invoke(IntPtr inst, IntPtr args, IntPtr kw)
   at Python.Runtime.ModuleFunctionObject.tp_call(IntPtr ob, IntPtr args, IntPtr kw)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL