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

Internal Server Error after adding a release -> Enter Edit

XMLWordPrintable

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

      Internal Server Error

      Oops, something went wrong!

      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(0xfda2aa8)', 'Try::Tiny::Catch=REF(0xfd9b6f8)') called at lib/Sql.pm line 430
      Sql::_select_list('Sql=HASH(0xc651530)', 'INSERT INTO release (date_day,country,script,language,release...', 'ARRAY(0xfd8ac48)', 'arrayref', 'CODE(0x4c203c8)') called at lib/Sql.pm line 449
      Sql::select_list_of_lists('Sql=HASH(0xc651530)', 'INSERT INTO release (date_day,country,script,language,release...', undef, 221, 28, 120, 1203128, 1, 933838, ...) called at lib/Sql.pm line 382
      Sql::select_single_column_array('Sql=HASH(0xc651530)', 'INSERT INTO release (date_day,country,script,language,release...', undef, 221, 28, 120, 1203128, 1, 933838, ...) called at lib/Sql.pm line 397
      Sql::select_single_value('Sql=HASH(0xc651530)', 'INSERT INTO release (date_day,country,script,language,release...', undef, 221, 28, 120, 1203128, 1, 933838, ...) called at lib/Sql.pm line 150
      Sql::insert_row('Sql=HASH(0xc651530)', 'release', 'HASH(0xfd6f0e8)', 'id') called at lib/MusicBrainz/Server/Data/Release.pm line 540
      MusicBrainz::Server::Data::Release::insert('MusicBrainz::Server::Data::Release=HASH(0xb3c4c60)', 'HASH(0xfd8b668)') called at lib/MusicBrainz/Server/Edit/Generic/Create.pm line 45
      MusicBrainz::Server::Edit::Generic::Create::insert('MusicBrainz::Server::Edit::Release::Create=HASH(0xfd8a4c0)') called at lib/MusicBrainz/Server/Data/Edit.pm line 391
      MusicBrainz::Server::Data::Edit::create('MusicBrainz::Server::Data::Edit=HASH(0xab77638)', 'edit_type', 31, 'editor_id', 26886, 'privileges', 0, 'date', 'HASH(0xd66cc58)', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1266
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_('edit_type', 31, 'editor_id', 26886, 'privileges', 0, 'date', 'HASH(0xd66cc58)', '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(0xfd12f28)', 'Try::Tiny::Catch=REF(0xfd89f68)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1302
      MusicBrainz::Server::Wizard::ReleaseEditor::_create_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd20e68)', 'CODE(0xd66c508)', 31, 26886, 'privileges', 0, 'date', 'HASH(0xd66cc58)', 'name', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1267
      MusicBrainz::Server::Wizard::ReleaseEditor::_submit_edit('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd20e68)', 31, 'http://www.thebellhops.com/index.php?option=com_content&task=...', 'date', 'HASH(0xd66cc58)', 'name', 'Still Got My Mojo', 'barcode', undef, ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 848
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_(31, 'http://www.thebellhops.com/index.php?option=com_content&task=...', 'date', 'HASH(0xd66cc58)', 'name', 'Still Got My Mojo', '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(0xcd20e68)', 'data', 'HASH(0xd5ba2e0)', 'create_edit', 'CODE(0xd5ba598)', 'edit_note', 'http://www.thebellhops.com/index.php?option=com_content&task=...', '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(0xcd20e68)', 'data', 'HASH(0xd5ba2e0)', 'create_edit', 'CODE(0xd5ba598)', 'edit_note', 'http://www.thebellhops.com/index.php?option=com_content&task=...', '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(0xcd20e68)', 'data', 'HASH(0xd5ba2e0)', 'create_edit', 'CODE(0xd5ba598)', 'edit_note', 'http://www.thebellhops.com/index.php?option=com_content&task=...', '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(0xcd20e68)', 'data', 'HASH(0xd5ba2e0)', 'create_edit', 'CODE(0xd5ba598)', 'edit_note', 'http://www.thebellhops.com/index.php?option=com_content&task=...', '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(0xcd20e68)', 'data', 'HASH(0xd5ba2e0)', 'create_edit', 'CODE(0xd5ba598)', 'edit_note', 'http://www.thebellhops.com/index.php?option=com_content&task=...', 'previewing', '', ...) called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 849
      MusicBrainz::Server::Wizard::ReleaseEditor::prepare_edits('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd20e68)') called at lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 94
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xcd20e68)') called at lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
      MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xc5de5e0)') called at local/lib/perl5/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0xbfeecd0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0xbc...', 'MusicBrainz::Server=HASH(0xc5de5e0)') called at local/lib/perl5/Catalyst.pm line 1667
      eval {...}

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

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

      called at local/lib/perl5/Catalyst.pm line 1667
      Catalyst::execute('MusicBrainz::Server=HASH(0xc5de5e0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbfeee38)') called at local/lib/perl5/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xc5de5e0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbfeee38)') called at lib/MusicBrainz/Server.pm line 322
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xc5de5e0)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0xbfeee38)') called at local/lib/perl5/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0xbfeee38)', 'MusicBrainz::Server=HASH(0xc5de5e0)') called at local/lib/perl5/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x3803ec0)', 'forward', 'MusicBrainz::Server=HASH(0xc5de5e0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x3803ec0)', 'MusicBrainz::Server=HASH(0xc5de5e0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst.pm line 342
      Catalyst::forward('MusicBrainz::Server=HASH(0xc5de5e0)', '/release_editor/_DISPATCH') called at local/lib/perl5/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x3803ec0)', 'MusicBrainz::Server=HASH(0xc5de5e0)') called at local/lib/perl5/Catalyst.pm line 1613
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xc5de5e0)') called at lib/MusicBrainz/Server.pm line 286
      Class::MOP::Class:::around('CODE(0x2c43aa8)', 'MusicBrainz::Server=HASH(0xc5de5e0)') 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(0xc5de5e0)') called at local/lib/perl5/x86_64-linux-gnu-thread-multi/Class/MOP/Method/Wrapped.pm line 91
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xc5de5e0)') 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(0xc43e468)', 'Try::Tiny::Catch=REF(0xc70c580)') called at local/lib/perl5/Catalyst.pm line 1969
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc63fc68)') called at lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0xc63fc68)') called at local/lib/perl5/Catalyst/Engine.pm line 856
      Catalyst::Engine::_ANON_('CODE(0xc2730b8)') called at local/lib/perl5/Plack/Handler/FCGI.pm line 134
      Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x10e2a30)', 'CODE(0xc1fe8a8)') called at local/lib/perl5/Plack/Loader.pm line 88
      Plack::Loader::run('Plack::Loader=HASH(0x10abe00)', 'Plack::Handler::FCGI=HASH(0x10e2a30)') called at local/lib/perl5/Plack/Runner.pm line 263
      Plack::Runner::run('Plack::Runner=HASH(0xeae808)') 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' => {},
      'body_parameters' =>

      { 'save' => 'Enter edit', 'wizard_page_id' => '5', 'edit_note' => 'http://www.thebellhops.com/index.php?option=com_content&task=view&id=20&Itemid=&lang=en', 'id' => '', 'wizard_session_id' => '37215' }

      };

      URL: http://musicbrainz.org/release/add

            Unassigned Unassigned
            alfg Alfg Erber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package