forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Exception when building cocoon site
Date Fri, 23 May 2003 14:10:10 GMT
Jeff Turner wrote:
> 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.
Sorry, I was too lazy to look for docs - will do this next time. Promised.

> 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).
>
Great! Thanks

Carsten


Mime
View raw message