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

Work to change from using HipChatListener to HipChatNotifier#perform has introduced UnsupportedOperationException bug #20

Closed
KolonelKustard opened this issue Nov 3, 2014 · 3 comments
Assignees
Labels

Comments

@KolonelKustard
Copy link

We've noticed that the following commit: a9782d4 appears to result in failures with the following error message:

13:38:10 ERROR: Publisher jenkins.plugins.hipchat.HipChatNotifier aborted due to exception
13:38:10 java.lang.UnsupportedOperationException
13:38:10    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:95)
13:38:10    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:59)
13:38:10    at jenkins.plugins.hipchat.HipChatNotifier.perform(HipChatNotifier.java:173)
13:38:10    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
13:38:10    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
13:38:10    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
13:38:10    at hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
13:38:10    at hudson.model.Run.execute(Run.java:1723)
13:38:10    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
13:38:10    at hudson.model.ResourceController.execute(ResourceController.java:88)
13:38:10    at hudson.model.Executor.run(Executor.java:231)
@aldaris
Copy link

aldaris commented Nov 3, 2014

Thanks for the report, will take a look. A workaround/solution could be to return true from HipChatNotifier#perform instead of calling super#perform.

@KolonelKustard
Copy link
Author

Thanks for that - we'll make that change to the fork we're working on.

KolonelKustard added a commit to bartvangeneugden/hipchat-plugin that referenced this issue Nov 3, 2014
fixing bug with implementation of BuildStep#perform (see
jenkinsci#20)
retoo added a commit to retoo/hipchat-plugin that referenced this issue Feb 2, 2015
@retoo
Copy link

retoo commented Feb 21, 2015

Fixed with #36

@aldaris aldaris added the bug label Mar 9, 2015
@aldaris aldaris self-assigned this Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants