I recently upgraded from bamboo 5.9 to 6.0 and ran into a strange problem with one of the (outdated) plugins.
Here is the plugin in question: https://bitbucket.org/dehringer/bamboo-newrelic-plugin/overview
Here is the stack trace: https://pastebin.com/hxBJt3NH
After much tinkering this is what I found:
- This only fails on remote agents (windows and linux). Local agents, the plugin works fine.
- Prior to the upgrade, the plugin had a similar, but funcational result. getNameForSentence() function on a TriggerReason object would return 'null' as a string, but not a null pointer.
- getNameForSentence() function on a TriggerReason object returns a null pointer (obvious from the stack strace). However, getName() and getKey() work just fine
- getNameForSentence() returns a string along the lines of "was <trigger type or reason> by <user name>".
Given I can't see the source (that I know of), I don't know what other information/attributes/methods getNameForSentence() is trying to use, and failing just on the remote agents. If I had to guess, based on the result string, the user that triggered the event is unavailable to the remote agent.
I recommend to report this issue in the add-on's public issue tracker at Bamboo New Relic Plugin - the add-on's author David Ehringer used to be fairly diligent in keeping his high quality add-ons up to date, but for a new release with breaking changes it can take a couple of weeks of course.
As for looking at the source, you already linked bitbucket.org/dehringer/bamboo-newrelic-plugin yourself, and the Bamboo source code is available for customers with an active maintenance status, see Do I get access to the source code? - you can download the source from the Licenses section on the my.atlassian.com page.
Steffen, there hasn't been a relase of this plugin in over a year. The issues tracker hasn't had any thing for several years. I've requested several times to have an update to this plugin over the last year.
My issue, however, is not with the plugin maintainer, but with remote plugin's functionality being different. The information I provided is because I *already* have the plugin source. What I don't have is bamboo's source, which is where the problem lies.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events