Defect #8802
closed500 Internal Server Error when trying Gantt view
0%
Description
When trying to use Gantt view - Client displays:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.
Logs:
Rendering gantts/show
ActionView::TemplateError (undefined method `subject' for nil:NilClass) on line #66 of vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:
63: # Width of the entire chart
64: g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom
65:
66: @gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width)
67:
68: g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max
69: t_height = g_height + headers_height
app/helpers/application_helper.rb:78:in `link_to_issue'
vendor/plugins/redmine_better_gantt_chart/app/helpers/issues_helper.rb:43:in `render_extended_issue_tooltip'
vendor/plugins/redmine_better_gantt_chart/app/helpers/issues_helper.rb:42:in `map'
vendor/plugins/redmine_better_gantt_chart/app/helpers/issues_helper.rb:42:in `render_extended_issue_tooltip'
lib/redmine/helpers/gantt.rb:384:in `line_for_issue'
lib/redmine/helpers/gantt.rb:222:in `render_issues'
lib/redmine/helpers/gantt.rb:220:in `each'
lib/redmine/helpers/gantt.rb:220:in `render_issues'
lib/redmine/helpers/gantt.rb:197:in `render_project'
lib/redmine/helpers/gantt.rb:166:in `render'
vendor/plugins/redmine_better_gantt_chart/app/views/gantts/show.html.erb:66
app/controllers/gantts_controller.rb:26:in `show'
app/controllers/gantts_controller.rb:25:in `show'
passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /var/www/railsapp/public/500.html (500 Internal Server Error)
-------
Versrion: 1.1.2.stable.5093 (MySQL)
Updated by Etienne Massip over 13 years ago
- Status changed from New to Closed
- Affected version (unused) deleted (
1.1.2) - Resolution set to Invalid
- Affected version deleted (
1.1.2)
Closed as a redmine_better_gantt_chart
issue.