From cocoon-dev-return-12164-apmail-xml-cocoon-dev-archive=xml.apache.org@xml.apache.org Wed Apr 04 09:00:20 2001 Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 48060 invoked by uid 500); 4 Apr 2001 09:00:15 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Delivered-To: moderator for cocoon-dev@xml.apache.org Received: (qmail 3121 invoked from network); 4 Apr 2001 08:03:27 -0000 Message-ID: <19C34CD863B1D4118E2800508BAF663A11C1FD@STONE> From: Soo Kang Wei FSI NCS To: "'cocoon-dev@xml.apache.org'" Subject: Cocoon2 Query Date: Wed, 4 Apr 2001 16:02:50 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi All, Any one receive such an Exception when running Cocoon2 the first time? Can anyone out there advice me on how to resolve such error? I've tried to printout the cause of the error and it seems that the variable workDirParam and workDir have values null. I've checked and it seems to get the value from the ServletConfig object. Hence, may I know how to resolve this issue? Thank you. The Exception is : workDirParam= null workDir= null [04/Apr/2001 15:58:37:7] error: Exception: SERVLET-execution_failed: Error in ex ecuting servlet Cocoon2: java.lang.NullPointerException Exception Stack Trace: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:381) at org.apache.avalon.DefaultContext.put(DefaultContext.java:63) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:127) at com.netscape.server.servlet.servletrunner.ServletRepository.loadServl et(Unknown Source) at com.netscape.server.servlet.servletrunner.ServletRepository.createIns tance(Unknown Source) at com.netscape.server.servlet.servletrunner.ServletRunner.createServlet Info(Unknown Source) at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno wn Source) at com.kivasoft.applogic.AppLogic.execute(Unknown Source) at com.kivasoft.applogic.AppLogic.execute(Unknown Source) at com.kivasoft.thread.ThreadBasic.run(Native Method) at java.lang.Thread.run(Thread.java:479) [04/Apr/2001 15:58:37:7] error: APPLOGIC-caught_exception: Caught Exception: java.lang.NullPointerException at com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse. sendError(Unknown Source) at com.netscape.server.servlet.servletrunner.ServletRunner.reportError(U nknown Source) at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno wn Source) at com.kivasoft.applogic.AppLogic.execute(Unknown Source) at com.kivasoft.applogic.AppLogic.execute(Unknown Source) at com.kivasoft.thread.ThreadBasic.run(Native Method) at java.lang.Thread.run(Thread.java:479) Regards, Soo Kang Wei --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org