Reinhard Poetz wrote: > > When I was testing one of my projects with the latest version of > trunk, I run across some obscure behaviour, when I use the exception > generator: The problem is that it only works every second request. > > When it fails, following exception is thrown: > > Caused by: org.apache.cocoon.ProcessingException: Generator already > set. Cannot set genera > tor 'exception' > at <map:generate type="exception"> - > file:///F:/os/cocoon/trunk/blocks/cocoon-it/. > /src/main/resources/COB-INF/sitemap.xmap:211:43 > at > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setGenerator(A > > bstractProcessingPipeline.java:205) > > Any clue why this happens? Can you fill the issue and add the test-case for this? I've experienced such errors while working on Micro Cocoon and the reason always has been the same: not properly cleaned up environment (due to various reasons like wrong scope, or sth like this).
-- Grzegorz Kossakowski
