Issue with Subsciption and importing a Manifest

Problem:
When importing a manifest to Foreman there is a 500 error being thrown from candlepin

“Runtime Error Cannot invoke "java.lang.Boolean.booleanValue()" because "this.managed" is null at org.candlepin.model.Pool.isManaged:1,333”

This seems to cause my Katello instance to not even open the manifest import dialog when i hit the “Import a manifest to begin” button, instead it just reloads the subscription page

Expected outcome:
The subscription menu loads and importing a manifest is possible

Foreman and Proxy versions:
Foreman 3.12
Katello 4.14

Foreman and Proxy plugin versions:

Distribution and version:
Rocky 8.10 - fully updated

Other relevant data:

2024-10-15T09:48:41 [E|app|209a4ed0] ActionView::Template::Error: Katello::Resources::Candlepin::Pool: 500 Internal Server Error {"displayMessage":"Runtime Error Cannot invoke \"java.lang.Boolean.booleanValue()\" because \"this.managed\" is null at org.candlepin.model.Pool.isManaged:1,333","requestUuid":"7cb78777-fe4d-424c-aead-5ae7ce679fbf"} (GET /candlepin/pools/8ae460a6694876e901694945d6c300a3)
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:249:in `exception_with_response'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb:129:in `return!'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:836:in `process_result'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:743:in `block in transmit'
 209a4ed0 | /usr/share/ruby/net/http.rb:933:in `start'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:727:in `transmit'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:163:in `execute'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/request.rb:63:in `execute'
 209a4ed0 | /usr/share/gems/gems/rest-client-2.1.0/lib/restclient/resource.rb:51:in `get'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/http_resource.rb:98:in `issue_request'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/http_resource.rb:49:in `block (2 levels) in singleton class'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/resources/candlepin/pool.rb:21:in `find'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/models/katello/glue/candlepin/pool.rb:31:in `candlepin_data'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/models/katello/glue/candlepin/pool.rb:98:in `import_lazy_attributes'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/models/katello/glue/candlepin/pool.rb:9:in `block (2 levels) in included'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:118:in `instance_eval'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:118:in `run_initializer'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:97:in `lazy_attribute_get'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:44:in `block (2 levels) in lazy_accessor'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:118:in `instance_eval'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:118:in `run_initializer'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:97:in `lazy_attribute_get'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/lazy_accessor.rb:44:in `block (2 levels) in lazy_accessor'
 209a4ed0 | /usr/share/ruby/delegate.rb:83:in `method_missing'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/helpers.rb:16:in `data_object_attribute'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:145:in `attribute'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:116:in `block in compile_settings'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `each'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:115:in `compile_settings'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:55:in `block in to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:91:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
 209a4ed0 | /usr/share/foreman/config/initializers/rabl_init.rb:48:in `render'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:129:in `block in merge_engines_into_result'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `each'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `merge_engines_into_result'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:57:in `block in to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:27:in `map'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/multi_builder.rb:27:in `to_a'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:93:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
 209a4ed0 | /usr/share/foreman/config/initializers/rabl_init.rb:48:in `render'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:126:in `block (2 levels) in merge_engines_into_result'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:125:in `each'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:125:in `block in merge_engines_into_result'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `each'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:121:in `merge_engines_into_result'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:57:in `block in to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:253:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/builder.rb:51:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:91:in `to_hash'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:104:in `to_dumpable'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:113:in `to_json'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:51:in `block in render'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:392:in `cache_results'
 209a4ed0 | /usr/share/gems/gems/rabl-0.16.1/lib/rabl/engine.rb:50:in `render'
 209a4ed0 | /usr/share/foreman/config/initializers/rabl_init.rb:48:in `render'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/views/katello/api/v2/subscriptions/index.json.rabl:3:in `__usr_share_gems_gems_katello________app_views_katello_api_v__subscriptions_index_json_rabl___1962849606638479595_18611540'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/base.rb:247:in `public_send'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/base.rb:247:in `_run'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/template.rb:154:in `block in render'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:205:in `instrument'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/template.rb:345:in `instrument_render_template'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/template.rb:152:in `render'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:61:in `block (2 levels) in render_template'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:56:in `block in render_template'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:71:in `block in render_with_layout'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:70:in `render_with_layout'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:55:in `render_template'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/template_renderer.rb:11:in `render'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/renderer.rb:61:in `render_template_to_object'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/renderer/renderer.rb:29:in `render_to_object'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:117:in `block in _render_template'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/base.rb:273:in `in_rendering_context'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:116:in `_render_template'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/streaming.rb:218:in `_render_template'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:103:in `render_to_body'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/rendering.rb:25:in `render'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rendering.rb:36:in `render'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
 209a4ed0 | /usr/share/ruby/benchmark.rb:308:in `realtime'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/core_ext/benchmark.rb:14:in `ms'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:86:in `cleanup_view_runtime'
 209a4ed0 | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/railties/controller_runtime.rb:34:in `cleanup_view_runtime'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:45:in `render'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/api/v2/rendering.rb:45:in `respond_with_template'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/api/v2/rendering.rb:63:in `respond_with_template_collection'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/api/v2/rendering.rb:76:in `try_specific_collection_template'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/lib/katello/api/v2/rendering.rb:11:in `respond_for_index'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/concerns/api/api_controller.rb:81:in `respond'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/api/v2/subscriptions_controller.rb:66:in `block (2 levels) in index'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/mime_responds.rb:214:in `respond_to'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/api/v2/subscriptions_controller.rb:40:in `index'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:228:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rendering.rb:30:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 209a4ed0 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 209a4ed0 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 209a4ed0 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 209a4ed0 | /usr/share/gems/gems/audited-5.7.0/lib/audited/sweeper.rb:16:in `around'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 209a4ed0 | /usr/share/gems/gems/audited-5.7.0/lib/audited/sweeper.rb:16:in `around'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:41:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rescue.rb:22:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 209a4ed0 | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/concerns/api/api_controller.rb:46:in `process_action'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:165:in `process'
 209a4ed0 | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:39:in `process'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:190:in `dispatch'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:254:in `dispatch'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `each'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in `call'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/engine.rb:539:in `call'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `each'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `serve'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in `call'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/lib/katello/middleware/event_daemon.rb:10:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 209a4ed0 | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/static_dispatcher.rb:74:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 209a4ed0 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 209a4ed0 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 209a4ed0 | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/conditional_get.rb:27:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 209a4ed0 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/cookies.rb:697:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:98:in `run_callbacks'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:37:in `call_app'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:28:in `call'
 209a4ed0 | /usr/share/gems/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in `call'
 209a4ed0 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 209a4ed0 | /usr/share/gems/gems/katello-4.14.0/lib/katello/prevent_json_parsing.rb:12:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
 209a4ed0 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/executor.rb:14:in `call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 209a4ed0 | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 209a4ed0 | /usr/share/gems/gems/secure_headers-6.7.0/lib/secure_headers/middleware.rb:11:in `call'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/engine.rb:539:in `call'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
 209a4ed0 | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
 209a4ed0 | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run'
 209a4ed0 | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
 209a4ed0 | /usr/share/gems/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2024-10-15T09:48:41 [I|app|209a4ed0] Completed 500 Internal Server Error in 133ms (Views: 0.2ms | ActiveRecord: 65.6ms | Allocations: 44287)
