Closed kchawlaSP closed 5 years ago
Error calling com.ngs.stash.externalhooks.hook.ExternalMergeCheckHook.preUpdate (com.ngs.stash.externalhooks.external-hooks:external-merge-check-hook)
java.lang.NullPointerException: summaryMessage
at java.util.Objects.requireNonNull(Objects.java:228)
at com.atlassian.bitbucket.hook.repository.SimpleRepositoryHookVeto.
@kchawlaSP: hello!
Thanks for bug report. I will take a look in a day and will try to reproduce problem on my local setup.
@seletskiy, thanks.
I am also able to reproduce this with my script and not committing a special file (merge check should pass).
Looking forward to your response
@kchawlaSP: I tested it out on my local setup using Bitbucket 5.14.1 & External Hooks 4.5-1 and unable to reproduce the problem.
Can you share: a) your merge check script; b) Merge Check settings (in Bitbucket interface).
Also if it's viable, I'm open for having a call to see what the problem is. If you want to schedule a call, just drop me a line on my e-mail (s.seletskiy@gmail.com).
@seletskiy Would you mind sharing your merge check script so I can see if I can reproduce it with your script. If I can't reproduce with your script then there is probably something going on with my script (but it works on the older version).
@seletskiy Sorry, that was my mistake in my pull request features-PR. Fixed it in #73
@kchawlaSP: Thanks to @dploeger this problem should be gone. Can you try to use latest (4.5-2) version of plugin from marketplace?
Thank @dploeger and @seletskiy its working now!
Bitbucket Server version: 5.14.1 External Hooks plugin version: 4.5-1
Hi,
I upgraded Bitbucket Server from 5.11.1 to 5.14.1 and upgraded the plugin from 4.4-1 to 4.5-1.
After upgrading, I have a script setup to not allow a merge if a "special" file has changes. I update the special file and make the pull request. I am given an error.
I go ahead and modify the commit to remove the special file changes.
I am still unable to merge.
I see the following Error
Index: 0