-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Windows, Jenkins 2.106
When I want Jenkins to create a JIRA issue for a failed Test, I get the following FATAL error:
FATAL: org.apache.http.impl.client.cache.CacheConfig.setNeverCache1_0ResponsesWithQueryString(Z)V
java.lang.NoSuchMethodError: org.apache.http.impl.client.cache.CacheConfig.setNeverCache1_0ResponsesWithQueryString(Z)V
at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.<init>(DefaultHttpClient.java:155)
at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:53)
at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
at rocks.inspectit.releaseplugin.JIRAAccessTool.connect(JIRAAccessTool.java:185)
at rocks.inspectit.releaseplugin.JIRAAccessTool.<init>(JIRAAccessTool.java:116)
at rocks.inspectit.releaseplugin.ticketing.JIRATicketEditor.perform(JIRATicketEditor.java:72)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1727)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429
I tried to go back to 2.0.5, but it doesn't work. Is there something wrong in my configuration? On the setup page (System Configuration), I get iTask as response from JIRA when I press the button to test my credentials. So, my password seems to be correct, right?
We are using JIRA version 6.4.12.
The creation of JIRA issues out of Jenkins worked before, but I cannot tell since when it doesnt't work any more.
Hey michaelmotteler, thanks for opening the issue! Did you restart Jenkins after updating to 2.0.6? We've changed some things related to the HttpClient and I'm thinking that some classes did not get updated. Let me know if it works after a restart.