On Tue, 12 Nov 2002, Bobby Mitchell wrote:
> Jenny Brown wrote:
>
> >I had indeed missed that step. I've done it now, but don't seem to be
> >having any better results... same error. I'm not sure how to test that
> >the /jre/lib/ changes actually took effect though. I did restart tomcat
> >just in case.
> >
> >
> <snip>
> Also, make sure to delete the contents of the tomcat work directory
> before you restart tomcat.
I did that and restarted, still the same problem. Here's a snippet of
Cocoon's code where the NPE is actually occurring, in AbstractStreamSource:
public void toSAX(ContentHandler handler)
throws SAXException, ProcessingException
{
Parser parser = null;
try {
parser = (Parser)this.manager.lookup(Parser.ROLE); <--- NPE this line
parser.parse( this.getInputSource(), handler);
}
...
}
Since that line has multiple references I'm not quite sure which one
ended up being null; but maybe this is enough for someone to notice what
I am likely missing?
Thanks.
Jenny Brown
---------------------------------------------------------------------
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]>