Hello,
I have following error. When I try to add the 'Recently Created Chart' gadget to the dashboard, I receive the 'An internal server error occurred when requesting resource.' error message. The atlassian-jira.log prints following error (I masked the IP with 00.000.000.000).
Additional information:
- I have already tried to reindex the whole instance, but nothing changes.
- Some other gadgets doesn't work neither (e.g. Workload Pi Chart).
- Others work (Bubble Chart), so it's not a problem with gadgets or charts in general.
- The filter is ok (it only points to a project) and I have tried several other filters and projects, too.
- The gadgets are locale ones.
- The system health check is completely green
- It's a clients system, so I can't easily reboot Jira
2020-09-11 10:35:25,604 http-nio-127.0.0.1-8080-exec-20501 ERROR admin 635x3985282x109 16d0xch 00.000.000.000,127.0.0.1 /rest/gadget/1.0/recentlyCreated/generate [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: java.io.IOException: Stream closedjava.lang.InternalError: java.io.IOException: Stream closed at sun.util.locale.provider.BreakIteratorProviderImpl.getBreakInstance(BreakIteratorProviderImpl.java:178) at sun.util.locale.provider.BreakIteratorProviderImpl.getLineInstance(BreakIteratorProviderImpl.java:106) at java.text.BreakIterator.createBreakInstance(BreakIterator.java:571) at java.text.BreakIterator.createBreakInstance(BreakIterator.java:553) at java.text.BreakIterator.getBreakInstance(BreakIterator.java:544) at java.text.BreakIterator.getLineInstance(BreakIterator.java:483) at java.text.BreakIterator.getLineInstance(BreakIterator.java:470) at org.jfree.text.TextUtilities.createTextBlock(TextUtilities.java:220) at org.jfree.chart.axis.CategoryAxis.createLabel(CategoryAxis.java:1247) at org.jfree.chart.axis.CategoryAxis.refreshTicks(CategoryAxis.java:1144) at org.jfree.chart.axis.CategoryAxis.reserveSpace(CategoryAxis.java:861) at org.jfree.chart.plot.CategoryPlot.calculateDomainAxisSpace(CategoryPlot.java:3399) at org.jfree.chart.plot.CategoryPlot.calculateAxisSpace(CategoryPlot.java:3466) at org.jfree.chart.plot.CategoryPlot.draw(CategoryPlot.java:3510) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1235) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1409) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1389) at com.atlassian.jira.charts.jfreechart.ChartHelper.createChartImageInline(ChartHelper.java:117) at com.atlassian.jira.charts.jfreechart.ChartHelper.generateInline(ChartHelper.java:84) at com.atlassian.jira.charts.RecentlyCreatedChart.generateChartInternal(RecentlyCreatedChart.java:159) at com.atlassian.jira.charts.RecentlyCreatedChart.generateInlineChart(RecentlyCreatedChart.java:80) at com.atlassian.jira.charts.DefaultChartFactory.generateRecentlyCreated(DefaultChartFactory.java:99) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy29.generateRecentlyCreated(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:136) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy3140.generateRecentlyCreated(Unknown Source) at com.atlassian.jira.gadgets.system.RecentlyCreatedChartResource.generateChart(RecentlyCreatedChartResource.java:120) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) ... 19 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69) ... 36 filtered at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:37) ... 4 filtered at com.atlassian.jira.plugin.mobile.login.MobileLoginSuccessFilter.doFilter(MobileLoginSuccessFilter.java:54) ... 3 filtered at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55) ... 8 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 61 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 19 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 10 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 4 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) ... 7 filtered at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:239) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:215) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88) at net.bull.javamelody.JiraMonitoringFilter.doFilter(JiraMonitoringFilter.java:137) ... 22 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 25 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)Caused by: java.io.IOException: Stream closed at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at java.io.FilterInputStream.read(FilterInputStream.java:107) at sun.util.locale.provider.RuleBasedBreakIterator.readTables(RuleBasedBreakIterator.java:375) at sun.util.locale.provider.RuleBasedBreakIterator.<init>(RuleBasedBreakIterator.java:321) at sun.util.locale.provider.BreakIteratorProviderImpl.getBreakInstance(BreakIteratorProviderImpl.java:169) ... 307 more
