-
Bug
-
Resolution: Fixed
-
Major
I am experiencing Internal Server Errors due to NullPointerException when triggering Git Plugin onNotifyCommit through the "Bitbucket Git Notify Commit" Hook Plugin.
I am using Git Plugin 2.0.3 and the Error occurs on Line 271 of https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitStatus.java
The offending Code was introduced into Jenkins Git Plugin in commit https://github.com/jenkinsci/git-plugin/commit/ec521564afcca7069403d48e51591f0251c0f98b
I believe this is an error in the Git Plugin since the Hook was still working in 2.0.1 and the trigger.run() method omits a NullPointer check, while this is done for other uses of trigger in the same method.
- is duplicated by
-
JENKINS-22003 Null pointer on notifyCommit
-
- Closed
-