Hiroshi SAKURAI
2007-Apr-05 13:43 UTC
[Cruisecontrolrb-users] error building project with no commit
Hi, When I try to build a project that has no commit, I get following error. [error] undefined method `number'' for nil:NilClass [error] undefined method `number'' for nil:NilClass Build loop failed RuntimeError: Errors in plugins: ProjectLogger: undefined method `number'' for nil:NilClass MinimalConsoleLogger: undefined method `number'' for nil:NilClass ./script/../config/../script/../config/../app/models/project.rb:318:in `notify'' ./script/../config/../script/../config/../app/models/project.rb:204:in `build_if_necessary'' ./script/../config/../script/../config/../app/models/polling_scheduler.rb:13:in `run'' ./script/../config/../script/builder:82 ./script/../config/../script/builder:81 script/../config/../cruise:14:in `builder'' script/../config/../cruise:66 After I commit revision 1, CC works and emits no error. New revision 1 detected Build 1 started Build 1 FAILED I think it''d be better CC handles repository with no commit properly. Thanks. -- Hiroshi SAKURAI http://vimrc.hp.infoseek.co.jp/