java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Deep Storage :Local
    via by Nick,
  • h3. Summary After upgrading to JIRA 7.1.2 Creating issue from Confluence not working when linked to epic h3. Steps to Reproduce In Confluence select text and use the create issue in JIRA icon Ensure that the checkbox 'link to epic' is checked h3. Expected Results That the issue is created in JIRA h3. Actual Results Create issue icon keeps spinning and the issue is not created in JIRA. The below exception is thrown in the xxxxxxx.log file: {noformat} 2016-03-28 16:48:59,642 http-nio-8080-exec-14 ERROR schristopher 1008x1723x1 5lpyr4 127.0.0.1 /rest/api/2/issue/bulk [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192) ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39) ... 15 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 91 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 15 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 22 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:169) at com.atlassian.servicedesk.internal.util.scala.ScalaJavaInterOp$1.apply(ScalaJavaInterOp.java:25) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil$.outOfCustomerContext(CustomerContextUtil.scala:48) at com.atlassian.servicedesk.internal.utils.context.CustomerContextUtil.outOfCustomerContext(CustomerContextUtil.scala) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:24) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:164) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:120) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:112) ... 55 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.atlassian.greenhopper.service.issuelink.EpicServiceImpl.addIssuesToEpic(EpicServiceImpl.java:90) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.update(EpicLinkRestFieldOperationsHandler.java:104) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.handleOperation(EpicLinkRestFieldOperationsHandler.java:76) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.updateIssueInputParameters(EpicLinkRestFieldOperationsHandler.java:64) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:428) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssembler(IssueInputParametersAssembler.java:131) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssemblers(IssueInputParametersAssembler.java:138) at com.atlassian.jira.rest.v2.issue.CreateIssueResource.createIssues(CreateIssueResource.java:77) at com.atlassian.jira.rest.v2.issue.IssueResource.createIssues(IssueResource.java:624) ... 227 more {noformat} h3. Notes This was previously reported as a Confluence bug here: https://jira.atlassian.com/browse/CONF-41160 Further testing though suggests that this is in fact a JIRA bug. Customer on ticket GHS-37438 experienced this issue after upgrading from JIRA 7.0 to 7.1.2 while Confluence was on 5.8.13. I tested this myself by installing Confluence 5.7.6 and testing and was able to replicate the problem while connected to JIRA 7.1.2 Tested as well with Confluence 5.7.6 and JIRA 7.0 and was not able to replicate. h3.Workaround No observed workaround at this time.
    via by Scott Christopher [Atlassian],
  • h3. Summary JIRA returns a 500 internal server error when a user tries to create an issue with an Epic Link via REST API (/rest/api/2/issue). The problem happens on JIRA Software 7.1.1 and 7.1.2 while it does not on 7.1.0. h3. Steps to Reproduce # Install fresh JIRA Software 7.1.1 # Create a new "Scrum software development" project # Create an Epic # Try to create a new issue with an Epic Link, which result in getting a 500 internal server error. h3. Expected Results A new issue with an Epic Link is successfully created h3. Actual Results Cannot create a new issue with an Epic Link, but get result in getting a 500 internal server error. This is the sample REST API request and response: {code} $ curl -D- -u <UserID>:<Password> -X POST --data '{"fields": { "project": { "key": "<Project_key>" }, "summary": "summary", "<Custom_field_id_of_epic_link>":"<issue_key_of_the_epic>", "description": "desc", "issuetype": { "name": "Bug" } } }}' -H "Content-Type: application/json" http://<BaseUrl>/rest/api/2/issue/ HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 X-AREQUESTID: 1021x404x1 X-ASEN: SEN-L6611168 Set-Cookie: JSESSIONID=5AECDF4D14DF1339B043124A438FFD02; Path=/XXXXX/; HttpOnly X-Seraph-LoginReason: OK Set-Cookie: atlassian.xsrf.token=B4DH-TUMF-DLE1-9O5A|1236334174851d430b6b6e29d58f90203a3019cd|lin; Path=/XXXXX X-ASESSIONID: 1w1ggyp X-AUSERNAME: <UserID> Cache-Control: no-cache, no-store, no-transform X-Content-Type-Options: nosniff Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 22 Mar 2016 08:01:48 GMT Connection: close {"errorMessages":["Internal server error"],"errors":{}} {code} And the following error is logged in atlassian-jira.log {noformat} 2016-03-22 16:47:46,842 http-nio-17101-exec-21 ERROR admin 1007x400x1 13ytstb 0:0:0:0:0:0:0:1 /rest/api/2/issue/ [c.a.j.rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192) ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39) ... 14 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 86 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 15 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 74 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.atlassian.greenhopper.service.issuelink.EpicServiceImpl.addIssuesToEpic(EpicServiceImpl.java:90) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.update(EpicLinkRestFieldOperationsHandler.java:104) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.handleOperation(EpicLinkRestFieldOperationsHandler.java:76) at com.atlassian.greenhopper.customfield.epiclink.EpicLinkRestFieldOperationsHandler.updateIssueInputParameters(EpicLinkRestFieldOperationsHandler.java:64) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:428) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeCreateAssembler(IssueInputParametersAssembler.java:131) at com.atlassian.jira.rest.v2.issue.CreateIssueResource.createIssue(CreateIssueResource.java:49) at com.atlassian.jira.rest.v2.issue.IssueResource.createIssue(IssueResource.java:596) ... 210 more {noformat} h3.Workaround There is no workaround found so far.
    via by Mai Nakagawa [Atlassian],
    • java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.google.common.base.Throwables.propagate(Throwables.java:160)[guava-16.0.1.jar:?] at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:204)[druid-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.common.task.HadoopIndexTask.run(HadoopIndexTask.java:208)[druid-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:436)[druid-indexing-service-0.9.1.1.jar:0.9.1.1] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:408)[druid-indexing-service-0.9.1.1.jar:0.9.1.1] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_92] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_92] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_92] Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_92] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_92] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_92] at java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_92] at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:201)[druid-indexing-service-0.9.1.1.jar:0.9.1.1] ... 7 more

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    aldrinleal
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    110 more bugmates