cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: [BUG ?] "ModuleHelper is not setup correctly"
Date Fri, 06 Feb 2004 21:06:32 GMT
Andreas Hartmann wrote:

> OK, I narrowed down the problem. The XSPGenerator object is not
> re-created when the page is requested the second time. So, the
> XSPModuleHelper isn't re-initialized. Because its input modules
> were released at the end of the previous generate() execution,
> the inputModules map is null and the exception is thrown.
> 

BTW, as a workaround you can add

   <xsp:logic>
     _xsp_module_helper = null;
   </xsp:logic>

at the bottom of your logicsheet.
This way, the module helper is initialized the second
time generate() is called.

-- Andreas


Mime
View raw message