2024-10-15T09:48:41 [E|app|06d2840b] Katello::HttpErrors::BadRequest: The manifest doesn't exist on console.redhat.com. Please create and import a new manifest.
 06d2840b | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/api/v2/api_controller.rb:263:in `rescue in check_upstream_connection'
 06d2840b | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/api/v2/api_controller.rb:260:in `check_upstream_connection'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:427:in `block in make_lambda'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:199:in `block in halting'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `block in invoke_before'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `each'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:512:in `invoke_before'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:115:in `block in run_callbacks'
 06d2840b | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 06d2840b | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 06d2840b | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 06d2840b | /usr/share/gems/gems/audited-5.7.0/lib/audited/sweeper.rb:16:in `around'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 06d2840b | /usr/share/gems/gems/audited-5.7.0/lib/audited/sweeper.rb:16:in `around'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:126:in `block in run_callbacks'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:137:in `run_callbacks'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/callbacks.rb:41:in `process_action'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/rescue.rb:22:in `process_action'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `block in instrument'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/notifications.rb:203:in `instrument'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/instrumentation.rb:33:in `process_action'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal/params_wrapper.rb:249:in `process_action'
 06d2840b | /usr/share/gems/gems/activerecord-6.1.7.8/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
 06d2840b | /usr/share/gems/gems/katello-4.14.0/app/controllers/katello/concerns/api/api_controller.rb:46:in `process_action'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/abstract_controller/base.rb:165:in `process'
 06d2840b | /usr/share/gems/gems/actionview-6.1.7.8/lib/action_view/rendering.rb:39:in `process'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:190:in `dispatch'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_controller/metal.rb:254:in `dispatch'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:33:in `serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `each'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in `call'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/engine.rb:539:in `call'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:20:in `block in <class:Constraints>'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `each'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/journey/router.rb:32:in `serve'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/routing/route_set.rb:842:in `call'
 06d2840b | /usr/share/gems/gems/katello-4.14.0/lib/katello/middleware/organization_created_enforcer.rb:18:in `call'
 06d2840b | /usr/share/gems/gems/katello-4.14.0/lib/katello/middleware/event_daemon.rb:10:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/apipie-dsl-2.6.2/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
 06d2840b | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/static_dispatcher.rb:74:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/static.rb:24:in `call'
 06d2840b | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
 06d2840b | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
 06d2840b | /usr/share/gems/gems/apipie-rails-1.4.2/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/tempfile_reaper.rb:15:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/etag.rb:27:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/conditional_get.rb:27:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/head.rb:12:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/permissions_policy.rb:22:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/http/content_security_policy.rb:19:in `call'
 06d2840b | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:266:in `context'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/session/abstract/id.rb:260:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/cookies.rb:697:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/callbacks.rb:98:in `run_callbacks'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/debug_exceptions.rb:29:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:37:in `call_app'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/rack/logger.rb:28:in `call'
 06d2840b | /usr/share/gems/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in `call'
 06d2840b | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/request_id.rb:26:in `call'
 06d2840b | /usr/share/gems/gems/katello-4.14.0/lib/katello/prevent_json_parsing.rb:12:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/method_override.rb:24:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/runtime.rb:22:in `call'
 06d2840b | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/executor.rb:14:in `call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/sendfile.rb:110:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/ssl.rb:77:in `call'
 06d2840b | /usr/share/gems/gems/actionpack-6.1.7.8/lib/action_dispatch/middleware/host_authorization.rb:142:in `call'
 06d2840b | /usr/share/gems/gems/secure_headers-6.7.0/lib/secure_headers/middleware.rb:11:in `call'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/engine.rb:539:in `call'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `public_send'
 06d2840b | /usr/share/gems/gems/railties-6.1.7.8/lib/rails/railtie.rb:207:in `method_missing'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:74:in `block in call'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `each'
 06d2840b | /usr/share/gems/gems/rack-2.2.9/lib/rack/urlmap.rb:58:in `call'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/configuration.rb:272:in `call'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:100:in `block in handle_request'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:378:in `with_force_shutdown'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/request.rb:99:in `handle_request'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:464:in `process_client'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/server.rb:245:in `block in run'
 06d2840b | /usr/share/gems/gems/puma-6.4.2/lib/puma/thread_pool.rb:155:in `block in spawn_thread'
 06d2840b | /usr/share/gems/gems/logging-2.4.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2024-10-15T09:48:41 [I|app|06d2840b] Completed 400 Bad Request in 594ms (Views: 0.2ms | ActiveRecord: 2.2ms | Allocations: 12178)

