You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Matthias Kräuter <m....@exxcellent.de> on 2002/11/26 15:29:24 UTC

Unknown formatting object null^null ... once again

 Hello Jeremias,

thanks for your help, but the problem still exists. Below is my 
stacktrace with line numbers.

 [reports] [ERROR] Unknown formatting object null^null

BUILD FAILED
java.lang.NullPointerException
        at 
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:238)
        at 
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:444)
        at org.apache.fop.apps.Driver.render(Driver.java:469)
        at cmp.Report.execute(Report.java:585)

Thanks in advance
Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Unknown formatting object null^null ... once again

Posted by Jeremias Maerki <de...@greenmail.ch>.
Yes, that seems to be the uri parameter that comes in null.

Let's look at it from another angle: You have the FO in a DOM, right? It
looks like that DOM doesn't support namespaces for some reason. You said
you've checked that you've got a relatively new version of Xerces. Do
you use JDK 1.4? If yes and you haven't placed Xerces and Xalan in the
endorsed directory, you're probably still using Crimson and that buggy
old Xalan included in JDK 1.4.

Anyway, could you post the code where you build up the DOM and pass it
to FOP? Or another approach: Do you have to work with a DOM? What
exactly are you trying to do?

On 26.11.2002 15:29:24 Matthias Kräuter wrote:
>  Hello Jeremias,
> 
> thanks for your help, but the problem still exists. Below is my 
> stacktrace with line numbers.
> 
>  [reports] [ERROR] Unknown formatting object null^null
> 
> BUILD FAILED
> java.lang.NullPointerException
>         at 
> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:238)
>         at 
> org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:444)
>         at org.apache.fop.apps.Driver.render(Driver.java:469)
>         at cmp.Report.execute(Report.java:585)



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org