I got the latest cocoon code out of CVS and built it.
(latest as in today)
Things seem to work fine, except when I go to "Search
the Docs" in the samples section. When I do that, I
get the error I have attached below.
It seems to have something to do with pizza. I tried
to copy the pizza jar file to $TOMCAT_HOME/common/lib,
but I still get the same result.
I am working with Tomcat 4.0.3, JDK, 1.3 and the
latest cocoon from CVS.
Here is the error... (I cut some of the lines out to
keep this short)
rg.apache.cocoon.ProcessingException:
java.lang.NullPointerException
at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:210)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:367)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:289)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:474)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:146)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:83)
... cut ...
java.lang.NullPointerException
at
net.sf.pizzacompiler.compiler.Namer.findMethod(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:306)
at
net.sf.pizzacompiler.compiler.Namer.resolveSelectFromType(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Namer.pizza:648)
at
net.sf.pizzacompiler.compiler.Attr.attribSelect(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1572)
at
net.sf.pizzacompiler.compiler.Attr.attribExpr(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1359)
at
net.sf.pizzacompiler.compiler.Attr.attribExpr(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:1113)
at
net.sf.pizzacompiler.compiler.Attr.attribStat(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:692)
at
net.sf.pizzacompiler.compiler.Attr.attribStats(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:750)
at
net.sf.pizzacompiler.compiler.Attr.attribDef(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:472)
at
net.sf.pizzacompiler.compiler.Attr.attribDef(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:424)
at
net.sf.pizzacompiler.compiler.Attr.attribute(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Attr.pizza:355)
at
net.sf.pizzacompiler.compiler.Main.process(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Main.pizza:228)
at
net.sf.pizzacompiler.compiler.Main.compile(C:\pizza\main\src\net\sf\pizzacompiler\compiler\Main.pizza:309)
at
org.apache.cocoon.components.language.programming.java.Pizza.compile(Pizza.java:114)
at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:225)
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>