Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32383 invoked from network); 26 Feb 2006 16:31:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Feb 2006 16:31:34 -0000 Received: (qmail 23905 invoked by uid 500); 26 Feb 2006 16:31:31 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 23816 invoked by uid 500); 26 Feb 2006 16:31:31 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 23805 invoked by uid 99); 26 Feb 2006 16:31:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 08:31:30 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.62] (HELO smtp008.mail.ukl.yahoo.com) (217.12.11.62) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Feb 2006 08:31:30 -0800 Received: (qmail 93945 invoked from network); 26 Feb 2006 16:31:08 -0000 Received: from unknown (HELO ?80.75.40.242?) (reinhard?poetz@80.75.40.242 with plain) by smtp008.mail.ukl.yahoo.com with SMTP; 26 Feb 2006 16:31:06 -0000 Message-ID: <4401D7BF.3080902@apache.org> Date: Sun, 26 Feb 2006 17:30:55 +0100 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Dependency on WebApplicationContext References: <4400A609.2080104@nada.kth.se> <4400AED4.7080106@apache.org> <4400BB69.1090009@nada.kth.se> In-Reply-To: <4400BB69.1090009@nada.kth.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Daniel Fagerstrom wrote: > Carsten Ziegeler skrev: >> I'm sorry for that. Of course this was not my intention. Where exactly >> are your problems? For me at least everything compiles. > > > My testcases: > http://svn.apache.org/repos/asf/cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-servlet-impl/src/test/java/org/apache/cocoon/blocks/servlet/BlocksManagerTestCase.java, > doesn't work anymore. The blocks samples > http://svn.apache.org/repos/asf/cocoon/trunk/cocoon-blocks-fw/cocoon-blocks-fw-sample/src/main/webapp/, > doesn't work anymore. Reinhard's work on block deployment > http://svn.apache.org/repos/asf/cocoon/trunk/cocoon-block-deployer/, > doesn't work anymore. AFAIU the initialization of Cocoon has changed from within the blocks-fw. IIUC CoreUtil is never initialized and therefore the settings object isn't initialized either. I get a NullPointException in line 174 of the ApplicationContextFactory: final File logSCDir = new File(settings.getWorkDirectory(), "cocoon-logs"); (settings.getWorkDirectory() returns null) Could somebody of you have a look at this? If you want to reproduce this exception, go into .\cocoon\trunk\cocoon-block-deployer\cocoon-deployer-plugin-demo and call mvn cocoon:simple-deploy jetty6:run -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de