Error from candlepin error log

2024-10-15 09:34:17,316 [thread=https-jsse-nio-127.0.0.1-23443-exec-7] [req=67e3b583-d712-415c-9ef8-7cad2453839f, org=isb, csid=f93fd3ca-8018-418b-b3a1-56e07d5c8e72] ERROR org.candlepin.exceptions.mappers.CandlepinExceptionMapper - Runtime Error Cannot invoke "java.lang.Boolean.booleanValue()" because "this.managed" is null at org.candlepin.model.Pool.isManaged:1,333
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.managed" is null
        at org.candlepin.model.Pool.isManaged(Pool.java:1333)
        at org.candlepin.dto.api.v1.PoolTranslator.populate(PoolTranslator.java:109)
        at org.candlepin.dto.api.v1.PoolTranslator.translate(PoolTranslator.java:59)
        at org.candlepin.dto.api.v1.PoolTranslator.translate(PoolTranslator.java:44)
        at org.candlepin.dto.SimpleModelTranslator.translate(SimpleModelTranslator.java:311)
        at org.candlepin.resource.PoolResource.getPool(PoolResource.java:219)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
        at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
        at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
        at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:408)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
        at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
        at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
        at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:249)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:60)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
        at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:293)
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:283)
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:184)
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:89)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)
        at org.candlepin.servlet.filter.EventFilter.doFilter(EventFilter.java:65)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
        at org.candlepin.servlet.filter.logging.LoggingFilter.doFilter(LoggingFilter.java:123)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
        at org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
        at org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:67)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
        at org.candlepin.servlet.filter.CandlepinContentTypeFilter.doFilter(CandlepinContentTypeFilter.java:56)
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
        at java.base/java.lang.Thread.run(Thread.java:840)

