Skip to content

[production][source_package_command#updatepatchinfo] undefined method 'document' for nil #17824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hennevogel opened this issue May 5, 2025 · 0 comments
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@hennevogel
Copy link
Member

See this exception on Errbit

undefined method 'document' for nil

Summary

URL

https://api.opensuse.org/source/home:hennevogel:myfirstproject/ctris?cmd=updatepatchinfo"

Where

source_package_command#updatepatchinfo

Occured

May 05 2:23pm

Similar

3

Params

{
  "action" => "updatepatchinfo",
  "cmd" => "updatepatchinfo",
  "controller" => "source_package_command",
  "package" => "ctris",
  "project" => "home:hennevogel:myfirstproject"
}

Session

{}

Backtrace

129:  app/models/patchinfo.rb -> **'Patchinfo#update_patchinfo'**
233:  app/models/patchinfo.rb -> **'Patchinfo#cmd_update_patchinfo'**
28:  app/controllers/source_package_command_controller.rb -> **'SourcePackageCommandController#updatepatchinfo'**
6:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/basic_implicit_render.rb -> **'ActionController::BasicImplicitRender#send_action'**
224:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/abstract_controller/base.rb -> **'AbstractController::Base#process_action'**
165:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/rendering.rb -> **'ActionController::Rendering#process_action'**
259:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/abstract_controller/callbacks.rb -> **'block in AbstractController::Callbacks#process_action'**
121:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
24:  /GEM_ROOT/gems/turbo-rails-2.0.13/lib/turbo-rails.rb -> **'Turbo.with_request_id'**
10:  /GEM_ROOT/gems/turbo-rails-2.0.13/app/controllers/concerns/turbo/request_id_tracking.rb -> **'Turbo::RequestIdTracking#turbo_tracking_request_id'**
130:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
141:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
258:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/abstract_controller/callbacks.rb -> **'AbstractController::Callbacks#process_action'**
25:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/rescue.rb -> **'ActionController::Rescue#process_action'**
74:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/instrumentation.rb -> **'block in ActionController::Instrumentation#process_action'**
206:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/notifications.rb -> **'block in ActiveSupport::Notifications.instrument'**
58:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/notifications/instrumenter.rb -> **'ActiveSupport::Notifications::Instrumenter#instrument'**
206:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/notifications.rb -> **'ActiveSupport::Notifications.instrument'**
73:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/instrumentation.rb -> **'ActionController::Instrumentation#process_action'**
261:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal/params_wrapper.rb -> **'ActionController::ParamsWrapper#process_action'**
32:  /GEM_ROOT/gems/activerecord-7.1.5.1/lib/active_record/railties/controller_runtime.rb -> **'ActiveRecord::Railties::ControllerRuntime#process_action'**
160:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/abstract_controller/base.rb -> **'AbstractController::Base#process'**
40:  /GEM_ROOT/gems/actionview-7.1.5.1/lib/action_view/rendering.rb -> **'ActionView::Rendering#process'**
227:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal.rb -> **'ActionController::Metal#dispatch'**
309:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_controller/metal.rb -> **'ActionController::Metal.dispatch'**
49:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet::Dispatcher#dispatch'**
32:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet::Dispatcher#serve'**
30:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/routing/mapper.rb -> **'block in <class:Constraints>'**
60:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/routing/mapper.rb -> **'ActionDispatch::Routing::Mapper::Constraints#serve'**
51:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/journey/router.rb -> **'block in ActionDispatch::Journey::Router#serve'**
131:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/journey/router.rb -> **'block in ActionDispatch::Journey::Router#find_routes'**
124:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/journey/router.rb -> **'Array#each'**
124:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/journey/router.rb -> **'ActionDispatch::Journey::Router#find_routes'**
32:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/journey/router.rb -> **'ActionDispatch::Journey::Router#serve'**
882:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet#call'**
87:  /GEM_ROOT/gems/flipper-1.3.4/lib/flipper/middleware/memoizer.rb -> **'Flipper::Middleware::Memoizer#memoized_call'**
45:  /GEM_ROOT/gems/flipper-1.3.4/lib/flipper/middleware/memoizer.rb -> **'Flipper::Middleware::Memoizer#call'**
15:  config/initializers/prefer_xml_over_html.rb -> **'PreferXmlOverHtml#call'**
44:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/deflater.rb -> **'Rack::Deflater#call'**
15:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/tempfile_reaper.rb -> **'Rack::TempfileReaper#call'**
27:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/etag.rb -> **'Rack::ETag#call'**
40:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/conditional_get.rb -> **'Rack::ConditionalGet#call'**
12:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/head.rb -> **'Rack::Head#call'**
36:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/http/permissions_policy.rb -> **'ActionDispatch::PermissionsPolicy::Middleware#call'**
36:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/http/content_security_policy.rb -> **'ActionDispatch::ContentSecurityPolicy::Middleware#call'**
266:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/session/abstract/id.rb -> **'Rack::Session::Abstract::Persisted#context'**
260:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/session/abstract/id.rb -> **'Rack::Session::Abstract::Persisted#call'**
689:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/cookies.rb -> **'ActionDispatch::Cookies#call'**
29:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/callbacks.rb -> **'block in ActionDispatch::Callbacks#call'**
101:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
28:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/callbacks.rb -> **'ActionDispatch::Callbacks#call'**
32:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **'Airbrake::Rack::Middleware#call!'**
21:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **'Airbrake::Rack::Middleware#call'**
29:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/debug_exceptions.rb -> **'ActionDispatch::DebugExceptions#call'**
31:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/show_exceptions.rb -> **'ActionDispatch::ShowExceptions#call'**
18:  /GEM_ROOT/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb -> **'Rails::Rack::Logger#call_app'**
24:  /GEM_ROOT/gems/railties-7.1.5.1/lib/rails/rack/logger.rb -> **'block in Rails::Rack::Logger#call'**
139:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/tagged_logging.rb -> **'block in ActiveSupport::TaggedLogging#tagged'**
39:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging::Formatter#tagged'**
139:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging#tagged'**
241:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/broadcast_logger.rb -> **'ActiveSupport::BroadcastLogger#method_missing'**
24:  /GEM_ROOT/gems/railties-7.1.5.1/lib/rails/rack/logger.rb -> **'Rails::Rack::Logger#call'**
92:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/remote_ip.rb -> **'ActionDispatch::RemoteIp#call'**
92:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/remote_ip.rb -> **'ActionDispatch::RemoteIp#call'**
19:  /GEM_ROOT/gems/request_store-1.7.0/lib/request_store/middleware.rb -> **'RequestStore::Middleware#call'**
28:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/request_id.rb -> **'ActionDispatch::RequestId#call'**
24:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/method_override.rb -> **'Rack::MethodOverride#call'**
22:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/runtime.rb -> **'Rack::Runtime#call'**
29:  /GEM_ROOT/gems/activesupport-7.1.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb -> **'ActiveSupport::Cache::Strategy::LocalCache::Middleware#call'**
14:  /GEM_ROOT/gems/actionpack-7.1.5.1/lib/action_dispatch/middleware/executor.rb -> **'ActionDispatch::Executor#call'**
18:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/lock.rb -> **'Rack::Lock#call'**
110:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/sendfile.rb -> **'Rack::Sendfile#call'**
536:  /GEM_ROOT/gems/railties-7.1.5.1/lib/rails/engine.rb -> **'Rails::Engine#call'**
226:  /GEM_ROOT/gems/railties-7.1.5.1/lib/rails/railtie.rb -> **'Kernel#public_send'**
226:  /GEM_ROOT/gems/railties-7.1.5.1/lib/rails/railtie.rb -> **'Rails::Railtie.method_missing'**
74:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'block in Rack::URLMap#call'**
58:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'Array#each'**
58:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'Rack::URLMap#call'**
107:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb -> **'PhusionPassenger::Rack::ThreadHandlerExtension#process_request'**
157:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **'PhusionPassenger::RequestHandler::ThreadHandler#accept_and_process_next_request'**
110:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **'PhusionPassenger::RequestHandler::ThreadHandler#main_loop'**
419:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler.rb -> **'block (3 levels) in PhusionPassenger::RequestHandler#start_threads'**
113:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/utils.rb -> **'block in PhusionPassenger::Utils#create_thread_and_abort_on_exception'**

Environment

Key Value
program_name Passenger RubyApp: /srv/www/obs/api (production)
HTTP_USER_AGENT osc/1.15.1
@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

No branches or pull requests

1 participant