Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2241

The commandline is not working since cocoon-1985

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.12
    • 2.1.12
    • * Cocoon Core
    • 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.

      Attachments

        1. COCOON-2241.txt
          7 kB
          Thorsten Scherler
        2. COCOON-2241.txt
          7 kB
          Thorsten Scherler
        3. COCOON-2241.txt
          2 kB
          Thorsten Scherler

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thorsten Thorsten Scherler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: