An exception is being generated when I try to get into a pipeline. It was working fine last week, and as far as I know nothing has changed.
I'm running Go Version: 2.1.0(11953-d38ed30420cf) on (if it's useful) on OS X 10.6.6 with:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
I'm thinking there's something wonky in the database, but I have gone investigating yet.
Does anybody have any ideas?
Thanks,
Jason
Stack Trace
2011-03-29 21:05:18,427 ERROR [431900535@qtp-1653858092-16] Rails:? -
ActionView::TemplateError (java.lang.RuntimeException: Cannot find a stage with counter '2'. Actual stages are: [, ]) on line #249 of app/views/layouts/pipelines.html.erb:
246: <% next if @stage.getStageCounter() == n_in_other_stage_runs.to_s %>
247:
248:
249: <%= l.string("Run:") + " " + l.X_of_Y(n_in_other_stage_runs, @stage.getTotalRuns()) %>
250:
251: <% __scope = {:state=>@stage.getStateForRun(n_in_other_stage_runs)}; -%><%= check_for_cancelled_contents(__scope[:state]) %>
252:
com/thoughtworks/cruise/domain/Stages.java:84:in `byCounter'
com/thoughtworks/cruise/server/ui/StageSummaryModel.java:98:in `getStateForRun'
app/views/layouts/pipelines.html.erb:249
app/views/layouts/pipelines.html.erb:245:in `each'
app/views/layouts/pipelines.html.erb:245
app/controllers/stages_controller.rb:95:in `render_stage'
app/controllers/stages_controller.rb:93:in `render_stage'
app/controllers/stages_controller.rb:30:in `overview'
file:/opt/go/go-server-2.1.0/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/action_controller/session/java_servlet_store.rb:49:in `call'
file:/opt/go/go-server-2.1.0/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/rack/adapter/rails.rb:36:in `serve_rails'
file:/opt/go/go-server-2.1.0/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/rack/adapter/rails.rb:52:in `call'
file:/opt/go/go-server-2.1.0/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:149:in `call'
file:/opt/go/go-server-2.1.0/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/rack/handler/servlet.rb:19:in `call'
:1
Comments
1 comment
Hello Jason,
Looked at the error. Looks like this is happening when you are trying to go the details page of a Stage. Can you please navigate to a page of a different pipeline counter for the same stage and give us the screen shot of the stage history on the right side. This gives us more information about the stage history.
Did your disk on which the go server is running ever run out of space? This could have made the data to go corrupted. Would it be possible to send us your database and configuration file to us? If its small enough, you can zip it up and mail it to me at: pavan at thoughtworks dot com
Thanks,
Pavan
Please sign in to leave a comment.