Bhatia Praveen, HCLT-Japan wrote:
> Hi,
> I have set up sitemap.xmap to generate events on a simple
> images/boxes.svg file and then to serialize it using the
> src="org.apache.cocoon.serialization.SVGSerializer"
> map is made to images/boxes.png when the above generator and serializer is
> used in the pipeline.
>
> However, it complains that there is an Internal Cocoon Problem of NULL
> pointer. (The file images/boxes.svg is found that I have made sure.... after
> that I cant guess what is wrong).
>
> Could somebody kindly explain this exception and how to recover? Is it a
> bug in forrest?
>
> with best regards
> Praveen
>
>
> WARN (2004-12-05) 02:32.27:361 [core.manager]
> (/skin/images/rc-b-l-15-1body-2menu-3menu.png) PoolThread-5/SVGBuilder:
> setDocumentLocator was not called, will use http://localhost/ as base URI
> ERROR (2004-12-05) 02:32.27:481 [access] (/images/boxes.png)
> PoolThread-0/CocoonServlet: Internal Cocoon Problem
> java.lang.NullPointerException
> at
> org.apache.forrest.conf.ForrestConfModule.getAttribute(ForrestConfModule.jav
> a:55)
> at
> org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolve
> r.processModule(PreparedVariableResolver.java:310)
> at
> org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolve
> r.resolve(PreparedVariableResolver.java:259)
<snip what="rest of stack trace"/>
Okay, so next step. Could you send the sitemap snippet that is matching
"images/boxes.png"?
If possible, could you also send along the boxes.svg?
--
Rick Tessner
rick at apache dot org
|