Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-6169

SpringProcessEngineTestCase#clearTestContextCache() throws a NoSuchFieldException

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.4.x, 7.5.x
    • Component/s: engine
    • Labels:

      Description

      With Spring 4 the class TestContextManager does not contain the field contextCache anymore. So whenever a spring test case is executed with Spring 4 a NoSuchFieldException is thrown.

      AT:

      • provide an if-clause (or try/catch) whether the field contextCache does exist

      Hints:
      https://github.com/camunda/camunda-bpm-platform/blob/master/engine-spring/src/main/java/org/camunda/bpm/engine/spring/impl/test/SpringProcessEngineTestCase.java#L64

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              roman.smirnov Smirnov Roman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: