Skip to content

[Airbrake] [Production] undefined method `[]' for nil #28

@edgarf

Description

@edgarf

Airbrake error: #7365
Airbrake project: OCN RNA

Error type: NoMethodError
Error message: undefined method `[]' for nil
Where: containers#show
Occurred at: Jan 29, 2025 22:12:06 UTC
First seen at: Jan 29, 2025 22:12:06 UTC
Occurrences: 0 (0 since last deploy on <no information>)
Severity: error

URL: https://tool.ocf-collab.org/containers/https:%2F%2Fwww.wgu.edu%2Flp%2Fgeneral%2Fwgu%2Fskills-library.html
File: /PROJECT_ROOT/app/services/metamodels.rb

Backtrace:

/PROJECT_ROOT/app/services/metamodels.rb:34:in container_parser
/PROJECT_ROOT/app/services/container_fetcher.rb:58:in container_parser
/PROJECT_ROOT/app/services/container_fetcher.rb:15:in container
/PROJECT_ROOT/app/controllers/containers_controller.rb:20:in show
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/basic_implicit_render.rb:8:in send_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/abstract_controller/base.rb:226:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/rendering.rb:193:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/abstract_controller/callbacks.rb:261:in block in process_action
/GEM_ROOT/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:110:in run_callbacks
/GEM_ROOT/gems/actionpack-7.2.1/lib/abstract_controller/callbacks.rb:260:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/rescue.rb:27:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:77:in block in process_action
/GEM_ROOT/gems/activesupport-7.2.1/lib/active_support/notifications.rb:210:in block in instrument
/GEM_ROOT/gems/activesupport-7.2.1/lib/active_support/notifications/instrumenter.rb:58:in instrument
/GEM_ROOT/gems/activesupport-7.2.1/lib/active_support/notifications.rb:210:in instrument
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/instrumentation.rb:76:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal/params_wrapper.rb:259:in process_action
/GEM_ROOT/gems/activerecord-7.2.1/lib/active_record/railties/controller_runtime.rb:39:in process_action
/GEM_ROOT/gems/actionpack-7.2.1/lib/abstract_controller/base.rb:163:in process
/GEM_ROOT/gems/actionview-7.2.1/lib/action_view/rendering.rb:40:in process
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal.rb:252:in dispatch
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_controller/metal.rb:335:in dispatch
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:67:in dispatch
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:50:in serve
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:53:in block in serve
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:133:in block in find_routes
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:126:in each
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:126:in find_routes
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/journey/router.rb:34:in serve
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/routing/route_set.rb:896:in call
/GEM_ROOT/gems/rack-3.1.7/lib/rack/tempfile_reaper.rb:20:in call
/GEM_ROOT/gems/rack-3.1.7/lib/rack/etag.rb:29:in call
/GEM_ROOT/gems/rack-3.1.7/lib/rack/conditional_get.rb:31:in call
/GEM_ROOT/gems/rack-3.1.7/lib/rack/head.rb:15:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/http/permissions_policy.rb:38:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/http/content_security_policy.rb:36:in call
/GEM_ROOT/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:272:in context
/GEM_ROOT/gems/rack-session-2.0.0/lib/rack/session/abstract/id.rb:266:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/cookies.rb:704:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/callbacks.rb:31:in block in call
/GEM_ROOT/gems/activesupport-7.2.1/lib/active_support/callbacks.rb:101:in run_callbacks
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/callbacks.rb:30:in call
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:34:in call!
/GEM_ROOT/gems/airbrake-13.0.4/lib/airbrake/rack/middleware.rb:23:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in call
/GEM_ROOT/gems/railties-7.2.1/lib/rails/rack/logger.rb:41:in call_app
/GEM_ROOT/gems/railties-7.2.1/lib/rails/rack/logger.rb:29:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/remote_ip.rb:96:in call
/GEM_ROOT/gems/actionpack-7.2.1/lib/action_dispatch/middleware/request_id.rb:33:in call
...

Visit Airbrake error to view the full backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions