RE: [Error] null
> -Original Message- > From: Agar, Robert [mailto:[EMAIL PROTECTED] > Hi Rob, > ... tracked down the error to a null pointer exception at > org.apache.fop.fo.pagination.PageSequence.(PageSequence.java > :173), caused by the fo:layout-master-set element being missing. > Well, it's not of much use right now, but in the current development version, the reporting of such errors is greatly improved. Something to look forward to :-) Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Error] null
Andreas: > A couple of hints: > > 1. try running FOP with the '-d' command line switch. This > should give you > more information, maybe even more helpful :-) ... tracked down the error to a null pointer exception at org.apache.fop.fo.pagination.PageSequence.(PageSequence.java:173), caused by the fo:layout-master-set element being missing. thanks very much Andreas! Rob ** This message is sent in strict confidence for the addressee only. It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. This footnote also confirms that this email message has been swept for the presence of computer viruses, however we cannot guarantee that this message is free from such problems. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Error] null
> -Original Message- > From: Agar, Robert [mailto:[EMAIL PROTECTED] > Hi Rob, > I'm getting this rather less than helpful error message: A couple of hints: 1. try running FOP with the '-d' command line switch. This should give you more information, maybe even more helpful :-) 2. if the error still isn't obvious, try running the transformation standalone (i.e. first run the XSL transform, using the supplied xalan.bat to produce the FO). This will fail if the problem is in the stylesheet (so not really a FOP error...) And if after these two steps the error still persists, please attach the FO file (not XML + XSLT, but the result of the transformation in step 2), and we'll take a look at it. Hope this helps! Greetz, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Error] null
hi all I'm getting this rather less than helpful error message: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [ERROR] null In the list achives there's mention of this being caused by block-container elements that are not the direct children of fo:flow, but that's not the case as the xsl-fo doesn't include any block-container elements. Any thoughts anyone? thanks Rob ** This message is sent in strict confidence for the addressee only. It may contain legally privileged information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the sender immediately of any error in transmission. This footnote also confirms that this email message has been swept for the presence of computer viruses, however we cannot guarantee that this message is free from such problems. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP 0.20.5 PDF Renderer yields [INFO] 1 [ERROR] null - no FAQ or Web information available
Thank you for your help, Chris. I must have missed that item when I was going through the compliance page! Kyle Chris Bowditch wrote: block-containers are not fully implemented in FOP, and have some restrictions. These are listed on the compliance page: http://xml.apache.org/fop/compliance.html#fo-object-block-container Basically the error you see above is caused when the block-container is not a direct child of fo:flow. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP 0.20.5 PDF Renderer yields [INFO] 1 [ERROR] null - no FAQ or Web information available
Kyle Partridge wrote: And, here is a short example of the error message I get, running FOP with both the -d and the -c conf/userconfig.xml options. [ERROR] null org.apache.fop.apps.FOPException at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62) java.lang.ClassCastException at org.apache.fop.fo.flow.BlockContainer.layout(BlockContainer.java:157) at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:178) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)etc. block-containers are not fully implemented in FOP, and have some restrictions. These are listed on the compliance page: http://xml.apache.org/fop/compliance.html#fo-object-block-container Basically the error you see above is caused when the block-container is not a direct child of fo:flow. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FOP 0.20.5 PDF Renderer yields [INFO] 1 [ERROR] null - no FAQ or Web information available
Hello, I have tried to turn my .fo document into a PDF using FOP many times and keep receiving the same set of errors. I have read the mailing list archives, the FAQ at apache.org/fop and some web resources, and I have tried: a/ both running FOP from the command line and from within XML-Spy Prof. Ed. 2004 rel 3 b/ setting up a conf/userconfig.xml with specifics on locations of fonts, and fo input files c/ going down the complete list of implemented and non-implemented elements and attributes, and then altering some attributes ( for example, changing absolute-position='absolute' to position='absolute' ) and removing others altogether because they were unsupported. d/ rendering the file using RenderX XEP version 3.7.5, which works (but I would like to make the file FOP compatible as well, if possible). Here is an example of how I have block-container in use, in my fo document: STATISTICS And, here is a short example of the error message I get, running FOP with both the -d and the -c conf/userconfig.xml options. [ERROR] null org.apache.fop.apps.FOPException at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62) java.lang.ClassCastException at org.apache.fop.fo.flow.BlockContainer.layout(BlockContainer.java:157) at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:178) at org.apache.fop.fo.flow.Block.layout(Block.java:257) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)etc. Thank you for your consideration, Kyle B. Kyle Partridge Senior Web Developer Mathsoft Engineering & Education, Inc. 101 Main Street 16th Floor Cambridge MA 02142-1522 USA 617-444-8156 [EMAIL PROTECTED] www.mathsoft.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP [ERROR] null
Boris Rousseau wrote: Can I get any help on the following error message: [ERROR] null While there is a variety of reasons, this is most often caused by a master-reference missing or misspelled in a conditional-page-master-reference. Check this first. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP [ERROR] null
Boris Rousseau wrote: Can I get any help on the following error message: [ERROR] null All I could find is that my FO file is not valid, but as far as I can see it is... Also when there is no FOP schema provided on the apache web site (the link points to the faq). You can get it from cvs, see http://cvs.apache.org/viewcvs.cgi/xml-fop/docs/foschema. Can I get an hold on this schema to validate my source ? Validation is at our todo list, but your request is important, I'll add it as user enhancement request to bugzilla. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP [ERROR] null
See comments below Hello, Can I get any help on the following error message: [ERROR] null All I could find is that my FO file is not valid, but as far as I can see it is... Try turning debug on, FOP should then give more information on the cause of the problem (-d on command line) Also when there is no FOP schema provided on the apache web site (the link points to the faq). RenderX provides a DTD on their website http://www.renderx.com/ but there is no official DTD, as FO cannot be fully validated using a DTD/Schema alone. Can I get an hold on this schema to validate my source ? Regards, Boris _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FOP [ERROR] null
Hello, Can I get any help on the following error message: [ERROR] null All I could find is that my FO file is not valid, but as far as I can see it is... Also when there is no FOP schema provided on the apache web site (the link points to the faq). Can I get an hold on this schema to validate my source ? Regards, Boris
RE: Help with [ERROR]: null
I got it. I changed the master-name attribute to master-reference inside the fo:conditional-page-master-reference tags and it renders properly. -Original Message- From: Kilmer, Erich [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 3:57 PM To: '[EMAIL PROTECTED]' Subject: Help with [ERROR]: null Hello, I am trying to get this style sheet to render using FOP but the error it is throwing is fairly vague. Can anyone advise me how I can debug this? I am referencing an XML file but not actually accessing any values from it so its not from that. I am using FOP 0.20.3. Thanks, Erich Fop output: [INFO]: FOP 0.20.3 [INFO]: building formatting object tree [ERROR]: null ...post processing finished Style Sheet: http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:TST="TST" xmlns:java="http://xml.apache.org/xslt/java"; exclude-result-prefixes="java"> http://www.w3.org/1999/XSL/Format";> Header First Header Rest Footer First Footer Rest Content goes here!
Help with [ERROR]: null
Hello, I am trying to get this style sheet to render using FOP but the error it is throwing is fairly vague. Can anyone advise me how I can debug this? I am referencing an XML file but not actually accessing any values from it so its not from that. I am using FOP 0.20.3. Thanks, Erich Fop output: [INFO]: FOP 0.20.3 [INFO]: building formatting object tree [ERROR]: null ...post processing finished Style Sheet: http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:TST="TST" xmlns:java="http://xml.apache.org/xslt/java"; exclude-result-prefixes="java"> http://www.w3.org/1999/XSL/Format";> Header First Header Rest Footer First Footer Rest Content goes here!
Re: Error: null
I'd put which threw up the error: null. Thanks Mihael for telling me about the fop -d option Ian At 09:07 AM 3/22/2002 +0100, you wrote: > I constructed my first xsl document to render a pdf using a singletemplate. This worked fine. However the form was rather large so Idecided to split certain parts of it into separate templates and now I amgetting a null error. Please help > > I used fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > > and get > > C:\dev\homelet2002\dist\lib>java -cpc:\fop-0.20.1\build\fop.jar;c:\fop-0.20.1\lib\batik.jar;c:\fop-0.20.1\lib\xalan.jar;c:\fop-0.20.1\l > ib\xerces.jar;c:\fop-0.20.1\lib\jimi-1.0.jar org.apache.fop.apps.Fop -xmlTIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > FOP 0.20.1 > ERROR: null > I think you forgot the master-reference attribute on fo:page-sequence. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch
Re: Error: null
> I constructed my first xsl document to render a pdf using a singletemplate. > This worked fine. However the form was rather large so Idecided to split > certain parts of it into separate templates and now I amgetting a null error. > Please help > > I used fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > > and get > > C:\dev\homelet2002\dist\lib>java > -cpc:\fop-0.20.1\build\fop.jar;c:\fop-0.20.1\lib\batik.jar;c:\fop-0.20.1\lib\xalan.jar;c:\fop-0.20.1\l > ib\xerces.jar;c:\fop-0.20.1\lib\jimi-1.0.jar org.apache.fop.apps.Fop > -xmlTIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > FOP 0.20.1 > ERROR: null > I think you forgot the master-reference attribute on fo:page-sequence. Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Tel. +41 41 317 2020 - Fax +41 41 317 2029 Internet http://www.outline.ch
Re: Error: null
fun fop with the -d parameter and you'll get more debug info On 2002.03.21 15:51 Ian Taylor wrote: > > I constructed my first xsl document to render a pdf using a single > template. This worked fine. However the form was rather large so I > decided to split certain parts of it into separate templates and now I am > getting a null error. Please help > I used fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > and get > C:\dev\homelet2002\dist\lib>java -cp > c:\fop-0.20.1\build\fop.jar;c:\fop-0.20.1\lib\batik.jar;c:\fop-0.20.1\lib\xalan.jar;c:\fop-0.20.1\l > ib\xerces.jar;c:\fop-0.20.1\lib\jimi-1.0.jar org.apache.fop.apps.Fop -xml > TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf > FOP 0.20.1 > ERROR: null > > xml: > <?xml > version="1.0"?> > color="#FF">< color="#80">TIPS color="#FF">> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">Details face="Arial, Helvetica" size=1 color="#FF"> > text color="#FF">="Your > Details color="#FF">"> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">Text face="Arial, Helvetica" size=1 color="#FF">> face="Arial, Helvetica" size=1>Please > print clearly. State > Mr/Mrs/Miss/Ms/Other color="#FF"></ color="#80">Text color="#FF">> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">Proposer face="Arial, Helvetica" size=1 color="#FF"> > text color="#FF">=" size=1>Proposer color="#FF">"/> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">CoverText face="Arial, Helvetica" size=1 color="#FF">> face="Arial, Helvetica" size=1>Your > insurance covers you, your partner and all members of your/their family > permanently living in your home. Tenants sharing a property should > complete separate > applications. color="#FF"></ color="#80">CoverText color="#FF">> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">Address face="Arial, Helvetica" size=1 color="#FF"> > text color="#FF">=" size=1>Address color="#FF">"> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">Street face="Arial, Helvetica" size=1 color="#FF">/> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">City face="Arial, Helvetica" size=1 color="#FF">/> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">County face="Arial, Helvetica" size=1 color="#FF">/> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">PostCode face="Arial, Helvetica" size=1 color="#FF"> > text color="#FF">="Post > Code color="#FF">"/> > size=1> face="Arial, Helvetica" size=1 color="#FF"></ face="Arial, Helvetica" size=1 color="#80">Address face="Arial, Helvetica" size=1 color="#FF">> > size=1> face="Arial, Helvetica" size=1 color="#FF">< face="Arial, Helvetica" size=1 color="#80">HomePhone face="Arial, Helvetica" size=1 color="#FF"> > text color="#FF">="Tel > (Home) > color="#FF">"/> > size=1> face="Arial, Helvetica" size=1 color="#FF">< fac
Error: null
I constructed my first xsl document to render a pdf using a single template. This worked fine. However the form was rather large so I decided to split certain parts of it into separate templates and now I am getting a null error. Please help I used fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf and get C:\dev\homelet2002\dist\lib>java -cp c:\fop-0.20.1\build\fop.jar;c:\fop-0.20.1\lib\batik.jar;c:\fop-0.20.1\lib\xalan.jar;c:\fop-0.20.1\l ib\xerces.jar;c:\fop-0.20.1\lib\jimi-1.0.jar org.apache.fop.apps.Fop -xml TIPS.xml -xsl TIPS.xsl -pdf TIPS.pdf FOP 0.20.1 ERROR: null xml: <TIPS> <Details text="Your Details"> <Text>Please print clearly. State Mr/Mrs/Miss/Ms/OtherText> <Proposer text="Proposer"/> <CoverText>Your insurance covers you, your partner and all members of your/their family permanently living in your home. Tenants sharing a property should complete separate applications.CoverText> <Address text="Address"> <Street/> <City/> <County/> <PostCode text="Post Code"/> Address> <HomePhone text="Tel (Home) "/> <WorkPhone text="Tel (Work) "/> Details> <Policy> <Duration>Do you require a 6 month policyDuration> etc etc xsl: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:template match="/"> <xsl:apply-templates match="TIPS" /> xsl:template> <xsl:template match="TIPS"> <xsl:processing-instruction name="cocoon-format">type="text/xslfo"xsl:processing-instruction> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-master-name="main" margin-top="5pt" margin-bottom="5pt" margin-left="10pt" margin-right="5pt"> <fo:region-body margin-bottom="5pt" column-count="2" column-gap="15pt"/> fo:simple-page-master> fo:layout-master-set> <fo:page-sequence> <fo:flow> <xsl:apply-templates select="Details"/> <xsl:apply-templates select="Policy"/> <xsl:apply-templates select="Contents"/> <xsl:apply-templates select="Possessions"/> <xsl:apply-templates select="PedalCycle"/> <xsl:apply-templates select="PremiumTax"/> <xsl:apply-templates select="TotalMonthlyPrem"/> <xsl:apply-templates select="Payment"/> <xsl:apply-templates select="Questions"/> <xsl:apply-templates select="Disclosure"/> <xsl:apply-templates select="Declaration"/> <xsl:apply-templates select="CommenceCover"/> <xsl:apply-templates select="Signature"/> <xsl:apply-templates select="Additional"/> <xsl:apply-templates select="SpecialPossessions"/> <xsl:apply-templates select="Cycle"/> <xsl:apply-templates select="Footer"/> <xsl:apply-templates select="DirectDebit"/> <xsl:apply-templates select="CreditCard"/> fo:flow> fo:page-sequence> fo:root> xsl:template> <xsl:template match="Details"> <fo:table space-before.optimum="10pt"> <fo:table-column column-width="270pt"/>
RE: [ERROR]: null
A little debugging and found the tag should have the flow-name attribute ! Lakshmi -Original Message- From: Lakshmi Anantharaman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 27, 2001 12:34 PM To: '[EMAIL PROTECTED]' Subject: [ERROR]: null All this while I experimented the examples that came with FOP distribution . Today I wrote a Fo on my own . And I tried to render to PDF from command prompt . But it did not go thru . The Log shows [INFO]: FOP 0.20.2 [INFO]: building formatting object tree [ERROR]: null Please Help me figure out what is wrong . The fo looks perfectly the fine/same as the examples .! My Fo - http://www.w3.org/1999/XSL/Format";> FOP Hello World
[ERROR]: null
All this while I experimented the examples that came with FOP distribution . Today I wrote a Fo on my own . And I tried to render to PDF from command prompt . But it did not go thru . The Log shows [INFO]: FOP 0.20.2 [INFO]: building formatting object tree [ERROR]: null Please Help me figure out what is wrong . The fo looks perfectly the fine/same as the examples .! My Fo - http://www.w3.org/1999/XSL/Format";> FOP Hello World