Unable to display SprintBurnDownChart on dashboard with 0.24
The Sprint Burndown Chart does not display in version 0.24. We are receiving the following errors in the error.log.
If this is a permissions problem, can you please help use identify the file being called ?
nmsadmin@cscsydmgt04dv:/opt/tomcat/logs/kunagi-data$ tail -110 error.log
--------------------------------------------------------------------------------
Mon, 10. September 2012, 18:04 ->
FATAL AHttpServlet GET failed: scrum.server.sprint.SprintBurndownChartServlet ->
java.lang.RuntimeException: javax.imageio.IIOException: Can't create output stream!
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:118)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:95)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:80)
at scrum.server.sprint.SprintBurndownChartServlet.onRequest(SprintBurndownChartServlet.java:45)
at scrum.server.common.AHttpServlet.doGet(AHttpServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.imageio.IIOException: Can't create output stream!
at javax.imageio.ImageIO.write(Unknown Source)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:127)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:108)
at org.jfree.chart.encoders.EncoderUtil.encode(EncoderUtil.java:66)
at org.jfree.chart.ChartUtilities.encodeAsPNG(ChartUtilities.java:625)
at org.jfree.chart.ChartUtilities.writeScaledChartAsPNG(ChartUtilities.java:260)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:115)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:95)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:80)
at scrum.server.sprint.SprintBurndownChartServlet.onRequest(SprintBurndownChartServlet.java:45)
at scrum.server.common.AHttpServlet.doGet(AHttpServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.imageio.IIOException: Can't create cache file!
at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
at javax.imageio.ImageIO.write(Unknown Source)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:127)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:108)
at org.jfree.chart.encoders.EncoderUtil.encode(EncoderUtil.java:66)
at org.jfree.chart.ChartUtilities.encodeAsPNG(ChartUtilities.java:625)
at org.jfree.chart.ChartUtilities.writeScaledChartAsPNG(ChartUtilities.java:260)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:115)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:95)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:80)
at scrum.server.sprint.SprintBurndownChartServlet.onRequest(SprintBurndownChartServlet.java:45)
at scrum.server.common.AHttpServlet.doGet(AHttpServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at javax.imageio.stream.FileCacheImageOutputStream.<init>(Unknown Source)
at com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInstance(Unknown Source)
at javax.imageio.ImageIO.createImageOutputStream(Unknown Source)
at javax.imageio.ImageIO.write(Unknown Source)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:127)
at org.jfree.chart.encoders.SunPNGEncoderAdapter.encode(SunPNGEncoderAdapter.java:108)
at org.jfree.chart.encoders.EncoderUtil.encode(EncoderUtil.java:66)
at org.jfree.chart.ChartUtilities.encodeAsPNG(ChartUtilities.java:625)
at org.jfree.chart.ChartUtilities.writeScaledChartAsPNG(ChartUtilities.java:260)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:115)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:95)
at scrum.server.common.BurndownChart.writeSprintBurndownChart(BurndownChart.java:80)
at scrum.server.sprint.SprintBurndownChartServlet.onRequest(SprintBurndownChartServlet.java:45)
at scrum.server.common.AHttpServlet.doGet(AHttpServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
| app:kunagi > session:darnold28
Statement from Kunagi Team
This error is probably caused by a bad Tomcat instance configuration. To solve it, your Tomcat needs a temp
directory, where it can write to. Usualy it has to be created in $CATALINA_HOME
(Where you already have the webapps
and the conf
directory).
Status
Issue is closed.
Comments
Mon, Sep 24, 2012, 01:23 by anonymous
Thank you, temp directory was missing.
Thu, Jan 24, 2013, 21:25 by KnappIda21
--- spam comment removed by witek ---