forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhatia Praveen, HCLT-Japan" <prav...@hcltech.co.jp>
Subject Trouble with forrest's SVGSerializer from cocoon
Date Sat, 04 Dec 2004 17:53:29 GMT
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)
	at
org.apache.cocoon.components.treeprocessor.sitemap.GenerateNode.invoke(Gener
ateNode.java:63)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:54)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:112)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:76)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:138)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:76)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:95)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:298)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:241)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:238)
	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:111)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:76)
	at
org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectN
ode.java:82)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:76)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:138)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:76)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:95)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:298)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(Con
creteTreeProcessor.java:241)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:238)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:646)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:354)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1808)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1758)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
	at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:501)

Mime
View raw message