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

Error - Failed to start build runner #12

Open
jonmaxey opened this issue Apr 10, 2014 · 9 comments
Open

Error - Failed to start build runner #12

jonmaxey opened this issue Apr 10, 2014 · 9 comments

Comments

@jonmaxey
Copy link

When trying to use JIRA Reporter I get the following in the build log:

[Step 29/29] Failed to start build runner 'jirareporter'
[15:26:13]
[Step 29/29] java.lang.NullPointerException
at com.amirov.jirareporter.Reporter.report(Reporter.java:39)
at com.amirov.jirareporter.JIRABuildProcess.start(JIRABuildProcess.java:65)
at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:58)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:43)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:25)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeRunnerStep(ForEachBuildRunnerStage.java:138)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.runStep(ForEachBuildRunnerStage.java:123)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeBuildRunners(ForEachBuildRunnerStage.java:83)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:44)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)
at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70)
at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:263)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:50)
at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:236)
at java.lang.Thread.run(Unknown Source)

This is using TeamCity 8.1.1 and JIRA 5.1

@nickpal
Copy link

nickpal commented Jun 9, 2014

Also getting this using TeamCity 8.1. JIRA hosted so I am assuming latest.

@mvantassel1
Copy link

Hi, I am getting a similar exception using TeamCity 8.1.2 and JIRA 6.4. See stack trace below. Please let me know if you have any ideas. Thanks.

[Step 2/2] java.lang.NullPointerException
at com.amirov.jirareporter.teamcity.TeamCityXMLParser.parseXML(TeamCityXMLParser.java:66)
at com.amirov.jirareporter.teamcity.TeamCityXMLParser.(TeamCityXMLParser.java:42)
at com.amirov.jirareporter.Reporter.(Reporter.java:30)
at com.amirov.jirareporter.JIRABuildProcess.start(JIRABuildProcess.java:47)
at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:58)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)
at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:43)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:25)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeRunnerStep(ForEachBuildRunnerStage.java:138)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.runStep(ForEachBuildRunnerStage.java:123)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeBuildRunners(ForEachBuildRunnerStage.java:83)
at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:44)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78)
at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37)
at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)
at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70)
at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:265)
at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:52)
at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:231)
at java.lang.Thread.run(Thread.java:744)

@automatelife
Copy link

Also seeing the same in TC 8.1.5 :(

@bexie
Copy link

bexie commented Jul 20, 2015

Any update? seeing the same in TC 8.1.5 :(

@sreddy70
Copy link

I had to create an utility (triggered by the CI system) that would make the necessary call(s) to update Jira to get around this failure.

@bexie
Copy link

bexie commented Jul 21, 2015

Thank you:) and looking forward to the update:)

@cuzkey
Copy link

cuzkey commented Sep 2, 2015

@sreddy70 , a utility? can you elaborate? are you saying you aren't using the plugin anymore, but wrote something to do the job in the meantime while this is being fixed?

@sreddy70
Copy link

sreddy70 commented Sep 3, 2015

That is correct. Not using the plugin and the utility does the job.

-----cuzkey notifications@github.com wrote: -----

=======================
To: mamirov/jirareporter jirareporter@noreply.github.com
From: cuzkey notifications@github.com
Date: "09-02-2015" "09:39PM"
Cc: Sankalp Reddy/IND/CSC@CSC
Subject: Re: [jirareporter] Error - Failed to start build runner (#12)

@sreddy70 , a utility? can you elaborate? are you saying you aren't using the plugin anymore, but wrote something to do the job in the meantime while this is being fixed?


Reply to this email directly or view it on GitHub:
#12 (comment)

@hasanq789
Copy link

@sreddy70 Would it be possible to share the utility you wrote? I was also having a hard time getting this configured.

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

8 participants