Skip to main content



      Home
Home » Archived » BIRT » postscriptemitter
postscriptemitter [message #251965] Fri, 10 August 2007 09:35 Go to next message
Eclipse UserFriend
Hello to everyone...
I have tried many times to generate an output in postscript format but
without luck!!
In PDF, XLS,HTML,DOC run correctly....
I'm using birt-runtime-2_2_1_N20070718 and the emitter is contained
I have also tried 2_2_1_S20070727 but without success.......

Anyone has any idea?

I obtain the following error :

Please Help...


ERROR:
************************************************************ ********

INFO: Data Engine starts up
[Fatal Error] :-1:-1: Premature end of file.
10-ago-2007 15:22:51
org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der
parseConfigFile
AVVERTENZA: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(D OMParser.java:264)
at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(DocumentBuilderImpl.java:292)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseConfigFile(FontConfigReader.java:171)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseConfigFile(FontConfigReader.java:136)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseFormatRelatedConfigFile(FontConfigReader.java:124)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.g etFontManager(FontHandler.java:237)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.s etFormat(FontHandler.java:268)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.<init >(FontHandler.java:110)
at
org.eclipse.birt.report.engine.layout.pdf.font.FontSplitter. <init>(FontSplitter.java:48)
at
org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerato r. <init>(ChunkGenerator.java:34)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Composit or. <init>(PDFTextLM.java:233)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTextLM.<init>(PDFTextLM.java:91)
at
org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.handleText(PDFLayoutManagerFactory.java :210)
at
org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.visitData(PDFLayoutManagerFactory.java: 145)
at
org.eclipse.birt.report.engine.content.impl.DataContent.acce pt(DataContent.java:112)
at
org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory.createLayoutManager(PDFLayoutManagerFactory.java:71)
at
org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.hand leChild(PDFLineAreaLM.java:167)
at
org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.trav erseChildren(PDFLineAreaLM.java:150)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockContainerL M.traverseSingleChild(PDFBlockContainerLM.java:44)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTextBlockContai nerLM.traverseChildren(PDFTextBlockContainerLM.java:57)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
at
org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
at
org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
at
org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutHe ader(PDFPageLM.java:161)
at
org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initiali ze(PDFPageLM.java:83)
at
org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:116)
at
org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(P DFPageLM.java:212)
at
org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layoutReport(PDFReportLayoutEngine.java:64)
at
org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layout(PDFReportLayoutEngine.java:87)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:140)
at
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:68)
at
evega.cbo.report.document.impl.birt.BirtService.createAndRen derDocument(BirtService.java:72)
at
evega.cbo.report.document.impl.builder.DocumentBuilder.build Report(DocumentBuilder.java:84)
at
evega.cbo.report.document.impl.DocumentService.createAndRend erDocument(DocumentService.java:70)
at
evega.cbo.report.document.impl.DocumentService.createAndRend erDocument(DocumentService.java:40)
at
evega.cbo.report.sg.test.document.DocumentToast.test04TestDo cumentService(DocumentToast.java:99)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at
org.springframework.test.ConditionalTestCase.runBare(Conditi onalTestCase.java:69)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestRefer ence.run(JUnit3TestReference.java:128)
at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(Test Execution.java:38)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:460)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner.java:196)
10-ago-2007 15:22:53 org.eclipse.birt.data.engine.impl.DataEngineImpl
shutdown
INFO: Data engine shuts down
************************************************************ ***********
Re: postscriptemitter [message #254230 is a reply to message #251965] Mon, 03 September 2007 09:51 Go to previous messageGo to next message
Eclipse UserFriend
diego wrote:
> Hello to everyone...
> I have tried many times to generate an output in postscript format but
> without luck!!
> In PDF, XLS,HTML,DOC run correctly....
> I'm using birt-runtime-2_2_1_N20070718 and the emitter is contained
> I have also tried 2_2_1_S20070727 but without success.......
>
> Anyone has any idea?
>
> I obtain the following error :
>
> Please Help...
>
>
> ERROR:
> ************************************************************ ********
>
> INFO: Data Engine starts up
> [Fatal Error] :-1:-1: Premature end of file.
> 10-ago-2007 15:22:51
> org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der
> parseConfigFile
> AVVERTENZA: Premature end of file.
> org.xml.sax.SAXParseException: Premature end of file.
> at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(D OMParser.java:264)
>
> at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl. parse(DocumentBuilderImpl.java:292)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseConfigFile(FontConfigReader.java:171)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseConfigFile(FontConfigReader.java:136)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseFormatRelatedConfigFile(FontConfigReader.java:124)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.g etFontManager(FontHandler.java:237)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.s etFormat(FontHandler.java:268)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.<init >(FontHandler.java:110)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.font.FontSplitter. <init>(FontSplitter.java:48)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerato r. <init>(ChunkGenerator.java:34)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Composit or. <init>(PDFTextLM.java:233)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTextLM.<init>(PDFTextLM.java:91)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.handleText(PDFLayoutManagerFactory.java :210)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$ContentVisitor.visitData(PDFLayoutManagerFactory.java: 145)
>
> at
> org.eclipse.birt.report.engine.content.impl.DataContent.acce pt(DataContent.java:112)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory.createLayoutManager(PDFLayoutManagerFactory.java:71)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.hand leChild(PDFLineAreaLM.java:167)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.trav erseChildren(PDFLineAreaLM.java:150)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockContainerL M.traverseSingleChild(PDFBlockContainerLM.java:44)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTextBlockContai nerLM.traverseChildren(PDFTextBlockContainerLM.java:57)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFRowLM.traverseC hildren(PDFRowLM.java:88)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFTableLM.travers eChildren(PDFTableLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChildNode(PDFBlockStackingLM.java:109)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChildren(PDFBlockStackingLM.java:89)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:118)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstractLM.java:132)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutHe ader(PDFPageLM.java:161)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initiali ze(PDFPageLM.java:83)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(PDFStackingLM.java:116)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(P DFPageLM.java:212)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layoutReport(PDFReportLayoutEngine.java:64)
>
> at
> org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layout(PDFReportLayoutEngine.java:87)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:140)
>
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:68)
>
> at
> evega.cbo.report.document.impl.birt.BirtService.createAndRen derDocument(BirtService.java:72)
>
> at
> evega.cbo.report.document.impl.builder.DocumentBuilder.build Report(DocumentBuilder.java:84)
>
> at
> evega.cbo.report.document.impl.DocumentService.createAndRend erDocument(DocumentService.java:70)
>
> at
> evega.cbo.report.document.impl.DocumentService.createAndRend erDocument(DocumentService.java:40)
>
> at
> evega.cbo.report.sg.test.document.DocumentToast.test04TestDo cumentService(DocumentToast.java:99)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at
> org.springframework.test.ConditionalTestCase.runBare(Conditi onalTestCase.java:69)
>
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestRefer ence.run(JUnit3TestReference.java:128)
>
> at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(Test Execution.java:38)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:460)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner.java:196)
>
> 10-ago-2007 15:22:53 org.eclipse.birt.data.engine.impl.DataEngineImpl
> shutdown
> INFO: Data engine shuts down
> ************************************************************ ***********
>
Many Thanks
Re: postscriptemitter [message #255267 is a reply to message #251965] Thu, 13 September 2007 04:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: firstname.lastname.napa.fi

I get pretty much the same exception:

INFO: Data Engine starts up
[Fatal Error] :-1:-1: Premature end of file.
13.9.2007 11:00:11 =

org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der =

parseConfigFile
WARNING: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseCon=
figFile(FontConfigReader.java:163)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseCon=
figFile(FontConfigReader.java:128)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontConfigRea der.parseFor=
matRelatedConfigFile(FontConfigReader.java:119)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.g etFontManage=
r(FontHandler.java:230)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.s etFormat(Fon=
tHandler.java:261)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontHandler.<init >(FontHa=
ndler.java:103)
at =

org.eclipse.birt.report.engine.layout.pdf.font.FontSplitter. <init>(FontS=
plitter.java:48)
at =

org.eclipse.birt.report.engine.layout.pdf.text.ChunkGenerato r. <init>(Chu=
nkGenerator.java:34)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFTextLM$Composit or. <init>(PD=
FTextLM.java:235)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFTextLM.<init>(PDFTextLM.jav=
a:82)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$Conten=
tVisitor.handleText(PDFLayoutManagerFactory.java:217)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory$Conten=
tVisitor.visitLabel(PDFLayoutManagerFactory.java:142)
at =

org.eclipse.birt.report.engine.content.impl.LabelContent.acc ept(LabelCon=
tent.java:121)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFLayoutManagerFa ctory.create=
LayoutManager(PDFLayoutManagerFactory.java:73)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.hand leChild(PDFL=
ineAreaLM.java:167)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFLineAreaLM.trav erseChildren=
(PDFLineAreaLM.java:150)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(P=
DFStackingLM.java:118)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstra=
ctLM.java:132)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChild=
Node(PDFBlockStackingLM.java:109)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChi=
ldren(PDFBlockStackingLM.java:89)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(P=
DFStackingLM.java:118)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstra=
ctLM.java:132)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChild=
Node(PDFBlockStackingLM.java:109)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChi=
ldren(PDFBlockStackingLM.java:89)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(P=
DFStackingLM.java:118)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstra=
ctLM.java:132)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .layoutChild=
Node(PDFBlockStackingLM.java:109)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFBlockStackingLM .traverseChi=
ldren(PDFBlockStackingLM.java:89)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(P=
DFStackingLM.java:118)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFAbstractLM.layo ut(PDFAbstra=
ctLM.java:132)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layoutFo oter(PDFPage=
LM.java:179)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.initiali ze(PDFPageLM=
..java:84)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFStackingLM.layo utChildren(P=
DFStackingLM.java:116)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFPageLM.layout(P DFPageLM.jav=
a:212)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layoutRe=
port(PDFReportLayoutEngine.java:64)
at =

