Example error:
Traceback (most recent call last):
File "\Blender\4.2\scripts\modules\bpy_types.py", line 1034, in draw_ls
func(self, context)
File "\Blender\4.2\extensions\blender_org\curve_tools\__init__.py", line 481, in curve_tools_object_context_menu
if context.active_object.type == "CURVE":
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'type'