Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-5468

Internal Server Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      I tried to add this album: http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG

      Then I got this error:

      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "DBD::Pg::st execute failed: ERROR: null value in column "comment" violates not-null constraint at lib/Sql.pm line 414.
      at lib/Sql.pm line 429
      Sql::_ANON_('DBD::Pg::st execute failed: ERROR: null value in column "com...') called at local/lib/perl5/Try/Tiny.pm line 100
      Try::Tiny::try('CODE(0x1084cbc0)', 'Try::Tiny::Catch=REF(0x1083a990)') called at lib/Sql.pm line 430
      Sql::_select_list('Sql=HASH(0xd1f0cc8)', 'INSERT INTO release (date_day,script,language,release_group,s...', 'ARRAY(0x107d6ea0)', 'arrayref', 'CODE(0x4fa44e0)') called at lib/Sql.pm line 449
      Sql::select_list_of_lists('Sql=HASH(0xd1f0cc8)', 'INSERT INTO release (date_day,script,language,release_group,s...', undef, 28, 120, 1203127, 1, 933837, 1066094, ...) called at lib/Sql.pm line 382
      Sql::select_single_column_array('Sql=HASH(0xd1f0cc8)', 'INSERT INTO release (date_day,script,language,release_group,s...', undef, 28, 120, 1203127, 1, 933837, 1066094, ...) called at lib/Sql.pm line 397
      Sql::select_single_value('Sql=HASH(0xd1f0cc8)', 'INSERT INTO release (date_day,script,language,release_group,s...', undef, 28, 120, 1203127, 1, 933837, 1066094, ...) called at lib/Sql.pm line 150
      Sql::insert_row('Sql=HASH(0xd1f0cc8)', 'release', 'HASH(0x10822280)', 'id') called at lib/MusicBrainz/Server/Data/Release.pm line 540
      MusicBrainz::Server::Data::Release::insert('MusicBrainz::Server::Data::Release=HASH(0xb747740)', 'HASH(0x1084c020)') called at lib/MusicBrainz/Server/Edit/Generic/Create.pm line 45
      MusicBrainz::Server::Edit::Generic::Create::insert('MusicBrainz::Server::Edit::Release::Create=HASH(0x1083ad48)') called at lib/MusicBrainz/Server/Data/Edit.pm line 391
      MusicBrainz::Server::Data::Edit::create('MusicBrainz::Server::Data::Edit=HASH(0xaefa2e0)', 'edit_type', 31, 'editor_id', 560985, 'privileges', 0, 'date', 'HASH(0xe184ef8)', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1266
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_('edit_type', 31, 'editor_id', 560985, 'privileges', 0, 'date', 'HASH(0xe184ef8)', 'name', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1293
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      {...} called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0x1083b848)', 'Try::Tiny::Catch=REF(0x1084ed20)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1302
      MusicBrainz::Server::Wizard::ReleaseEditor::_create_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'CODE(0xe185e40)', 31, 560985, 'privileges', 0, 'date', 'HASH(0xe184ef8)', 'name', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1267
      MusicBrainz::Server::Wizard::ReleaseEditor::_submit_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 31, 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'date', 'HASH(0xe184ef8)', 'name', 'Dirty Blonde Trio EP', 'barcode', undef, ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 848
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_(31, 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'date', 'HASH(0xe184ef8)', 'name', 'Dirty Blonde Trio EP', 'barcode', undef, 'artist_credit', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor/Add.pm line 219
      MusicBrainz::Server::Wizard::ReleaseEditor::Add::_ANON_('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'data', 'HASH(0xe184e20)', 'create_edit', 'CODE(0xe0d6e88)', 'edit_note', 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Moose.pm line 119
      Moose::inner() called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 922
      MusicBrainz::Server::Wizard::ReleaseEditor::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'data', 'HASH(0xe184e20)', 'create_edit', 'CODE(0xe0d6e88)', 'edit_note', 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Moose/Meta/Method/Augmented.pm line 48
      MusicBrainz::Server::Wizard::ReleaseEditor::Add::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'data', 'HASH(0xe184e20)', 'create_edit', 'CODE(0xe0d6e88)', 'edit_note', 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 56
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'data', 'HASH(0xe184e20)', 'create_edit', 'CODE(0xe0d6e88)', 'edit_note', 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'previewing', '', ...) called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::Wizard::ReleaseEditor::Add::create_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)', 'data', 'HASH(0xe184e20)', 'create_edit', 'CODE(0xe0d6e88)', 'edit_note', 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and ...', 'previewing', '', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 849
      MusicBrainz::Server::Wizard::ReleaseEditor::prepare_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 94
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xd141e50)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
      MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc371e30)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst.pm line 1667
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371e30)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371e30)') called at lib/MusicBrainz/Server.pm line 322
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371e30)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc371e30)', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Controller.pm line 125
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc220e10)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst.pm line 1667
      eval

      {...} called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc220e10)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc220e10)') called at lib/MusicBrainz/Server.pm line 322
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc220e10)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc220e10)', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x36c6308)', 'forward', 'MusicBrainz::Server=HASH(0xd10a8f0)', '_ACTION') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x36c6308)', 'MusicBrainz::Server=HASH(0xd10a8f0)', '_ACTION') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xd10a8f0)', '_ACTION') called at local/lib/perl5/Catalyst/Controller.pm line 99
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xc371f98)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xc0...', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst.pm line 1667
      eval {...}

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371f98)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371f98)') called at lib/MusicBrainz/Server.pm line 322
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xd10a8f0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xc371f98)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xc371f98)', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x36c6308)', 'forward', 'MusicBrainz::Server=HASH(0xd10a8f0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x36c6308)', 'MusicBrainz::Server=HASH(0xd10a8f0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xd10a8f0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x36c6308)', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst.pm line 1613
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xd10a8f0)') called at lib/MusicBrainz/Server.pm line 286
      Class::MOP::Class:::around('CODE(0x2fc9098)', 'MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 162
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xd10a8f0)') called at local/lib/perl5/Catalyst.pm line 1963
      Catalyst::_ANON_() called at local/lib/perl5/Try/Tiny.pm line 76
      eval

      {...}

      called at local/lib/perl5/Try/Tiny.pm line 67
      Try::Tiny::try('CODE(0xc61ad58)', 'Try::Tiny::Catch=REF(0xd71f058)') called at local/lib/perl5/Catalyst.pm line 1969
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc9c3d00)') called at lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc9c3d00)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      Catalyst::Engine::_ANON_('CODE(0xc9eb368)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x1465a30)', 'CODE(0xc59ec50)') called at local/lib/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x142ee00)', 'Plack::Handler::FCGI=HASH(0x1465a30)') called at local/lib/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0x1231808)') called at local/bin/plackup line 10"
      Stack trace:
      line 1301 MusicBrainz::Server::Wizard::ReleaseEditor
      line 1302 MusicBrainz::Server::Wizard::ReleaseEditor
      line 1267 MusicBrainz::Server::Wizard::ReleaseEditor
      line 848 MusicBrainz::Server::Wizard::ReleaseEditor
      line 219 MusicBrainz::Server::Wizard::ReleaseEditor::Add
      line 922 MusicBrainz::Server::Wizard::ReleaseEditor
      line 849 MusicBrainz::Server::Wizard::ReleaseEditor
      line 94 MusicBrainz::Server::Wizard::ReleaseEditor
      line 23 MusicBrainz::Server::Controller::ReleaseEditor::Add
      line 322 MusicBrainz::Server
      line 322 MusicBrainz::Server
      line 322 MusicBrainz::Server
      line 286 MusicBrainz::Server
      Request data:

      $VAR1 = {
      'query_parameters' =>

      { 'artist' => '9beb4865-5bf7-48da-917e-143dd1741003' }

      ,
      'body_parameters' =>

      { 'save' => 'Enter edit', 'wizard_page_id' => '5', 'edit_note' => 'http://www.amazon.com/Dirty-Blonde-Trio-EP/dp/B006ANKUKG and on spotify ', 'id' => '', 'wizard_session_id' => '37217' }

      };

            Unassigned Unassigned
            akirom alexander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package