cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Morandini <luca.morandi...@tin.it>
Subject [BUG ?] "ModuleHelper is not setup correctly"
Date Wed, 04 Feb 2004 23:18:25 GMT
Today I tried to switch from 2.1.2 to 2.1.3.

After the compilation and installation, I fired up an application of 
mine (which worked perfectly under 2.1.2)... which seemed to work still 
fine, but... when I re-loaded the same URI, Cocoon gave me an "Internal 
server error" and the following on error.log:

(2004-02-04) 23:08.23:045 : Internal Cocoon Problem
org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.RuntimeException: 
ModuleHelper is not setup correctly.
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:274)
...
Caused by: java.lang.RuntimeException: ModuleHelper is not setup correctly.
	at 
org.apache.cocoon.components.language.markup.xsp.XSPModuleHelper.getInputModule(XSPModuleHelper.java:105)
	at 
org.apache.cocoon.components.language.markup.xsp.XSPModuleHelper.get(XSPModuleHelper.java:152)
	at 
org.apache.cocoon.components.language.markup.xsp.XSPModuleHelper.getAttribute(XSPModuleHelper.java:233)
	at 
org.apache.cocoon.components.language.markup.xsp.XSPModuleHelper.getAttribute(XSPModuleHelper.java:244)
	at 
org.apache.cocoon.www.file_.c_.web.noria.noriadev.xsp.presentation.locate_index_html_xsp.generate(org.apache.cocoon.www.file_.c_.web.noria.noriadev.xsp.presentation.locate_index_html_xsp:123)
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:262)


This behaviour is consistent: when I re-start the Servlet container 
(Jetty), first time the app works (I mean, the page is loaded 
correctly), second time (and subsequent) it crashes.

Could someone shed some light on this ?

Regards,

---------------------------
      Luca Morandini
    lmorandini@ieee.org
http://www.lucamorandini.it
---------------------------


Mime
View raw message