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

Internal Server Error when adding a new release (Validation failed for 'Maybe[Int]' with value 22439.2)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Bug Fixes, 2012-02-20
    • Component/s: None
    • Labels:
      None

      Description

      Internal Server Error

      Oops, something went wrong!

      Error:

      Caught exception in MusicBrainz::Server::Controller::ReleaseEditor::Add->add "Attribute (length) does not pass the type constraint because: Validation failed for 'Maybe[Int]' with value 22439.2 at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1290
      MusicBrainz::Server::Wizard::ReleaseEditor::_expand_track('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)', 'HASH(0xb0d93c8)', undef) called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 1336
      MusicBrainz::Server::Wizard::ReleaseEditor::_expand_mediums('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)', 'HASH(0xb1ba8d0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 751
      MusicBrainz::Server::Wizard::ReleaseEditor::prepare_missing_entities('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 76
      MusicBrainz::Server::Wizard::ReleaseEditor::_ANON_ called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard.pm line 169
      MusicBrainz::Server::Wizard::navigate_to_page('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard.pm line 402
      MusicBrainz::Server::Wizard::_route('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)', 'MusicBrainz::Server::Form::ReleaseEditor::Recordings=HASH(0xa...') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard.pm line 133
      MusicBrainz::Server::Wizard::process('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Wizard/ReleaseEditor.pm line 93
      MusicBrainz::Server::Wizard::ReleaseEditor::run('MusicBrainz::Server::Wizard::ReleaseEditor::Add=HASH(0xb1a63a0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server/Controller/ReleaseEditor/Add.pm line 23
      MusicBrainz::Server::Controller::ReleaseEditor::Add::add('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0x914f2b8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval

      {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x914f2b8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x914f2b8)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 331
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x914f2b8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0x914f2b8)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 110
      Catalyst::Controller::_ACTION('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0x9023fa8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval {...}

      called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9023fa8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9023fa8)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 331
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9023fa8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0x9023fa8)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x1842348)', 'forward', 'MusicBrainz::Server=HASH(0xaec56e8)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x1842348)', 'MusicBrainz::Server=HASH(0xaec56e8)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xaec56e8)', '_ACTION') called at /usr/local/share/perl/5.10.1/Catalyst/Controller.pm line 84
      Catalyst::Controller::_DISPATCH('MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 65
      Catalyst::Action::execute('Catalyst::Action=HASH(0x9149cd8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add=HASH(0x8e...', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      eval

      {...} called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1665
      Catalyst::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9149cd8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/StackTrace.pm line 94
      Catalyst::Plugin::StackTrace::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9149cd8)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 331
      MusicBrainz::Server::execute('MusicBrainz::Server=HASH(0xaec56e8)', 'MusicBrainz::Server::Controller::ReleaseEditor::Add', 'Catalyst::Action=HASH(0x9149cd8)') called at /usr/local/share/perl/5.10.1/Catalyst/Action.pm line 60
      Catalyst::Action::dispatch('Catalyst::Action=HASH(0x9149cd8)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 257
      Catalyst::Dispatcher::_do_forward('Catalyst::Dispatcher=HASH(0x1842348)', 'forward', 'MusicBrainz::Server=HASH(0xaec56e8)', '/release_editor/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 237
      Catalyst::Dispatcher::forward('Catalyst::Dispatcher=HASH(0x1842348)', 'MusicBrainz::Server=HASH(0xaec56e8)', '/release_editor/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 377
      Catalyst::forward('MusicBrainz::Server=HASH(0xaec56e8)', '/release_editor/_DISPATCH') called at /usr/local/share/perl/5.10.1/Catalyst/Dispatcher.pm line 105
      Catalyst::Dispatcher::dispatch('Catalyst::Dispatcher=HASH(0x1842348)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1611
      Catalyst::dispatch('MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst/Plugin/Static/Simple.pm line 76
      Class::MOP::Class:::around('CODE(0x1e9d4e0)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xaec56e8)') called at /home/musicbrainz/musicbrainz-server/script/../lib/MusicBrainz/Server.pm line 280
      Class::MOP::Class:::around('CODE(0x18416e8)', 'MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 159
      Class::MOP::Method::Wrapped::_ANON_('MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/lib/perl/5.10.1/Class/MOP/Method/Wrapped.pm line 89
      MusicBrainz::Server::dispatch('MusicBrainz::Server=HASH(0xaec56e8)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1952
      eval {...}

      called at /usr/local/share/perl/5.10.1/Catalyst.pm line 1943
      Catalyst::handle_request('MusicBrainz::Server', 'env', 'HASH(0x2c059e0)') called at /home/musicbrainz/musicbrainz-server/script/../lib/Catalyst/Plugin/AutoRestart.pm line 119
      Catalyst::Plugin::AutoRestart::handle_request('MusicBrainz::Server', 'env', 'HASH(0x2c059e0)') called at /usr/local/share/perl/5.10.1/Catalyst/Engine/FastCGI.pm line 149
      Catalyst::Engine::FastCGI::run('Catalyst::Engine::FastCGI=HASH(0x2bcfb80)', 'MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x730d48)') called at /usr/local/share/perl/5.10.1/Catalyst.pm line 2396
      Catalyst::run('MusicBrainz::Server', '127.0.0.1:55901', 'HASH(0x730d48)') called at ./script/musicbrainz_fastcgi.pl line 28"

      Stack trace:

      line 1290 MusicBrainz::Server::Wizard::ReleaseEditor
      line 1336 MusicBrainz::Server::Wizard::ReleaseEditor
      line 751 MusicBrainz::Server::Wizard::ReleaseEditor
      line 76 MusicBrainz::Server::Wizard::ReleaseEditor
      line 169 MusicBrainz::Server::Wizard
      line 402 MusicBrainz::Server::Wizard
      line 133 MusicBrainz::Server::Wizard
      line 93 MusicBrainz::Server::Wizard::ReleaseEditor
      line 23 MusicBrainz::Server::Controller::ReleaseEditor::Add
      line 331 MusicBrainz::Server
      line 331 MusicBrainz::Server
      line 331 MusicBrainz::Server
      line 280 MusicBrainz::Server

      Request data:

      $VAR1 = {
      'query_parameters' => {},
      'body_parameters' => {
      'next' => "Next \x

      {bb}

      ",
      'rec_mediums.0.associations.3.confirmed' => '1',
      'select-recording-0-2' => 'on',
      'select-recording-0-8' => 'on',
      'rec_mediums.0.associations.14.edit_sha1' => 'DyICoiZ1a07t+DbafQWiJOszxV4',
      'select-recording-0-1' => 'on',
      'rec_mediums.0.associations.11.edit_sha1' => 'IzitDPnj0RSh2xOMRFO32m45PE0',
      'rec_mediums.0.associations.10.confirmed' => '1',
      'rec_mediums.0.associations.2.gid' => 'new',
      'rec_mediums.0.associations.3.gid' => 'new',
      'rec_mediums.0.associations.13.confirmed' => '1',
      'rec_mediums.0.associations.1.confirmed' => '1',
      'rec_mediums.0.associations.14.gid' => 'new',
      'rec_mediums.0.associations.5.gid' => 'new',
      'rec_mediums.0.tracklist_id' => '',
      'rec_mediums.0.associations.11.gid' => 'new',
      'rec_mediums.0.associations.7.edit_sha1' => 'X5VFE7sqwZHmEQMHgpleMHUE8u8',
      'rec_mediums.0.associations.6.confirmed' => '1',
      'rec_mediums.0.associations.0.edit_sha1' => 'vZdBASXwZ79cmzy29tbdg1+OjoE',
      'rec_mediums.0.associations.1.gid' => 'new',
      'rec_mediums.0.associations.12.gid' => 'new',
      'select-recording-0-5' => 'on',
      'rec_mediums.0.associations.0.confirmed' => '1',
      'rec_mediums.0.associations.9.gid' => 'new',
      'rec_mediums.0.associations.7.confirmed' => '1',
      'rec_mediums.0.associations.5.edit_sha1' => '7KZHG3b1cGyzaGxUkBOcBy31uXk',
      'select-recording-0-13' => 'on',
      'select-recording-0-6' => 'on',
      'rec_mediums.0.associations.8.gid' => 'new',
      'select-recording-0-4' => 'on',
      'rec_mediums.0.associations.14.confirmed' => '1',
      'rec_mediums.0.associations.7.gid' => 'new',
      'rec_mediums.0.associations.6.gid' => 'new',
      'rec_mediums.0.associations.1.edit_sha1' => 'EpezpPSViJajv74OObDz/OpCNv8',
      'rec_mediums.0.associations.10.gid' => 'new',
      'select-recording-0-3' => 'on',
      'rec_mediums.0.associations.5.confirmed' => '1',
      'rec_mediums.0.associations.4.gid' => 'new',
      'select-recording-0-10' => 'on',
      'select-recording-0-7' => 'on',
      'select-recording-0-0' => 'on',
      'select-recording-0-12' => 'on',
      'select-recording-0-9' => 'on',
      'wizard_page_id' => '3',
      'rec_mediums.0.associations.13.gid' => 'new',
      'rec_mediums.0.associations.8.confirmed' => '1',
      'rec_mediums.0.associations.11.confirmed' => '1',
      'rec_mediums.0.associations.12.edit_sha1' => 'qOWGDbJYXB5ivu8BTD9gvJAb8xQ',
      'rec_mediums.0.associations.2.edit_sha1' => '2JwE7nuISXf53PzXb7ORHg3wM8k',
      'rec_mediums.0.associations.6.edit_sha1' => 'AWHT/uUBo1t5icoMayN47LfqZmY',
      'rec_mediums.0.associations.12.confirmed' => '1',
      'rec_mediums.0.associations.4.confirmed' => '1',
      'rec_mediums.0.associations.8.edit_sha1' => '1bnnJS3xMSaJ7mAXoHcKeCdKawI',
      'rec_mediums.0.associations.9.confirmed' => '1',
      'rec_mediums.0.associations.13.edit_sha1' => 'PoMorMnNTq8RtwyCAMNTIb1nnu0',
      'rec_mediums.0.associations.9.edit_sha1' => 'yRg6SSmz4ufsvXblgXi0TKx8VzA',
      'rec_mediums.0.associations.0.gid' => 'new',
      'wizard_session_id' => '0.980862314907522',
      'rec_mediums.0.associations.10.edit_sha1' => 'NR61OPXxgKCc9xQb+OqVdLyOjWg',
      'rec_mediums.0.associations.2.confirmed' => '1',
      'rec_mediums.0.associations.4.edit_sha1' => '1B8xbMmVbLASD85j/2Dyacknf8U',
      'select-recording-0-14' => 'on',
      'select-recording-0-11' => 'on',
      'rec_mediums.0.associations.3.edit_sha1' => 'yaO3CbcCmJHxcDpqrFOOyEIrtZc'
      }
      };

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acid2 Oliver Charles
              Reporter:
              sults MS
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Bug Fixes, 2012-02-20