Hi @birkirf

Was this Katello a fresh install or an upgrade from a previous version? On what version was the manifest originally created?

Can you try the following?

Go to console.redhat.com or the Customer Portal, and export or download the manifest again
Upload the manifest via hammer host subscription upload

cc @Ceiu @nikos_moum who may have more insights

i constantly forget that Hammer exists.
i uploaded through hammer, or tried to at least, it gave me an error - but by some magic the candlepin error is gone and i can see the old manifest in the interface now.

Going to see if i cant properly remove it now and import the new one.

This definitely looks like a bug. What is the exact version of Candlepin?

[root@foreman ~]# rpm -qa | grep candlepin
candlepin-4.4.16-1.el8.noarch
candlepin-selinux-4.4.16-1.el8.noarch

I was trying to delete the manifest yesterday, but the task hangs without ever moving

I’ve created 2319114 – Runtime Error Cannot invoke "java.lang.Boolean.booleanValue()" because "this.managed" is null at org.candlepin.model.Pool.isManaged to track this issue

Here is a “new” error from candlepin that comes up when trying to delete the existing manifest from Foreman.

2024-10-21 09:14:12,400 [thread=Thread-1118 (ActiveMQ-client-global-threads)] [job=8ae4609792a583810192ae5b000b0162, job_key=UndoImportsJob, org=isb, csid=e6b2d68f-b1d7-4e3a-b81a-4531de90d79f] ERROR org.candlepin.async.JobManager - Job "Undo Imports" failed in│
│java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "this.managed" is null                                                                                                                                                     │
│       at org.candlepin.model.Pool.isManaged(Pool.java:1333)                                                                                                                                                                                                        │
│       at org.candlepin.async.tasks.UndoImportsJob.lambda$execute$0(UndoImportsJob.java:117)                                                                                                                                                                        │
│       at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)                                                                                                                                                                       │
│       at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)                                                                                                                                                                  │
│       at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)                                                                                                                                                                           │
│       at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)                                                                                                                                                                    │
│       at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)                                                                                                                                                                           │
│       at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)                                                                                                                                                                │
│       at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)                                                                                                                                                                          │
│       at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)                                                                                                                                                                          │
│       at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)                                                                                                                                                                           │
│       at org.candlepin.async.tasks.UndoImportsJob.execute(UndoImportsJob.java:119)                                                                                                                                                                                 │
│       at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)                                                                                                                                                               │
│       at org.candlepin.async.JobManager.executeJob(JobManager.java:1286)                                                                                                                                                                                           │
│       at org.candlepin.async.JobMessageReceiver$MessageListener.handleMessage(JobMessageReceiver.java:350)                                                                                                                                                         │
│       at org.candlepin.messaging.impl.artemis.ArtemisConsumer$ArtemisMessageForwarder.onMessage(ArtemisConsumer.java:59)                                                                                                                                           │
│       at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:971)                                                                                                                                                │
│       at org.apache.activemq.artemis.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1128)                                                                                                                                                  │
│       at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:57)                                                                                                                                                                  │
│       at org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:32)                                                                                                                                                                  │
│       at org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:68)                                                                                                                                                         │
│       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)                                                                                                                                                                 │
│       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)                                                                                                                                                                 │
│       at org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)

Looks like it is the same error/root cause, but from a different source

1 Like

Thanks for the very swift response and fix.
I can see the functions have been fixed and merged, do you have any idea how long until the updated/fixed package will be available for katello users?

If this fix/update will take a while to roll out to katello 4.14, is there some way to patch this locally? Manually setting the field somehow or anything really

i’ve now been without RHEL updates for 3-4 weeks (since i broke the manifest) and i need to update a few hosts soon

@nikos_moum Any ETA or side-loadable fix for this update?

I’m getting increased pressure for some rhel related things and am unable to update our rhel hosts at the moment.
If i can’t resolve this before end of next week then i’ll be forced to create a new Org in Foreman to import my new manifest, move all our rhel hosts to that org just so i can get os updates.
A lot of work to workaround this issue that i’d really like to avoid and will very likely bring other issues and will need to be undone when this finally gets fixed, again bringing even more work due to this bug on my end.

Any update at all would be appreciated and thanks again for at least getting the actual bug fixed in the product, even if the fix hasn’t trickled down to me yet.

Hi @birkirf . A Candlepin rpm with the fix already exists, but Katello folks are usually the ones tagging it into the relevant upstream repo. I’ll let them know about getting it added

1 Like

hi, the candlepin release with the fix should be published now

1 Like