-
Bug
-
Resolution: Fixed
-
High
-
None
-
None
Internal server error on https://musicbrainz.org/search?query=lang%3A%22eng%22&type=release&limit=25&method=advanced
Referrer: https://musicbrainz.org/release/2ab6cc8b-761d-4b12-a446-9f3e5c4a3d24
Errors:
- Attribute (gid) does not pass the type constraint because: Validation failed for 'Str' with value undef at constructor MusicBrainz::Server::Entity::ReleasePackaging::new (defined at lib/MusicBrainz/Server/Entity/ReleasePackaging.pm line 19) line 52 MusicBrainz::Server::Entity::ReleasePackaging::new('MusicBrainz::Server::Entity::ReleasePackaging', 'name', 'Jewel Case', 'gid', undef) called at lib/MusicBrainz/Server/Data/Search.pm line 534 MusicBrainz::Server::Data::Search::schema_fixup('MusicBrainz::Server::Data::Search=HASH(0x12804a70)', 'HASH(0x17c73200)', 'release') called at lib/MusicBrainz/Server/Data/Search.pm line 838 MusicBrainz::Server::Data::Search::external_search('MusicBrainz::Server::Data::Search=HASH(0x12804a70)', 'release', 'lang:"eng"', 25, 1, 1) called at lib/MusicBrainz/Server/Controller/Search.pm line 232 MusicBrainz::Server::Controller::Search::do_external_search('MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)', 'query', 'lang:"eng"', 'type', 'release', 'limit', 25, 'page', undef, 'advanced', 1) called at lib/MusicBrainz/Server/Controller/Search.pm line 213 MusicBrainz::Server::Controller::Search::external('MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358 Catalyst::Action::execute('Catalyst::Action=HASH(0x13768f28)', 'MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 Catalyst::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13768f28)') called at lib/Catalyst/Plugin/Sentry.pm line 23 Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13768f28)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x13768f28)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 261 Catalyst::Dispatcher::do_forward('Catalyst::Dispatcher=HASH(0x751a540)', 'forward', 'MusicBrainz::Server=HASH(0x15ae8480)', 'external') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 241 Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x751a540)', 'MusicBrainz::Server=HASH(0x15ae8480)', 'external') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 477 Catalyst::forward('MusicBrainz::Server=HASH(0x15ae8480)', 'external') called at lib/MusicBrainz/Server/Controller/Search.pm line 60 MusicBrainz::Server::Controller::Search::search('MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358 Catalyst::Action::execute('Catalyst::Action=HASH(0x13769600)', 'MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 Catalyst::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13769600)') called at lib/Catalyst/Plugin/Sentry.pm line 23 Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13769600)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x13769600)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Controller.pm line 170 Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358 Catalyst::Action::execute('Catalyst::Action=HASH(0x13768ee0)', 'MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 Catalyst::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13768ee0)') called at lib/Catalyst/Plugin/Sentry.pm line 23 Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13768ee0)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x13768ee0)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 261 Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x751a540)', 'forward', 'MusicBrainz::Server=HASH(0x15ae8480)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 241 Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x751a540)', 'MusicBrainz::Server=HASH(0x15ae8480)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 477 Catalyst::forward('MusicBrainz::Server=HASH(0x15ae8480)', '_ACTION') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Controller.pm line 134 Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 358 Catalyst::Action::execute('Catalyst::Action=HASH(0x13716910)', 'MusicBrainz::Server::Controller::Search=HASH(0x133fc680)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2051 Catalyst::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13716910)') called at lib/Catalyst/Plugin/Sentry.pm line 23 Catalyst::Plugin::Sentry::execute('MusicBrainz::Server=HASH(0x15ae8480)', 'MusicBrainz::Server::Controller::Search', 'Catalyst::Action=HASH(0x13716910)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Action.pm line 353 Catalyst::Action::dispatch('Catalyst::Action=HASH(0x13716910)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 261 Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x751a540)', 'forward', 'MusicBrainz::Server=HASH(0x15ae8480)', '/search/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 241 Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x751a540)', 'MusicBrainz::Server=HASH(0x15ae8480)', '/search/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 477 Catalyst::forward('MusicBrainz::Server=HASH(0x15ae8480)', '/search/_DISPATCH') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Dispatcher.pm line 107 Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x751a540)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 1997 Catalyst::dispatch('MusicBrainz::Server=HASH(0x15ae8480)') called at lib/MusicBrainz/Server.pm line 320 MusicBrainz::Server::ANON_ at lib/MusicBrainz/Server.pm line 295 MusicBrainz::Server::with_translations('MusicBrainz::Server=HASH(0x15ae8480)', 'CODE(0x15a70160)') called at lib/MusicBrainz/Server.pm line 321 Class::MOP::Class:::around('CODE(0x435ea58)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164 Class::MOP::Method::Wrapped::_ANON('MusicBrainz::Server=HASH(0x15ae8480)') called at lib/MusicBrainz/Server.pm line 335 Class::MOP::Class:::around('CODE(0x1348fa50)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164 Class::MOP::Method::Wrapped::ANON('MusicBrainz::Server=HASH(0x15ae8480)') called at lib/MusicBrainz/Server.pm line 416 Class::MOP::Class:::around('CODE(0x1348f7f8)', 'MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 164 Class::MOP::Method::Wrapped::ANON('MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 35 MusicBrainz::Server::_wrapped_dispatch('MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 95 MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0x15ae8480)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2403 Catalyst::try {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 102 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x157a7c48)', 'Try::Tiny::Catch=REF(0x15a9dce0)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst.pm line 2412 Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0x17c732d8)', 'response_cb', 'CODE(0x15afd0e0)') called at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Engine.pm line 806 Catalyst::Engine::ANON('CODE(0x15afd0e0)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Middleware/HTTPExceptions.pm line 32 Plack::Middleware::HTTPExceptions::try {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 102 eval {...} at /home/musicbrainz/carton-local/lib/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x15029640)', 'Try::Tiny::Catch=REF(0x169831e0)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Middleware/HTTPExceptions.pm line 41 Plack::Middleware::HTTPExceptions::ANON('CODE(0x15a97fb0)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339 Plack::Util::ANON('CODE(0x15a655f0)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339 Plack::Util::ANON('CODE(0x17b36dd0)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Util.pm line 339 Plack::Util::ANON_('CODE(0x15a980a0)') called at /home/musicbrainz/carton-local/lib/perl5/Starlet/Server.pm line 377 Starlet::Server::handle_connection('Plack::Handler::Starlet=HASH(0x133baf90)', 'HASH(0x17c732d8)', 'IO::Socket::INET=GLOB(0x15af1458)', 'CODE(0x1391d220)', '', '', '') called at /home/musicbrainz/carton-local/lib/perl5/Starlet/Server.pm line 190 Starlet::Server::accept_loop('Plack::Handler::Starlet=HASH(0x133baf90)', 'CODE(0x1391d220)', 50) called at /home/musicbrainz/carton-local/lib/perl5/Plack/Handler/Starlet.pm line 80 Plack::Handler::Starlet::run('Plack::Handler::Starlet=HASH(0x133baf90)', 'CODE(0x1391d220)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Loader.pm line 84 Plack::Loader::run('Plack::Loader=HASH(0x2014fb0)', 'Plack::Handler::Starlet=HASH(0x133baf90)') called at /home/musicbrainz/carton-local/lib/perl5/Plack/Runner.pm line 277 Plack::Runner::run('Plack::Runner=HASH(0x1d0dac8)') called at /home/musicbrainz/carton-local/bin/plackup line 7
- Caught exception in MusicBrainz::Server::Controller::Search->search "Can't call method "current_page" on an undefined value at lib/MusicBrainz/Server/ControllerUtils/JSON.pm line 13."
Stack trace:
- line
- line
Time: 2019-10-14 11:51:36 UTC
Host: 3100ffe778c4
Interface language: en
URL: https://musicbrainz.org/search?query=lang%3A%22eng%22&type=release&limit=25&method=advanced
Request data:
$VAR1 = { 'query_parameters' =>
{ 'limit' => '25', 'query' => 'lang:"eng"', 'method' => 'advanced', 'type' => 'release' }, 'body_parameters' => {} };