sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

[dor_indexing_app/prod] NoMethodError: undefined method `code' for nil:NilClass #629

Closed honeybadger[bot] closed 1 year ago

honeybadger[bot] commented 1 year ago

Backtrace

line 11 of [PROJECT_ROOT]/app/indexers/descriptive_metadata_indexer.rb: initialize
line 20 of [PROJECT_ROOT]/app/indexers/composite_indexer.rb: new
line 20 of [PROJECT_ROOT]/app/indexers/composite_indexer.rb: block in initialize

View full backtrace and more info at honeybadger.io

edsu commented 1 year ago

This appeared to be related to indexing a "test" object: https://argo.stanford.edu/view/druid:vz332dg7306 It's unclear how indexing it caused it to retry thousands of times in quick succession.

justinlittman commented 1 year ago

Per Arcadia this was a rogue test object. Fixed by remediating the cocina description.