Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CrashManager] No signature suggestion causes 500 error #818

Open
jschwartzentruber opened this issue Feb 3, 2022 · 0 comments
Open

[CrashManager] No signature suggestion causes 500 error #818

jschwartzentruber opened this issue Feb 3, 2022 · 0 comments

Comments

@jschwartzentruber
Copy link
Contributor

Creating a bucket from a "No crash detected" CrashEntry results in a 500 server error.

Traceback (most recent call last):
  File "/srv/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/srv/FuzzManager/server/crashmanager/views.py", line 396, in newSignature
    'proposedSig': json.loads(proposedSignature),
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

We should handle this case and show the new signature form with no suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant