Skip to content

Unhandled exception related to pythonnet #2710

@rawiamoalla

Description

@rawiamoalla

an Unhandled exception was observed related to pythonnet.
execution environment:
OS: Linux
RAM: 64
the exception is:
Unhandled exception. Python.Runtime.InternalPythonnetException: Failed to create Python type for PrimaITestCaseLibrary.MessageManagment.IMessageSomeIP
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Python.Runtime.BorrowedReference.op_Implicit(PyObject pyObject) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Native/BorrowedReference.cs:line 52
at Python.Runtime.TypeManager.AllocateTypeObject(String name, PyType metatype) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/TypeManager.cs:line 600
at Python.Runtime.ReflectedClrType.AllocateClass(Type clrType) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Types/ReflectedClrType.cs:line 117
at Python.Runtime.ReflectedClrType.GetOrCreate(Type type) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Types/ReflectedClrType.cs:line 38
— End of inner exception stack trace —
at Python.Runtime.ReflectedClrType.GetOrCreate(Type type) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Types/ReflectedClrType.cs:line 54
at Python.Runtime.ClassManager.GetClassImpl(Type type) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/ClassManager.cs:line 140
at Python.Runtime.Converter.ToPython(Object value, Type type) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Converter.cs:line 144
at Python.Runtime.MethodBinder.Invoke(BorrowedReference inst, BorrowedReference args, BorrowedReference kw, MethodBase info, MethodBase[] methodinfo) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/MethodBinder.cs:line 968
at Python.Runtime.MethodBinding.tp_call(BorrowedReference ob, BorrowedReference args, BorrowedReference kw) in /home/benedikt/.cache/uv/sdists-v6/.tmpkW03e6/pythonnet-3.0.5/src/runtime/Types/MethodBinding.cs:line 166

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