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 yodakoda <jg...@salmon.com> on 2008/01/30 10:26:42 UTC
FOP on 10g AS NPE
Morning All,
Im (trying) to deploy a FOP application on a 10g server, this app works on
9gAS and Websphere.
I get this error when the app runs on 10g..
2008-01-28 18:05:22,649[<UNKNOWN>][INFO] Using
oracle.xml.parser.v2.SAXParser as SAX2 Parser
2008-01-28 18:05:22,649[<UNKNOWN>][INFO] building formatting object tree
2008-01-28 18:05:22,649[<UNKNOWN>][INFO] setting up fonts
2008-01-28 18:05:22,652[<UNKNOWN>][ERROR] Exception>>
java.lang.NullPointerException
at
org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
at org.apache.fop.fo.flow.Block.<init>(Block.java:115)
There are may posts in this fourm with people having Oracle XML parsing
problems, but xerces still gives the error...
2008-01-28 15:56:44,799[<UNKNOWN>][INFO] Using
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
2008-01-28 15:56:44,809[<UNKNOWN>][INFO] building formatting object tree
2008-01-28 15:56:44,812[<UNKNOWN>][INFO] setting up fonts
2008-01-28 15:56:44,907[<UNKNOWN>][ERROR] Exception>>
java.lang.NullPointerException
at
org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
I have attached the .fo file. has anyone seen this before?
Thanks
James
http://www.nabble.com/file/p15177236/.docgen56959.fo .docgen56959.fo
--
View this message in context: http://www.nabble.com/FOP-on-10g-AS-NPE-tp15177236p15177236.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: FOP on 10g AS NPE
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Please take a close look at your FO file. It's not valid: there's no fo:page-seqence,
fo:block is in the wrong place. Probably a bug in your XSLT!
On 30.01.2008 10:26:42 yodakoda wrote:
>
> Morning All,
> Im (trying) to deploy a FOP application on a 10g server, this app works on
> 9gAS and Websphere.
> I get this error when the app runs on 10g..
>
>
> 2008-01-28 18:05:22,649[<UNKNOWN>][INFO] Using
> oracle.xml.parser.v2.SAXParser as SAX2 Parser
> 2008-01-28 18:05:22,649[<UNKNOWN>][INFO] building formatting object tree
> 2008-01-28 18:05:22,649[<UNKNOWN>][INFO] setting up fonts
> 2008-01-28 18:05:22,652[<UNKNOWN>][ERROR] Exception>>
> java.lang.NullPointerException
> at
> org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
> at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
> at org.apache.fop.fo.flow.Block.<init>(Block.java:115)
>
> There are may posts in this fourm with people having Oracle XML parsing
> problems, but xerces still gives the error...
>
> 2008-01-28 15:56:44,799[<UNKNOWN>][INFO] Using
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
> 2008-01-28 15:56:44,809[<UNKNOWN>][INFO] building formatting object tree
> 2008-01-28 15:56:44,812[<UNKNOWN>][INFO] setting up fonts
> 2008-01-28 15:56:44,907[<UNKNOWN>][ERROR] Exception>>
> java.lang.NullPointerException
> at
> org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
> at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
>
> I have attached the .fo file. has anyone seen this before?
>
> Thanks
> James
> http://www.nabble.com/file/p15177236/.docgen56959.fo .docgen56959.fo
>
> --
> View this message in context: http://www.nabble.com/FOP-on-10g-AS-NPE-tp15177236p15177236.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org