Traceback (most recent call last):


 "/usr/local/bin/checkov", line 5, in <module>

run()


 "/usr/local/lib/python3.9/site-packages/checkov/main.py", line 63, in run

scan_reports = runner_registry.run(root_folder=root_folder, external_checks_dir=external_checks_dir,


 "/usr/local/lib/python3.9/site-packages/checkov/common/runners/runner_registry.py", line 30, in run

scan_report = runner.run(root_folder, external_checks_dir=external_checks_dir, files=files,


 "/usr/local/lib/python3.9/site-packages/checkov/terraform/runner.py", line 55, in run

self.check_tf_definition(report, root_folder, runner_filter, collect_skip_comments)


 "/usr/local/lib/python3.9/site-packages/checkov/terraform/runner.py", line 89, in check_tf_definition

definitions_context = parser_registry.enrich_definitions_context(definition, collect_skip_comments)


 "/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/registry.py", line 28, in enrich_definitions_context

self.definitions_context[tf_file][definition_type] = context_parser.run(tf_file, definition_blocks, collect_skip_comments)


 "/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/base_parser.py", line 118, in run

self.context = self._collect_skip_comments(definition_blocks)


 "/usr/local/lib/python3.9/site-packages/checkov/terraform/context_parsers/base_parser.py", line 87, in _collect_skip_comments

if skip_check['id'] in bc_id_mapping:
TypeError: argument of type 'NoneType' is not iterable

Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service

connection.context(msg),


 "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call

await asyncio.shield(self._execute_service(handler, service_call))


 "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service

await handler.func(service_call)


 "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service

self._platforms.values(), func, call, service_name, required_features


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call

future.result()
# pop exception if have


 "/usr/src/homeassistant/homeassistant/helpers/service.py", line 358, in _handle_service_platform_call

await getattr(entity, func)(**data)


 "/usr/src/homeassistant/homeassistant/components/counter/__init__.py", line 181, in async_increment

self._state = self.compute_next_state(self._state + self._step)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'NoneType'
