Uploaded image for project: 'CYPRESS Issue Tracker'
  1. CYPRESS Issue Tracker
  2. CYPRESS-1672

500 error when trying to view record sample C1

XMLWordPrintable

      // code placeholder
      I, [2019-04-06T17:52:38.656423 #2502]  INFO -- : Started GET "/products/5ca91d1763623909cca88a06/checklist_tests/5ca91d2b63623909cca8be85" for 127.0.0.1 at 2019-04-06 17:52:38 -0400
      I, [2019-04-06T17:52:38.657537 #2502]  INFO -- : Processing by ChecklistTestsController#show as HTML
      I, [2019-04-06T17:52:38.657680 #2502]  INFO -- :   Parameters: {"product_id"=>"5ca91d1763623909cca88a06", "id"=>"5ca91d2b63623909cca8be85"}
      I, [2019-04-06T17:52:38.733573 #2502]  INFO -- :   Rendered application/_certification_bar.html.erb (0.2ms)
      I, [2019-04-06T17:52:38.734364 #2502]  INFO -- :   Rendered checklist_tests/_checklist_instructions.html.erb (0.2ms)
      I, [2019-04-06T17:52:38.737608 #2502]  INFO -- :   Rendered test_executions/_execution_upload.html.erb (0.7ms)
      I, [2019-04-06T17:52:38.743713 #2502]  INFO -- :   Rendered application/_execution_status_message.html.erb (0.1ms)
      I, [2019-04-06T17:52:38.744248 #2502]  INFO -- :   Rendered application/_execution_status_message.html.erb (0.2ms)
      I, [2019-04-06T17:52:38.744365 #2502]  INFO -- :   Rendered application/_checklist_execution_results.html.erb (4.5ms)
      I, [2019-04-06T17:52:38.845012 #2502]  INFO -- :   Rendered application/_checklist_status_display.html.erb (100.4ms)
      I, [2019-04-06T17:52:39.074096 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.7ms)
      I, [2019-04-06T17:52:39.074226 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (3.0ms)
      I, [2019-04-06T17:52:39.116983 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.3ms)
      I, [2019-04-06T17:52:39.117125 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (3.8ms)
      I, [2019-04-06T17:52:39.157614 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.2ms)
      I, [2019-04-06T17:52:39.157723 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (2.5ms)
      I, [2019-04-06T17:52:39.206414 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.3ms)
      I, [2019-04-06T17:52:39.206526 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (2.7ms)
      I, [2019-04-06T17:52:39.238919 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.1ms)
      I, [2019-04-06T17:52:39.283970 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (8.3ms)
      I, [2019-04-06T17:52:39.286671 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.329199 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (8.0ms)
      I, [2019-04-06T17:52:39.332318 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.442579 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.0ms)
      I, [2019-04-06T17:52:39.442708 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (3.4ms)
      I, [2019-04-06T17:52:39.474073 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.9ms)
      I, [2019-04-06T17:52:39.474274 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (4.3ms)
      I, [2019-04-06T17:52:39.508615 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (4.2ms)
      I, [2019-04-06T17:52:39.508741 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (4.6ms)
      I, [2019-04-06T17:52:39.535156 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (1.9ms)
      I, [2019-04-06T17:52:39.625800 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (34.1ms)
      I, [2019-04-06T17:52:39.628844 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.659078 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.3ms)
      I, [2019-04-06T17:52:39.661941 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.777419 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.4ms)
      I, [2019-04-06T17:52:39.777633 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (3.8ms)
      I, [2019-04-06T17:52:39.816767 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.0ms)
      I, [2019-04-06T17:52:39.821559 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.1ms)
      I, [2019-04-06T17:52:39.821671 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (2.4ms)
      I, [2019-04-06T17:52:39.885647 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (16.6ms)
      I, [2019-04-06T17:52:39.888590 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.933729 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.9ms)
      I, [2019-04-06T17:52:39.936278 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:39.972962 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (1.7ms)
      I, [2019-04-06T17:52:40.089719 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (3.6ms)
      I, [2019-04-06T17:52:40.089881 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (3.9ms)
      I, [2019-04-06T17:52:40.136568 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.1ms)
      I, [2019-04-06T17:52:40.141487 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (2.0ms)
      I, [2019-04-06T17:52:40.141652 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (2.3ms)
      I, [2019-04-06T17:52:40.177960 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (1.8ms)
      I, [2019-04-06T17:52:40.236373 #2502]  INFO -- :   Rendered checklist_tests/_checklist_modal.html.erb (14.9ms)
      I, [2019-04-06T17:52:40.239549 #2502]  INFO -- :   Rendered checklist_tests/_field_values.html.erb (0.1ms)
      I, [2019-04-06T17:52:40.273447 #2502]  INFO -- :   Rendered checklist_tests/_checklist_measure.html.erb (1246.9ms)
      I, [2019-04-06T17:52:40.273597 #2502]  INFO -- :   Rendered checklist_tests/_checklist_measures.html.erb (1428.4ms)
      I, [2019-04-06T17:52:40.273703 #2502]  INFO -- :   Rendered checklist_tests/show.html.erb within layouts/application (1542.4ms)
      I, [2019-04-06T17:52:40.273850 #2502]  INFO -- : Completed 500 Internal Server Error in 1616ms
      F, [2019-04-06T17:52:40.275895 #2502] FATAL -- :
      ActionView::Template::Error (no implicit conversion from nil to integer):
          48:                           <%= icon('fas fa-fw text-info invisible', 'play-circle', :"aria-hidden" => true) %>
          49:                         <% end %>
          50:                       </td>
          51:                       <% valuessets = criteria_field.object.get_all_valuesets_for_dc(measure) %>
          52:                       <% if valuessets.empty? %>
          53:                         <td rowspan="3"/>
          54:                         <tr>
        app/models/checklist_source_data_criteria.rb:116:in `[]'
        app/models/checklist_source_data_criteria.rb:116:in `compare_attributes'
        app/models/checklist_source_data_criteria.rb:108:in `include_valueset'
        app/models/checklist_source_data_criteria.rb:94:in `block in get_all_valuesets_for_dc'
        app/models/checklist_source_data_criteria.rb:94:in `each'
        app/models/checklist_source_data_criteria.rb:94:in `map'
        app/models/checklist_source_data_criteria.rb:94:in `get_all_valuesets_for_dc'
        app/views/checklist_tests/_checklist_measure.html.erb:51:in `block (4 levels) in _app_views_checklist_tests__checklist_measure_html_erb___3960505288693312997_47330436993760'
        app/views/checklist_tests/_checklist_measure.html.erb:39:in `block (3 levels) in _app_views_checklist_tests__checklist_measure_html_erb___3960505288693312997_47330436993760'
        app/views/checklist_tests/_checklist_measure.html.erb:38:in `with_index'
        app/views/checklist_tests/_checklist_measure.html.erb:38:in `block (2 levels) in _app_views_checklist_tests__checklist_measure_html_erb___3960505288693312997_47330436993760'
        app/views/checklist_tests/_checklist_measure.html.erb:14:in `each'
        app/views/checklist_tests/_checklist_measure.html.erb:14:in `block in _app_views_checklist_tests__checklist_measure_html_erb___3960505288693312997_47330436993760'
        app/views/checklist_tests/_checklist_measure.html.erb:10:in `_app_views_checklist_tests__checklist_measure_html_erb___3960505288693312997_47330436993760'
        app/views/checklist_tests/_checklist_measures.html.erb:15:in `_app_views_checklist_tests__checklist_measures_html_erb___2172491598098570576_47330425623880'
        app/views/checklist_tests/show.html.erb:51:in `_app_views_checklist_tests_show_html_erb___4157876291492874473_47330419346480'
        app/controllers/checklist_tests_controller.rb:21:in `show'
        app/controllers/application_controller.rb:149:in `catch_not_found'
      I, [2019-04-06T17:52:40.276457 #2502]  INFO -- : Processing by ApplicationController#server_error as HTML
      I, [2019-04-06T17:52:40.276534 #2502]  INFO -- :   Parameters: {"product_id"=>"5ca91d1763623909cca88a06", "id"=>"5ca91d2b63623909cca8be85"}
      I, [2019-04-06T17:52:40.277572 #2502]  INFO -- :   Rendered layouts/_error_links.html.erb (0.2ms)
      I, [2019-04-06T17:52:40.277654 #2502]  INFO -- :   Rendered errors/500.html.erb within layouts/errors (0.5ms)
      I, [2019-04-06T17:52:40.278424 #2502]  INFO -- : Completed 500 Internal Server Error in 2ms (Views: 1.4ms)
      I, [2019-04-06T17:52:40.540568 #2502]  INFO -- : Started GET "/assets/geometry2.png" for 127.0.0.1 at 2019-04-06 17:52:40 -0400
      F, [2019-04-06T17:52:40.542783 #2502] FATAL -- :
      ActionController::RoutingError (No route matches [GET] "/assets/geometry2.png"):
        vendor/bundle/ruby/2.4.0/gems/actionpack-4.2.11/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/actionpack-4.2.11/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/rack/logger.rb:38:in `call_app'
        vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/rack/logger.rb:20:in `block in call'
        vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11/lib/active_support/tagged_logging.rb:68:in `block in tagged'
        vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11/lib/active_support/tagged_logging.rb:26:in `tagged'
        vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11/lib/active_support/tagged_logging.rb:68:in `tagged'
        vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/rack/logger.rb:20:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/actionpack-4.2.11/lib/action_dispatch/middleware/request_id.rb:21:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/rack-1.6.11/lib/rack/methodoverride.rb:22:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/rack-1.6.11/lib/rack/runtime.rb:18:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/actionpack-4.2.11/lib/action_dispatch/middleware/static.rb:120:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/rack-1.6.11/lib/rack/sendfile.rb:113:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/engine.rb:518:in `call'
        vendor/bundle/ruby/2.4.0/gems/railties-4.2.11/lib/rails/application.rb:165:in `call'
        vendor/bundle/ruby/2.4.0/gems/newrelic_rpm-5.3.0.346/lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
        vendor/bundle/ruby/2.4.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:606:in `process_client'
        vendor/bundle/ruby/2.4.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:701:in `worker_loop'
        vendor/bundle/ruby/2.4.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:549:in `spawn_missing_workers'
        vendor/bundle/ruby/2.4.0/gems/unicorn-5.4.1/lib/unicorn/http_server.rb:142:in `start'
        vendor/bundle/ruby/2.4.0/gems/unicorn-5.4.1/bin/unicorn:126:in `<top (required)>'
        vendor/bundle/ruby/2.4.0/bin/unicorn:23:in `load'
        vendor/bundle/ruby/2.4.0/bin/unicorn:23:in `<top (required)>'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `load'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:74:in `kernel_load'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli/exec.rb:27:in `run'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:360:in `exec'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:20:in `dispatch'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/cli.rb:10:in `start'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:30:in `block in <top (required)>'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
        vendor/bundle/ruby/2.4.0/gems/bundler-1.15.2/exe/bundle:22:in `<top (required)>'
        bin/bundle:3:in `load'
        bin/bundle:3:in `<main>'
      I, [2019-04-06T17:52:40.543710 #2502]  INFO -- : Processing by ApplicationController#page_not_found as HTML
      I, [2019-04-06T17:52:40.545515 #2502]  INFO -- :   Rendered layouts/_error_links.html.erb (0.3ms)
      I, [2019-04-06T17:52:40.545708 #2502]  INFO -- :   Rendered errors/404.html.erb within layouts/errors (0.7ms)
      I, [2019-04-06T17:52:40.547048 #2502]  INFO -- : Completed 404 Not Found in 3ms (Views: 2.3ms)
      
      

      We get the aboveĀ error when trying to view record sample and we get a 500 error

            laurend Lauren DiCristofaro (Inactive)
            okfalcon J (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: