You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2008/09/02 13:27:44 UTC

[jira] Commented: (COCOON-2241) The commandline is not working since cocoon-1985

    [ https://issues.apache.org/jira/browse/COCOON-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627631#action_12627631 ] 

Thorsten Scherler commented on COCOON-2241:
-------------------------------------------

Committed revision 691199

Slight modification:
changed one line to be:

   this.objectModel.put(CLI_REQUEST_ID, new String(uri));

> The commandline is not working since cocoon-1985
> ------------------------------------------------
>
>                 Key: COCOON-2241
>                 URL: https://issues.apache.org/jira/browse/COCOON-2241
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.12-dev (Current SVN)
>            Reporter: Thorsten Scherler
>             Fix For: 2.1.12-dev (Current SVN)
>
>         Attachments: COCOON-2241.txt, COCOON-2241.txt, COCOON-2241.txt
>
>
> Updating forrest to use cocoon-2.1.x, I found a problem in the
> AbstractCachingProcessingPipeline.
> I am not sure whether someone is using the cocoon cli ATM. Forrest is
> based around this component. 
> https://issues.apache.org/jira/browse/FOR-955?focusedCommentId=12624340#action_12624340
> I found that in
> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline line 245 
> Object lock =
> env.getObjectModel().get(HttpEnvironment.HTTP_REQUEST_OBJECT); 
> the lock is null which causes the NPE in the end.
> The problem is that the cli environment does not store the requested object.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.