DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43705>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43705

           Summary: use of rgb-icc inside of simple-page-master results in
                    null pointer exeption
           Product: Fop
           Version: 0.94
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hello,

i think fop should parse and initialize <fo:declarations> before
<fo:layout-master-set> to fix this issue.

I'll attach the fo-document.

I havn't tested trunk on this so this might be fixed already.
Is there a binary snapshot anywhere?

Steps to reproduce:

fop demo.fo demo.pdf

Outputs on my System:

Oct 26, 2007 3:17:46 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)

---------

java.lang.NullPointerException
        at 
org.apache.fop.fo.expr.ICCColorFunction.eval(ICCColorFunction.java:49)
        at
org.apache.fop.fo.expr.PropertyParser.parsePrimaryExpr(PropertyParser.java:319)
        at
org.apache.fop.fo.expr.PropertyParser.parseUnaryExpr(PropertyParser.java:211)
        at
org.apache.fop.fo.expr.PropertyParser.parseMultiplicativeExpr(PropertyParser.java:176)
        at
org.apache.fop.fo.expr.PropertyParser.parseAdditiveExpr(PropertyParser.java:150)
        at
org.apache.fop.fo.expr.PropertyParser.parseProperty(PropertyParser.java:124)
        at org.apache.fop.fo.expr.PropertyParser.parse(PropertyParser.java:90)
        at 
org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:437)
        at
org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:411)
        at 
org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:313)
        at org.apache.fop.fo.FObj.processNode(FObj.java:121)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:320)
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
        at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to