org.eclipse.birt.report.engine.layout.pdf.PDFReportLayoutEng ine.layout(P=
DFReportLayoutEngine.java:87)
at =

org.eclipse.birt.report.engine.api.impl.RenderTask$PageRange Render.rende=
r(RenderTask.java:501)
at =

org.eclipse.birt.report.engine.api.impl.RenderTask.render(Re nderTask.jav=
a:254)
at =

fi.napa.reporting.fortranapi.ODAPluginTestRunner.main(ODAPlu ginTestRunne=
r.java:109)
13.9.2007 11:00:13 org.eclipse.birt.data.engine.impl.DataEngineImpl =

shutdown


Any solution to this?

There didn't seem to be a bug report on this, so I filed one: =

https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D203219


Also, I tried to preview a report as postscript in BIRT RCP Designer =
- =

the resulting report was blank. (using ghostview on winxp to view it)

Has anybody been successfull in emitting postscript? Either in previe=
w =

or when embedding BIRT?


I'm using birt 2.2.0 runtime & RCP Designer.



-Antti-
Re: postscriptemitter [message #255293 is a reply to message #255267] Thu, 13 September 2007 08:17 Go to previous message
Eclipse UserFriend
Originally posted by: firstname.lastname.napa.fi

On Thu, 13 Sep 2007 11:08:55 +0300, Antti Karanta =

<firstname.lastname@napa.fi> wrote:

> Any solution to this?

Already got an answer, see the bug report if interested:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D203219

> Also, I tried to preview a report as postscript in BIRT RCP Designe=
r =

> - the resulting report was blank. (using ghostview on winxp to view it=
)

Updating from gsview 4.6 to 4.8 solved this problem.



-Antti-
Previous Topic:word doc emitter and text elements with content type html
Next Topic:Use reportContext.getMessage return bad coded text
Goto Forum:
  


Current Time: Wed May 14 09:56:18 EDT 2025

Powered by FUDForum. Page generated in 0.04450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top