You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following incorrect Python code produces a confusing NullReferenceException, instead of a more helpful error message:
fromSystem.CollectionsimportIListIList[bool]
If there was a crash, please include the traceback here.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Python.Runtime.GenericUtil.GenericByName(String ns, String name, Int32 paramCount)
at Python.Runtime.ClassBase.type_subscript(IntPtr idx)
A more helpful message would be: System.Collections.IList is not a generic type