Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error on Redmine 2.6-stable #14

Closed
fschupp opened this issue Jan 2, 2015 · 2 comments
Closed

500 error on Redmine 2.6-stable #14

fschupp opened this issue Jan 2, 2015 · 2 comments

Comments

@fschupp
Copy link

fschupp commented Jan 2, 2015

Hi, I tried out the EVM Plugin (which looks amazing in your screenshots), but on my 2.6-stable (r13818) Redmine I get a 500 error with the following stacktrace:

Started GET "/projects/csc-wsb1/evms" for 188.195.163.217 at 2015-01-03 00:26:12 +0100
Processing by EvmsController#index as HTML
Parameters: {"project_id"=>"csc-wsb1"}
Current user: fschupp (id=3)
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Kaminari::ActiveRecordModelExtension instead. (called from <top (required)> at /opt/redmine/2.6-stable/plugins/redmine_issue_evm/app/models/evmbaseline.rb:1)
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in Kaminari::ConfigurationMethods instead. (called from <top (required)> at /opt/redmine/2.6-stable/plugins/redmine_issue_evm/app/models/evmbaseline.rb:1)
Completed 500 Internal Server Error in 98.8ms

NoMethodError (undefined method /' for nil:NilClass): plugins/redmine_issue_evm/lib/evm_logic.rb:283:inissue_hours_per_day'
plugins/redmine_issue_evm/lib/evm_logic.rb:218:in block in calculate_planed_value' activerecord (3.2.21) lib/active_record/relation/delegation.rb:6:ineach'
activerecord (3.2.21) lib/active_record/relation/delegation.rb:6:in each' plugins/redmine_issue_evm/lib/evm_logic.rb:216:incalculate_planed_value'
plugins/redmine_issue_evm/lib/evm_logic.rb:12:in initialize' plugins/redmine_issue_evm/app/controllers/evms_controller.rb:27:innew'
plugins/redmine_issue_evm/app/controllers/evms_controller.rb:27:in index' actionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (3.2.21) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:in block in process_action' activesupport (3.2.21) lib/active_support/callbacks.rb:524:in_run__3518391136052565087__process_action__2568906353503994859__callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.21) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
activesupport (3.2.21) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.21) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
actionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.21) lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
actionpack (3.2.21) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.21) lib/abstract_controller/rendering.rb:45:inprocess'
actionpack (3.2.21) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.2.21) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:incall'
actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:incall'
journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:incall'
rack-openid (1.4.2) lib/rack/openid.rb:98:in call' request_store (1.0.5) lib/request_store/middleware.rb:9:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall'
rack (1.4.5) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:in call' plugins/redmine_dmsf/lib/redmine_dmsf/webdav/no_parse.rb:33:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:incontext'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in call' actionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:incall'
activerecord (3.2.21) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.21) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.21) lib/active_support/callbacks.rb:405:in_run__1890086249368659174__call__2323732647947184975__callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.21) lib/active_support/callbacks.rb:385:in_run_call_callbacks'
activesupport (3.2.21) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.21) lib/rails/rack/logger.rb:32:incall_app'
railties (3.2.21) lib/rails/rack/logger.rb:16:in block in call' activesupport (3.2.21) lib/active_support/tagged_logging.rb:22:intagged'
railties (3.2.21) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:incall'
rack (1.4.5) lib/rack/methodoverride.rb:21:in call' rack (1.4.5) lib/rack/runtime.rb:17:incall'
activesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.5) lib/rack/lock.rb:15:incall'
actionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in call' rack-cache (1.2) lib/rack/cache/context.rb:136:inforward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:inlookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in call!' rack-cache (1.2) lib/rack/cache/context.rb:51:incall'
railties (3.2.21) lib/rails/engine.rb:484:in call' railties (3.2.21) lib/rails/application.rb:231:incall'
railties (3.2.21) lib/rails/railtie/configurable.rb:30:in method_missing' passenger (4.0.46) lib/phusion_passenger/rack/thread_handler_extension.rb:74:inprocess_request'
passenger (4.0.46) lib/phusion_passenger/request_handler/thread_handler.rb:141:in accept_and_process_next_request' passenger (4.0.46) lib/phusion_passenger/request_handler/thread_handler.rb:109:inmain_loop'
passenger (4.0.46) lib/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'

I am no Ruby expert, but this seems to be pretty generic, do you have any idea? My environment:

Environment:
Redmine version 2.6.0.stable.13818
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 3.2.21
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem

Thank you!

momibun926 added a commit that referenced this issue Jan 3, 2015
When estimated times is no inputted, hours=0.0.
@momibun926
Copy link
Owner

HI, @fschupp .
It is a cause that there is no input to estimate time.
Fixed a bug , please try latest master branch.

momibun926 added a commit that referenced this issue Jan 3, 2015
@fschupp
Copy link
Author

fschupp commented Jan 3, 2015

Thank you, that fixed the issue of not being able to see anything. Than you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants