Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 75372 invoked from network); 1 Mar 2001 20:29:26 -0000 Received: from lobster.epicedge.com (216.141.68.146) by h31.sny.collab.net with SMTP; 1 Mar 2001 20:29:26 -0000 Received: from epicedge.com ([209.67.81.199]) by lobster.epicedge.com (Netscape Messaging Server 4.15) with ESMTP id G9JCX000.7F8 for ; Thu, 1 Mar 2001 14:29:24 -0600 Sender: jbarnes Message-ID: <3A9EB159.6AA9627F@epicedge.com> Date: Thu, 01 Mar 2001 12:30:17 -0800 From: Jeff Barnes Organization: EpicEdge X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: NullPointerException from Command Line References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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 org/apache/cocoon/Cocoon.java with http://www.geocities.com/jbarnes/Cocoon.java Replace org/apache/cocoon/Engine.java with http://www.geocities.com/jbarnes/Engine.java Replace 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. > $ > $To unsubscribe, e-mail: > $For additional commands, e-mail: > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: -- 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)