Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoCD (16.3.0) error with plugin (1.2.2) #42

Closed
callumslab opened this issue Apr 28, 2016 · 3 comments
Closed

GoCD (16.3.0) error with plugin (1.2.2) #42

callumslab opened this issue Apr 28, 2016 · 3 comments

Comments

@callumslab
Copy link

Hi Ashwanth,

As requested, I've encountered an error in GoCD when using your plugin and the above version numbers.

The error I receive in GoCD console is: Interaction with plugin with id 'slack.notifier' implementing 'notification' extension failed while requesting for 'stage-status'. Reason: [The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: '{"status":"failure"}']

My GoCD server is running on a Server 2012R2 box in AWS.

I've attached my config and logs for review.

I can't consistently replicate the issue as it only sometimes happens, usually part way through a pipeline where it will just stop sending messages to Slack.

The error of interest as you pointed out is: On April 27, "java.lang.NullPointerException at in.ashwanthkumar.gocd.slack.GoNotificationMessage.tryToFixStageResult(GoNotificationMessage.java:187)"

go-server.txt
plugin-slack.notifier.txt
go_notify.txt

Sorry for the lack of .zip, Github didn't like my .zip file.

@comanteodormihai
Copy link

Hey, i ve got the same error from time to time inside go. As above, is not a constant error, is just from time to time and only on failures.

Well done with the plugin never the less 👍

@vmpj
Copy link

vmpj commented Jun 14, 2016

My integration seems to be totally broken by this error

@kevynb
Copy link

kevynb commented Jun 22, 2016

Actually, the error happens when you a build pass on a previously failing pipeline, thus fixing the pipeline.
To reproduce the error, you need to 'help' a pipeline to fail, and then fix the pipeline. Maybe there's more because it seems the error happens because the information we have in the plugin's history varialbe is not right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants