[ http://jira.codehaus.org/browse/MPPDF-46?page=all ]
Lukas Theussl closed MPPDF-46:
------------------------------
Resolution: Won't Fix
> Cannot generate PDF - [ERROR] Premature end of file
> ---------------------------------------------------
>
> Key: MPPDF-46
> URL: http://jira.codehaus.org/browse/MPPDF-46
> Project: maven-pdf-plugin
> Type: Bug
> Versions: 2.4
> Environment: W2K, Maven 1.02
> Reporter: Stefan Undorf
> Attachments: 1.5.1jira.zip
>
>
> Hello,
> trying to generate the PDF output leads to the error below. I attach a zip
> file. You can reproduce the errer when you call first "maven site" and then
> "maven pdf". Thanks for any help.
> Stefan
> --- snip ---
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
> build:start:
> xdoc:init:
> pdf:init:
> [echo]
> ### Debug mode is on ###
> ==============================
> === xdoc plugin properties ===
> ==============================
> maven.docs.src = [testapp\1.5.1/xdocs]
> maven.docs.dest = [testapp\1.5.1/target/docs]
> maven.gen.docs = [testapp\1.5.1/target/generated-xdocs]
> maven.xdoc.date.format = [dd MMMM yyyy]
> maven.xdoc.date.locale = [en]
> ==============================
> === pdf plugin properties ===
> ==============================
> maven.pdf.confidential = [false]
> maven.pdf.paperType = [A4]
> maven.pdf.companyIncName = [SUNCOM]
> maven.pdf.copyrightYear = []
> maven.pdf.imageDpi = [72]
> maven.pdf.debug = [true]
> maven.pdf.navigationFile = [navigation_pdf.xml]
> maven.pdf.navigationFilePath = [testapp\1.5.1/xdocs]
> maven.pdf.pdfName = [TestApp.pdf]
> maven.pdf.cover.projectCompany = [SUNCOM]
> maven.pdf.cover.projectName = [TestApp]
> maven.pdf.cover.type = [Project Documentation]
> maven.pdf.cover.version = [1.5.1]
> maven.pdf.cover.date = [17 September 2005]
> maven.pdf.projectLogo = []
> maven.pdf.companyLogo = [logo.jpg]
> maven.jar.jimi = []
> maven.jar.jaicore = []
> maven.jar.jaicodec = []
> ==============================
> === pdf internal variables ===
> ==============================
> internal_pdf_workingDir = [testapp\1.5.1/target/pdf]
> java_version = [1.4]
> maven_version = [1.0.2]
>
> pdf:prepare:
> [copy] Copying 16 files to testapp\1.5.1\target\pdf
> [copy] Copying 7 files to testapp\1.5.1\target\pdf
> [copy] Copying 180 files to testapp\1.5.1\target\pdf
> [copy] Copying 7 files to testapp\1.5.1\target\pdf
> fo:fo:
> [echo] Generating testapp\1.5.1/target/pdf/project.fo from
> testapp\1.5.1/xdocs/navigation_pdf.xml ...
> [java] Ungültige Option: imageDpi
> [java] Ungültige Option: 72
> [java]
> pdf:pdf:
> [echo] Generating testapp\1.5.1/target/pdf/TestApp.pdf ...
> [echo] Config file: testapp\1.5.1/target/pdf/userconfig.xml
> [java] [DEBUG] Input mode:
> [java] [DEBUG] FO
> [java] [DEBUG] fo input file: testapp\1.5.1\target\pdf\project.fo
> [java] [DEBUG] Output mode:
> [java] [DEBUG] pdf
> [java] [DEBUG] output file: testapp\1.5.1\target\pdf\TestApp.pdf
> [java] [DEBUG] OPTIONS
> [java] [DEBUG] user configuration file:
> testapp\1.5.1\target\pdf\userconfig.xml
> [java] [DEBUG] debug mode on
> [java] [DEBUG] dump configuration
> [java] [DEBUG] quiet mode on
> [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [java] [INFO] base directory:
> file:/C:/daten/suncom/proj/imcNetworks/TestApp/corporate_audit/1.5.1/target/pdf/
> [java] [INFO] FOP 0.20.5
> [java] [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [java] [INFO] building formatting object tree
> [java] [INFO] setting up fonts
> [java] [INFO] Parsing of document complete, stopping renderer
> [java] [DEBUG] Initial heap size: 377Kb
> [java] [DEBUG] Current heap size: 734Kb
> [java] [DEBUG] Total memory used: 356Kb
> [java] [DEBUG] Memory use is indicative; no GC was performed
> [java] [DEBUG] These figures should not be used comparatively
> [java] [DEBUG] Total time used: 40ms
> [java] [DEBUG] Pages rendered: 0
> [java] [Fatal Error] :-1:-1: Premature end of file.
> [java] [ERROR] Premature end of file.
> [java] org.apache.fop.apps.FOPException: Premature end of file.
> [java] at org.apache.fop.apps.Driver.render(Driver.java:503)
> [java] at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
> [java] at org.apache.fop.apps.Fop.main(Fop.java:62)
> [java]
> [java] ---------
> [java]
> [java] org.xml.sax.SAXParseException: Premature end of file.
> [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> [java] at org.apache.fop.apps.Driver.render(Driver.java:498)
> [java] at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
> [java] at org.apache.fop.apps.Fop.main(Fop.java:62)
> [java]
> [java] ---------
> [java]
> [java] org.xml.sax.SAXParseException: Premature end of file.
> [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> [java] at org.apache.fop.apps.Driver.render(Driver.java:498)
> [java] at
> org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
> [java] at org.apache.fop.apps.Fop.main(Fop.java:62)
> [java] [ERROR] Java Result: 2
> Total time: 4 seconds
> Finished at: Sat Sep 17 09:37:34 GMT+01:00 2005
> --- snip ---
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]