Closed Bug 1390168 Opened 8 years ago Closed 8 years ago

[traceback] TypeError: socorro.processor.breakpad_transform_rules in _predicate in JitCrashCategorizationRule

Categories

(Socorro :: Processor, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

Traceback: """ TypeError: 'NoneType' object has no attribute '__getitem__' File "socorro/lib/transform_rules.py", line 112, in predicate return self._predicate(*args, **kwargs) File "socorro/processor/breakpad_transform_rules.py", line 671, in _predicate processed_crash.json_dump['crashing_thread']['frames'][0].get( """ This is in the JitCrashCategorizationRule. Sentry says there are 46 of these in the last 6 days.
Summary: [traceback] TypeErrorsocorro.processor.breakpad_transform_rules in _predicate in JitCrashCategorizationRule → [traceback] TypeError: socorro.processor.breakpad_transform_rules in _predicate in JitCrashCategorizationRule
Grabbing this to fix today.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Commit pushed to master at https://github.com/mozilla-services/socorro https://github.com/mozilla-services/socorro/commit/bbaa034291a4de14e56a7378bb5bc47d95e83c67 fixes bug 1390168 - add defensive programming to JitCrashCategorizeRule (#3930) * tweak the code so it's less fragile regarding what's in json_dump * rewrite the original test_no_crashing_thread test so it's more minimal * add a bunch more tests covering other data scenarios, too
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: