forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Exception when building cocoon site
Date Fri, 23 May 2003 13:40:12 GMT
On Fri, May 23, 2003 at 09:55:15AM +0200, Carsten Ziegeler wrote:
> Hi,
> 
> I'm currently trying to build the cocoon site with latest forrest,
> and I get the following exception:
>  * [0] userdocs/xsp/xsp.pdf
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>         at java.lang.String.charAt(String.java:460)
>         at org.apache.cocoon.util.NetUtils.absolutize(NetUtils.java:256)
>         at org.apache.cocoon.bean.CocoonBean.processURI(CocoonBean.java:622)
>         at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:468)
>         at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:417)
>         at org.apache.cocoon.Main.main(Main.java:340)
> 
> Now, I guess but I'm not sure that this might be related to an old
> cocoon version; is it sufficient to replace the jars in the
> FORREST_HOME/WEB-INF/lib directory?

It requires following the README in etc/cocoon_upgrade.  I've upgraded
Forrest's Cocoon to M2 locally, and it does fix this problem.  If no
other problems arise, I'll commit the upgrade tomorrow (+12h).


--Jeff

> Carsten
> 
> 

Mime
View raw message