Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
R3.5.1
-
None
-
None
Description
Error 500 NoSuchMethodError when uploading JSON results through Jenkins with Jira 8.4.
java.lang.NoSuchMethodError: com.atlassian.jira.rest.v2.issue.FieldMetaBean.<init>(ZLjava/lang/Boolean;Lcom/atlassian/jira/issue/fields/rest/json/JsonType;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;)V at com.xpandit.raven.rest.internal.jira.AbstractMetaFieldBeanBuilder.a(Unknown Source) at com.xpandit.raven.rest.internal.jira.AbstractMetaFieldBeanBuilder.build(Unknown Source) at com.xpandit.raven.rest.internal.jira.CreateMetaFieldBeanBuilder.build(Unknown Source) at com.xpandit.raven.rest.internal.jira.a.a(Unknown Source) at com.xpandit.raven.rest.internal.jira.a.a(Unknown Source) at com.xpandit.raven.rest.internal.jira.a.a(Unknown Source) at com.xpandit.raven.rest.internal.jira.IssueInputParametersAssembler.makeCreateAssembler(Unknown Source) at com.xpandit.raven.service.executionresult.impl.ExecutionResultImportServiceImpl.b(Unknown Source) at com.xpandit.raven.service.executionresult.impl.ExecutionResultImportServiceImpl.a(Unknown Source) at com.xpandit.raven.rest.internal.b.a.b(Unknown Source) at sun.reflect.GeneratedMethodAccessor5379.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) (...)
Â
Version 8.4.0 introduced some other changes that we also need to address, such as:
- ResolutionBean now receives a JiraBaseUrls instead of a UriInfo. Changes implemented on AbstractMetaFieldBeanBuilder.getAllowedValueBeans;
- ServletRequest getParameterMap now returns a Map instead of a Map<String, String []>. Start to use getParameterValues(key);
- getContextPath() from ServletContext was removed.