cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Barnes <jbar...@epicedge.com>
Subject Re: NullPointerException from Command Line
Date Thu, 01 Mar 2001 20:30:17 GMT
I posted a fix to cocoon-developers@xml.apache.org and asked them to check it and merge it
into the 1.8.2 code.  I don't
know if they did or not.

You can download my fix to the NullPointerException from the command line by downloading and
replacing the following files
in the source:

Replace <src root> org/apache/cocoon/Cocoon.java with http://www.geocities.com/jbarnes/Cocoon.java
Replace <src root> org/apache/cocoon/Engine.java with http://www.geocities.com/jbarnes/Engine.java
Replace <src root> org/apache/cocoon/EngineWrapper.java with http://www.geocities.com/jbarnes/EngineWrapper.java

After the replacements, rebuild the source.

If you don't have the source distribution, you will have to download it.

Jeff

Tapan Nanawati wrote:

> Try seeing the servlet and webserver logs. You will get full inforamtion
> there
>
> Tapan Nanawati                  email -                                             
                           phone -
> Globe Communication             tapan_nanawati@yahoo.com (official)             91-11-6685274
(o)
> NIL/26, Malviya Nagar           tapan.nanawati@lycos.com (friends)              91-98112-98982
> (m)
> New Delhi - INDIA
> ------------------------------
> God is real, unless declared integer.
>
> $-----Original Message-----
> $From: rhowe2@sears.com [mailto:rhowe2@sears.com]
> $Sent: Thursday, March 01, 2001 12:24 AM
> $To: cocoon-users@xml.apache.org
> $Subject: NullPointerException from Command Line
> $
> $
> $
> $I have just downloaded Cocoon version 1.8.2 and am trying to run some of
> $the examples from
> $the command line. I am using the Sun Java 2 SDK v1.3 on Windows NT 4.0 SP5
> $as well as
> $Windows 2000 Advanced Server.
> $
> $I execute org.apache.cocoon.Cocoon and I receive a NullPointerException
> $with the following
> $stack:
> $
> $Exception in thread "main" java.lang.NullPointerException
> $        at org.apache.cocoon.Engine.handle(Engine.java:484)
> $        at org.apache.cocoon.EngineWrapper.handle(EngineWrapper.java:87)
> $        at org.apache.cocoon.Cocoon.main(Cocoon.java:311)
> $
> $In looking at the source code, the exception occurs upon an attempt to
> $write to the OutputStream
> $retrieved from the response object. In looking at the FAQ, I saw a similar
> $error reported but could
> $not find any answers.
> $
> $Any  help on why this is occuring would be appreciated.
> $
> $
> $
> $---------------------------------------------------------------------
> $Please check that your question has not already been answered in the
> $FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> $
> $To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> $For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

--
Jeff Barnes
Java Architect
EpicEdge
5601 6th Ave South Suite 600
Seattle, WA 98108-2521
206.674.0902 (direct)
206.674.0060 (main)
206.954.6173 (cell)




Mime
View raw message