Cocoon
  1. Cocoon
  2. COCOON-2241

The commandline is not working since cocoon-1985

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.12
    • Fix Version/s: 2.1.12
    • Component/s: * Cocoon Core
    • Labels:
      None

      Description

      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.
      1. COCOON-2241.txt
        2 kB
        Thorsten Scherler
      2. COCOON-2241.txt
        7 kB
        Thorsten Scherler
      3. COCOON-2241.txt
        7 kB
        Thorsten Scherler

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Thorsten Scherler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development