Re: writing-mode="lr" causing null-pointer-exception in fop1.1rc1
Thanks for the reminder. The correct way to handle this is to file a bugzilla report as described at [1]. [1] http://xmlgraphics.apache.org/fop/bugs.html#issues_new On Mon, Nov 12, 2012 at 6:30 AM, James Quest wrote: > in july, i reported a null-pointer-exception on fop1.1r1 > > i have just tried it again now with the stable 1.1 release, and see the > identical issue still appearing. > > this is the fo > http://www.w3.org/1999/XSL/Format"; font-family="Arial" > writing-mode="rl"> > > master-name="a4"> >margin-right="10mm" margin-left="10mm"/> > > > > > > وكلما > More text leader-pattern="dots"/> > > > > > > > > > -- > View this message in context: > http://apache-fop.1065347.n5.nabble.com/writing-mode-lr-causing-null-pointer-exception-in-fop1-1rc1-tp36345p37334.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
Re: writing-mode="lr" causing null-pointer-exception in fop1.1rc1
in july, i reported a null-pointer-exception on fop1.1r1 i have just tried it again now with the stable 1.1 release, and see the identical issue still appearing. this is the fo http://www.w3.org/1999/XSL/Format"; font-family="Arial" writing-mode="rl"> وكلما More text -- View this message in context: http://apache-fop.1065347.n5.nabble.com/writing-mode-lr-causing-null-pointer-exception-in-fop1-1rc1-tp36345p37334.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: writing-mode="lr" causing null-pointer-exception in fop1.1rc1
hello, below is the stack trace. not sure whether it is that is the issue. indeed if is removed, then there is no issue. however, you you remove *any* of these 3 things, then there is no issue either 1. 2. 3. text-align-last="justify" james. -- java.lang.NullPointerException at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:303) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.cli.Main.startFOP(Main.java:177) at org.apache.fop.cli.Main.main(Main.java:208) Caused by: java.lang.NullPointerException at org.apache.fop.area.inline.FilledArea.applyVariationFactor(FilledArea.java:127) at org.apache.fop.area.LineArea.finish(LineArea.java:261) at org.apache.fop.area.LineArea.handleIPDVariation(LineArea.java:239) at org.apache.fop.area.inline.InlineArea.notifyIPDVariation(InlineArea.java:267) at org.apache.fop.area.inline.InlineArea.handleIPDVariation(InlineArea.java:255) at org.apache.fop.area.inline.UnresolvedPageNumber.resolveIDRef(UnresolvedPageNumber.java:122) at org.apache.fop.area.PageViewport.resolveIDRef(PageViewport.java:341) at org.apache.fop.area.IDTracker.tryIDResolution(IDTracker.java:151) at org.apache.fop.area.IDTracker.tryIDResolution(IDTracker.java:172) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:310) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:191) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:115) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:128) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:347) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181) at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300) -- View this message in context: http://apache-fop.1065347.n5.nabble.com/writing-mode-lr-causing-null-pointer-exception-in-fop1-1rc1-tp36345p36350.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: writing-mode="lr" causing null-pointer-exception in fop1.1rc1
the problem is with ; if removed, there is no exception; i will create a bug to track this and should be able to resolve, or at least eliminate exception for final 1.1 release On Sun, Jul 15, 2012 at 4:26 AM, Jim Quest wrote: > hello, > i have seen that this fo causes a null-pointer-exception at fop1.1rc1. > the same fo is perfectly fine if writing-mode="lr" or not specified > > http://www.w3.org/1999/XSL/Format"; font-family="Arial" > writing-mode="rl"> > > master-name="a4"> >margin-right="10mm" margin-left="10mm"/> > > > > > > وكلما > More text leader-pattern="dots"/> > > > > > > > not exactly sure which bit of the following is causing it. > More text leader-pattern="dots"/> > > have tried several variations of it, and some of it woks and others don't. >
Re: writing-mode="lr" causing null-pointer-exception in fop1.1rc1
please post the console output, including exception stack backtrace if shown On Sun, Jul 15, 2012 at 4:26 AM, Jim Quest wrote: > hello, > i have seen that this fo causes a null-pointer-exception at fop1.1rc1. > the same fo is perfectly fine if writing-mode="lr" or not specified > > http://www.w3.org/1999/XSL/Format"; font-family="Arial" > writing-mode="rl"> > > master-name="a4"> >margin-right="10mm" margin-left="10mm"/> > > > > > > وكلما > More text leader-pattern="dots"/> > > > > > > > not exactly sure which bit of the following is causing it. > More text leader-pattern="dots"/> > > have tried several variations of it, and some of it woks and others don't. >
