Weird error on a freshly created Subversion repository with no checkins
Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:48 PM | in 1.2
Hiroshi SAKURAI to cruisecontrolrb-users: 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.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป