Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Just updated from JIRA 7.4 to 7.13 on CentOS system.
The Workload Pie Chart now breaks for everyone with the below.
It's looking for a font config file?
Any clues appreciated.
(removed) https-jsse-nio-8443-exec-24 ERROR USER 558x4839x1 1cq7c8j 127.0.0.1 /rest/chartplugin/1.0/workloadpie/generate [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null java.lang.NullPointerException at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264) at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219) at sun.awt.FontConfiguration.init(FontConfiguration.java:107) at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774) at sun.font.SunFontManager$2.run(SunFontManager.java:431) at java.security.AccessController.doPrivileged(Native Method) at sun.font.SunFontManager.<init>(SunFontManager.java:376) at sun.awt.FcFontManager.<init>(FcFontManager.java:35) at sun.awt.X11FontManager.<init>(X11FontManager.java:57) ... 2 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83) at java.security.AccessController.doPrivileged(Native Method) at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74) at sun.font.SunFontManager.getInstance(SunFontManager.java:250) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264) at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:855) at org.jfree.text.G2TextMeasurer.getStringWidth(G2TextMeasurer.java:79) at org.jfree.text.TextUtilities.nextLineBreak(TextUtilities.java:285) at org.jfree.text.TextUtilities.createTextBlock(TextUtilities.java:226) at org.jfree.text.TextUtilities.createTextBlock(TextUtilities.java:197) at org.jfree.chart.plot.PiePlot.drawLeftLabels(PiePlot.java:2823) at org.jfree.chart.plot.PiePlot.drawLabels(PiePlot.java:2791) at org.jfree.chart.plot.PiePlot.drawPie(PiePlot.java:2529) at org.jfree.chart.plot.PiePlot.draw(PiePlot.java:2391) 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:126) at com.atlassian.jira.charts.jfreechart.ChartHelper.generateInline(ChartHelper.java:85) at com.atlassian.jira.ext.charting.gadgets.charts.WorkloadPieChart.generateInternal(WorkloadPieChart.java:191) at com.atlassian.jira.ext.charting.gadgets.charts.WorkloadPieChart.generateInline(WorkloadPieChart.java:99) at com.atlassian.jira.ext.charting.gadgets.WorkloadPieChartResource.generate(WorkloadPieChartResource.java:122) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) ... 19 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) ... 41 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 53 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) ... 26 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 24 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)
I found a very similar error in a related thread of https://community.atlassian.com/t5/Jira-Software-questions/Error-500-when-generating-charts-after-upgrading-from-7-6-3-to-7/qaq-p/739967
In that case, the user found that his system was using a different JDK. Jira 7.13 is the first version to provide support for openjdk in addition to the previously supported Oracle JDK/JRE versions of Java. More details in the Supported platforms doc.
I'd recommend using either of the supported versions of Java for that version to avoid this specific error.
Thank you.
We did shift from the Oracle JDK to the AdoptOpenJDK which is referenced as supported. We do not plan to continue on the Oracle JDK, so we need to find a solution.
In your referenced thread, it suggested to review the installation for font ttf-dejavu and I'll pursue and provide update. Let me know if you have any other ideas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sarah Baker , We have faced with same issue during upgrade from 7.5.3 to 8.2.1 and change jdk to openJDK 11.
Could you tell me please which font packages did your team installed and where can i find them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was fixed by installing all available fonts
yum groupinstall fonts
as well as a list of fonts given on https://confluence.atlassian.com/jirakb/fonts-displayed-incorrect-in-gadgets-and-database-monitoring-graph-938041773.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.