Fwd: [ci-game-plugin] ci-game fails with code that uses findbugs suppresswarnings (#1)

7 views
Skip to first unread message

Mirko Friedenhagen

unread,
Jun 6, 2011, 3:02:25 PM6/6/11
to jenkin...@googlegroups.com
Hello,

another time someone reported a bug via the github issue tracker. IMO we should disable wiki and issues in the plugin projects. Doing this for one project is easy:

curl -F'login=GITHUB_USER' -F'token=GITHUB_TOKEN' https://github.com/api/v2/json/repos/show/jenkinsci/GITHUB_PROJECT -F 'values[homepage]=https://wiki.jenkins-ci.org/display/JENKINS/WIKIPAGE' -F'values[has_wiki]=false' -F'values[has_issues]=false'

Regards
Mirko

---------- Forwarded message ----------
From: depsypher <reply+i-1010923-44cc83db96ee...@reply.github.com>
Date: Mon, Jun 6, 2011 at 20:56
Subject: [ci-game-plugin] ci-game fails with code that uses findbugs suppresswarnings (#1)
To: mfried...@gmail.com


I added code that looks like this and started getting failing builds...

@edu.umd.cs.findbugs.annotations.SuppressWarnings(
       value="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE",
       justification="UGH: figure out if findbugs is really wrong about this")
public class Foo {
...
}

[ci-game] evaluating rule: Build result
[ci-game] scored: 1.0
[ci-game] evaluating rule: Increased number of failed tests
[ci-game] evaluating rule: Increased number of passed tests
[ci-game] evaluating rule: Decreased number of failed tests
[ci-game] evaluating rule: Decreased number of passed tests
[ci-game] evaluating rule: Increased number of failed tests
[ci-game] evaluating rule: Increased number of passed tests
[ci-game] evaluating rule: Decreased number of failed tests
[ci-game] evaluating rule: Decreased number of passed tests
[ci-game] evaluating rule: Open HIGH priority tasks
[ci-game] evaluating rule: Open NORMAL priority tasks
[ci-game] evaluating rule: Open LOW priority tasks
[ci-game] evaluating rule: Open HIGH priority tasks
[ci-game] evaluating rule: Open NORMAL priority tasks
[ci-game] evaluating rule: Open LOW priority tasks
[ci-game] evaluating rule: Open HIGH priority tasks
[ci-game] evaluating rule: Open NORMAL priority tasks
[ci-game] evaluating rule: Open LOW priority tasks
[ci-game] evaluating rule: PMD violation
[ci-game] evaluating rule: pylint violation
[ci-game] evaluating rule: CPD violation
[ci-game] evaluating rule: Checkstyle violation
[ci-game] evaluating rule: FindBugs violation
[ci-game] evaluating rule: FXCop violation
[ci-game] evaluating rule: Simian violation
[ci-game] evaluating rule: StyleCop violation
ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception
java.lang.NullPointerException
       at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:42)
       at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:111)
       at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60)
       at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
       at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
       at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:662)
       at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638)
       at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616)
       at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170)
       at hudson.model.Run.run(Run.java:1417)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
       at hudson.model.ResourceController.execute(ResourceController.java:88)
       at hudson.model.Executor.run(Executor.java:145)
Finished: FAILURE

--
Reply to this email directly or view it on GitHub:
https://github.com/jenkinsci/ci-game-plugin/issues/1



--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/
Reply all
Reply to author
Forward
0 new messages