forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Recursive resolution of URIs
Date Tue, 08 Apr 2003 13:10:15 GMT
Jeff Turner wrote:
> On Mon, Apr 07, 2003 at 10:02:44PM -0400, Berin Loritsch wrote:
> 
> On the Forrest side of things, the general problem seems to be Cocoon's
> handling of links to nonexistent directories.  If I add <link
> href="api/"> to Forrest's own index.xml, I get lots of NPEs for
> index.html *and* various subsequent pages:
> 
> java.lang.NullPointerException
>         at org.apache.cocoon.environment.AbstractEnvironment.release(AbstractEnvironment.java:475)
>         at org.apache.cocoon.generation.FileGenerator.recycle(FileGenerator.java:90)
> 
> I suspect that if the Cocoon CLI has a bug where if an error occurs
> (nonexistent api/ directory), it doesn't release the used components.

Thank you very much!


>>If I hit Ctrl+C to break ANT's involvement, the Forrest task is still
>>running in the background so it is happily building the site recursively
>>"api/api/api/api/api/api/api/api/api/api/api/...." until I manually
>>kill the process.
> 
> 
> That's odd.  Ctrl+C always kills Ant and fork="true" subprocesses for me.

You also probably use a real OS--I'm stuck with Winblows.


-- 
"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".

-----Chris Rock


Mime
View raw message