cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Trieloff (JIRA)" <>
Subject [jira] Closed: (COCOON-1937) AccessorTestCase fails due to incomplete context initialization
Date Tue, 07 Nov 2006 19:26:53 GMT
     [ ]

Lars Trieloff closed COCOON-1937.

    Resolution: Fixed

> AccessorTestCase fails due to incomplete context initialization
> ---------------------------------------------------------------
>                 Key: COCOON-1937
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Templating
>            Reporter: Lars Trieloff
> The test cases in cocoon-template-impl fail in AccessorTestCase:
> org.apache.cocoon.components.ContextResourceNotFoundException: Unable to get the object
model from the context.
> at org.apache.cocoon.components.ContextHelper.getObjectModel(
> at org.apache.cocoon.components.accessor.ObjectModelAccessor.getObjectModel(
> at org.apache.cocoon.components.accessor.RequestAccessor.getObject(
> at org.apache.cocoon.components.accessor.AccessorTestCase.testRequestAccessor(
> The reason seems to be that at initialization of the AccessorSelector there is some incomplete
initialization of the DefaultContext, such that no valid object model is handed to the DefaultContext.
> What is the best way to populate the DefaultContext in the test case with an object model
that contains request, session and context?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message