You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mullin Yu <mu...@softwareag.com> on 2000/07/14 04:50:56 UTC

Two errors

Now, I can run all samples on Cocoon except the following two.

First, for Formatting Object Rendering
Yes, I can view the pdf on Netscape, but IE5 seems no ideas to do anything,
just a blank page. How can I solve it? I saw fromt the faq that put a "?" at
the end of the query can solve it, but the url of the sample has "?" at the
end already, but still don't work.

Second, for Dynamic content Generation
I can view the last two, but not the first three. That means XSP doesn't
work.

I got the error for the first two examples:
Error found handling the request.
java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not found
 at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java, Compiled
Code)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java, Compiled Code)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XS
PJavaPreprocessor.java, Compiled Code)
 at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess
(XSPJavaPreprocessor.java:81)
 at
org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
 at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
 at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
 at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a, Compiled Code)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
 at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)
 at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java, Compiled Code)
 at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
 at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)

And another error on the third example
Error found handling the request.
java.lang.NullPointerException
 at org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java,
Compiled Code)
 at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
 at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
 at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)
 at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.jav
a, Compiled Code)
 at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
 at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)
 at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java, Compiled Code)
 at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
 at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)

How can I solve them out?

Thanks!

Mullin


Re: Two errors

Posted by Mike Engelhart <me...@earthtrip.com>.
on 7/13/00 9:50 PM, Mullin Yu at mullin.yu@softwareag.com wrote:

> Second, for Dynamic content Generation
> I can view the last two, but not the first three. That means XSP doesn't
> work.
> 
> I got the error for the first two examples:
> Error found handling the request.
> java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not found
> at org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java, Compiled
> Code)
> at

This is still an FAQ:

http://xml.apache.org/cocoon/faqs.html#faq-5

Don't know the answer to your first question

Mike