You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line 56 of [PROJECT_ROOT]/app/services/iiif_manifest.rb: block in resources
line 54 of [PROJECT_ROOT]/app/services/iiif_manifest.rb: each
line 54 of [PROJECT_ROOT]/app/services/iiif_manifest.rb: flat_map
hackartisan
changed the title
[DPUL/production] NoMethodError: undefined method `resources' for nil:NilClass
Indexing failing for cicognara item
Jul 21, 2023
[DPUL/production] NoMethodError: undefined method `resources' for nil:NilClass
Backtrace
View full backtrace and more info at honeybadger.io
[PROJECT_ROOT]/app/services/iiif_manifest.rb:56 :in
block in resources
[PROJECT_ROOT]/app/services/iiif_manifest.rb:54 :in
each
[PROJECT_ROOT]/app/services/iiif_manifest.rb:54 :in
flat_map
[PROJECT_ROOT]/app/services/iiif_manifest.rb:54 :in
resources
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_manifest.rb:124 :in
image_urls
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_manifest.rb:82 :in
add_image_urls
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_manifest.rb:25 :in
to_solr
[PROJECT_ROOT]/app/services/iiif_manifest.rb:15 :in
to_solr
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_harvester.rb:23 :in
block (2 levels) in indexing_pipeline
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:24 :in
block (2 levels) in call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:23 :in
catch
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:23 :in
block in call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:69 :in
block (2 levels) in with_logger
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
block in tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:37 :in
tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
tagged
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:68 :in
block in with_logger
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:63 :in
block (2 levels) in with_logger
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
block in tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:37 :in
tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
tagged
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:61 :in
block in with_logger
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
block in tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:37 :in
tagged
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/tagged_logging.rb:99 :in
tagged
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:60 :in
with_logger
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:67 :in
with_logger
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/step.rb:20 :in
call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:123 :in
block in transform
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:186 :in
block in compile_steps
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:180 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:180 :in
compile_steps
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:123 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:123 :in
inject
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:123 :in
transform
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:35 :in
block (3 levels) in call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:34 :in
catch
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:34 :in
block (2 levels) in call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:95 :in
block in with_source
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/benchmarkable.rb:43 :in
block in benchmark
/usr/local/lib/ruby/3.1.0/benchmark.rb:311 :in
realtime
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/core_ext/benchmark.rb:14 :in
ms
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/benchmarkable.rb:43 :in
benchmark
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:94 :in
with_source
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:33 :in
block in call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:110 :in
block (2 levels) in extract
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_service.rb:62 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resources/iiif_service.rb:62 :in
recursive_manifests
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:109 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:109 :in
block in extract
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:186 :in
block in compile_steps
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:180 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:180 :in
compile_steps
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:108 :in
each
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:108 :in
extract
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:32 :in
with_index
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/executor.rb:32 :in
call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/services/spotlight/etl/pipeline.rb:62 :in
call
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resource.rb:56 :in
block in reindex
[GEM_ROOT]/gems/activesupport-6.1.7/lib/active_support/callbacks.rb:98 :in
run_callbacks
[GEM_ROOT]/gems/blacklight-spotlight-3.5.0.2/app/models/spotlight/resource.rb:55 :in
reindex
[PROJECT_ROOT]/app/models/iiif_resource.rb:58 :in
reindex
[PROJECT_ROOT]/app/jobs/spotlight/reindex_job.rb:46 :in
block in perform
[PROJECT_ROOT]/app/jobs/spotlight/reindex_job.rb:45 :in
each
[PROJECT_ROOT]/app/jobs/spotlight/reindex_job.rb:45 :in
perform
The text was updated successfully, but these errors were encountered: