Bug 417640 - the temp files in var/tmp are not cleaned up in case of error
Summary: the temp files in var/tmp are not cleaned up in case of error
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 4.3.0   Edit
Hardware: Sun Solaris
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Birt-Data-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 15:47 EDT by sughandh singhvi CLA
Modified: 2013-09-26 20:03 EDT (History)
1 user (show)

See Also:


Attachments
list of files remaining (20.42 KB, text/plain)
2013-09-19 15:47 EDT, sughandh singhvi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description sughandh singhvi CLA 2013-09-19 15:47:40 EDT
Created attachment 235642 [details]
list of files remaining

we are using birt-runtime-4_3_0. in case we are having any exception or error, the temp files created with Basic* are not getting cleaned up from /var/tmp

machine
SunOS
Release = 5.10
KernelID = Generic_147440-15

below is the exception we got while running the report. attached is the list of temporary BasicFiles which were not cleaned up. please help.

013_09192013143622.xlsx
Sep 19, 2013 2:36:30 PM uk.co.spudsoft.birt.emitters.excel.framework.Logger info
INFO: start:org.eclipse.birt.report.engine.content.impl.ReportContent@54e9a7c2
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
        at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2377)
        at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
        at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
        at amdocs.RunSingleReport.executeReport(RunSingleReport.java:130)
        at amdocs.RunSingleReport.main(RunSingleReport.java:169)
Caused by: java.lang.InternalError: Can't connect to X11 window server using '' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
        at sun.font.FontManager.initSGEnv(FontManager.java:1307)
        at sun.font.FontManager.findFont2D(FontManager.java:1984)
        at java.awt.Font.getFont2D(Font.java:455)
        at java.awt.Font.defaultLineMetrics(Font.java:2046)
        at java.awt.Font.getLineMetrics(Font.java:2153)
        at java.awt.font.TextMeasurer.initAll(TextMeasurer.java:218)
        at java.awt.font.TextMeasurer.<init>(TextMeasurer.java:150)
        at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:292)
        at java.awt.font.LineBreakMeasurer.<init>(LineBreakMeasurer.java:259)
        at uk.co.spudsoft.birt.emitters.excel.StyleManagerUtils.calculateTextHeightPoints(StyleManagerUtils.java:769)
        at uk.co.spudsoft.birt.emitters.excel.handlers.CellContentHandler.endCellContent(CellContentHandler.java:238)
        at uk.co.spudsoft.birt.emitters.excel.handlers.AbstractRealTableCellHandler.interruptCell(AbstractRealTableCellHandler.java:136)
        at uk.co.spudsoft.birt.emitters.excel.handlers.AbstractRealTableCellHandler.endCell(AbstractRealTableCellHandler.java:89)
        at uk.co.spudsoft.birt.emitters.excel.ExcelEmitter.endCell(ExcelEmitter.java:337)
        at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.endCell(CompositeContentEmitter.java:1

please suggest some wa if any since if we do rerun from some other user those rerun fails.

thanks