-
Notifications
You must be signed in to change notification settings - Fork 42
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `find' for nil:NilClass #21
Comments
From the line with the error, looks looks related with parametrization. Are you using in any of your rdiffweb* repos a parametrized branch name? |
I've recently create a new project with parameters, but it's not related to Also, none of the repo listed in the logs is parametrized. |
In any case, the fix I propose should work. Can you test it? |
ha ha, just to make sure, I've double-check each project configuration. One of them was parameterized, but without a parameter :S. Anyway, I've fix the configuration and it's working again. |
Thanks for you help and time ! |
Could you explain me what change did you perform in the job? When trying to issue a warning for a case like yours, I've realized that a project without parameters should never reach the line with your exception, because the protection I wanted to introduce was already there. |
Forget my question. Looking again I see the issue now. At one place it checks if project is parametrized, that it does not mean that it has any parameter, which is the error reason. Now that I've seen it, I'll fix it and issue a warning to logfile |
Hi what's the environment variable mean the branche name it is ${branch} |
This problem seams to happen after an upgrade in Jenkins or Gitlab. I don't know which one since I didn't track the upgrade. My mistake.
See log in attachment.
jenkins.txt
GitLab Community Edition 8.4.0 1b1c0ba
Jenkins ver. 1.644
Gitlab Hook Plugin 1.4.1.1
Thanks for help
The text was updated successfully, but these errors were encountered: