Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

TypeError: the JSON object must be str, bytes or bytearray, not NoneType #132

@exexute

Description

@exexute

DongTai-Engine unsolved exception:

Task core.tasks.vul_recheck[63c005c7-d49a-4636-9168-6fbe59c1aa89] raised unexpected: TypeError('the JSON object must be str, bytes or bytearray, not NoneType')
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 385, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/celery/app/trace.py", line 650, in __protected_call__
    return self.run(*args, **kwargs)
  File "/opt/dongtai/engine/core/tasks.py", line 652, in vul_recheck
    params = json.loads(param_name_value)
  File "/usr/local/lib/python3.7/json/__init__.py", line 341, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType
Received task: core.tasks.search_sink_from_method_pool[d7910aca-24af-403f-84ca-1c3a3f752c9a]  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions