cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: NullPointerException building cocoon for forrest
Date Mon, 23 May 2005 12:00:14 GMT
Juan Jose Pablos wrote:
> Hi,
> Since this version:
> I am getting a null pointer exception when runnig forrest:
> Exception in thread "main" java.lang.NullPointerException
>         at org.apache.cocoon.Cocoon.initialize(
>         at
> org.apache.avalon.framework.container.ContainerUtil.initialize(
>         at
> org.apache.cocoon.bean.CocoonWrapper.initialize(
>         at org.apache.cocoon.bean.CocoonBean.initialize(
>         at org.apache.cocoon.Main.main(
> Can someone put some light on how to fix it?
You're using trunk? Great :) Now, the CLI is (obviously) not working
atm. The creation
of an environment (like cli, servlet etc) has been simplified (or
rewritten...) and only the servlet environment uses the new mechanism.
So the solution is to change the CocoonBean and let it use the new
CoreUtil class (like the servlet class already does).
So, the CocoonWrapper class should use the CoreUtil - this should reduce
the code there as well. Rewriting this is on my agenda for the next days.


Carsten Ziegeler - Open Source Group, S&N AG

View raw message