Here is the file, the fop sections are inside the ifp:body tag. These get
extracted and combined with some other metadata, etc. to make the final pdf.
Those contents are what I thought was inlined in my previous email,
apologies if they didn't show up:

fop_output_acprof-9780198509141-chapter-3
<http://apache-fop.1065347.n5.nabble.com/file/n37326/fop_output_acprof-9780198509141-chapter-3>
  

I'm using version 1.0. I had built from trunk before to address some other
errors I was having at the time, here is the output from svn info: 

tyler@timbuktu:/var/tmp/fop/trunk$ svn info
Path: .
URL: http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 1352991
Node Kind: directory
Schedule: normal
Last Changed Author: vhennebert
Last Changed Rev: 1352991
Last Changed Date: 2012-06-22 14:14:51 -0400 (Fri, 22 Jun 2012)

I run a unit test to see what happens when I uncomment/comment various
sections, etc. Here is the console output when I run that test: 

11:18:25.938 [main]            ERROR c.i.o.s.PluginModule.PdfService - Error
while configuring fop factory:
java.net.MalformedURLException: null
        at java.net.URL.<init>(URL.java:601) ~[na:1.6.0_26]
        at java.net.URL.<init>(URL.java:464) ~[na:1.6.0_26]
        at java.net.URL.<init>(URL.java:413) ~[na:1.6.0_26]
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source) ~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
Source) ~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
~[xercesImpl-2.9.1.jar:na]
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
~[xercesImpl-2.9.1.jar:na]
        at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:255)
~[avalon-framework-impl-4.3.1.jar:na]
11:18:28.013 [main]            WARN  org.apache.fop.apps.FOUserAgent - Font
"DejaVuSans,normal,400" not found. Substituting with "any,normal,400".
11:18:28.340 [main]            WARN  org.apache.fop.apps.FOUserAgent - Font
"DejaVuSans,italic,400" not found. Substituting with "any,italic,400".
11:18:28.381 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"α" (0x3b1, alpha) not available in font "Times-Italic".
11:18:28.382 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"′" (0x2032, minute) not available in font "Times-Roman".
11:18:28.389 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"α" (0x3b1, alpha) not available in font "Times-Roman".
11:18:28.389 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"〉" (0x3009, anglebracketright) not available in font "Times-Roman".
11:18:28.397 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"−" (0x2212, minus) not available in font "Times-Italic".
11:18:28.397 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"ħ" (0x127, hbar) not available in font "Times-Italic".
11:18:28.399 [main]            WARN  org.apache.fop.apps.FOUserAgent - Glyph
"′" (0x2032, minute) not available in font "Times-Italic".
java.lang.IllegalArgumentException: 14
        at
org.apache.fop.layoutmgr.inline.ScaledBaselineTable.getBaselineDefaultOffset(ScaledBaselineTable.java:177)
        at
org.apache.fop.layoutmgr.inline.ScaledBaselineTable.<init>(ScaledBaselineTable.java:76)
        at
org.apache.fop.layoutmgr.inline.ScaledBaselineTable.deriveScaledBaselineTable(ScaledBaselineTable.java:202)
        at
org.apache.fop.layoutmgr.inline.AlignmentContext.getActualBaselineOffset(AlignmentContext.java:419)
        at
org.apache.fop.layoutmgr.inline.AlignmentContext.setBaselineShift(AlignmentContext.java:321)
        at
org.apache.fop.layoutmgr.inline.AlignmentContext.<init>(AlignmentContext.java:131)
        at
org.apache.fop.layoutmgr.inline.AlignmentContext.<init>(AlignmentContext.java:97)
        at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:277)
        at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:329)
        at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:329)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:689)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:622)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:221)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:145)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:114)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:67)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:222)
        at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:673)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:155)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:387)
        at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:113)
        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
net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:391)
        at
net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:213)
        at
net.sf.saxon.event.ComplexContentOutputter.endElement(ComplexContentOutputter.java:432)
        at
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:299)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
        at net.sf.saxon.instruct.Instruction.process(Instruction.java:93)
        at
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:296)
        at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:556)
        at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:203)
        at
net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:345)
        at net.sf.saxon.Controller.transformDocument(Controller.java:1807)
        at net.sf.saxon.Controller.transform(Controller.java:1621)
        at com.ifactory.oso.components.DownloadDoc.render(DownloadDoc.java:211)
        at com.ifactory.oso.pages.PdfTest.testDownloadDoc(PdfTest.java:67)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
        at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
        at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
        at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Here is that stack trace as an attachment: 

fop_console.txt
<http://apache-fop.1065347.n5.nabble.com/file/n37326/fop_console.txt>  

Please let me know if you need anything else, if there are any problems with
the attachments, etc. Thanks. 





--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/java-lang-IllegalArgumentException-14-when-processing-math-tp37306p37326.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to