Activiti
  1. Activiti
  2. ACT-714

Multi-threaded usage of non thread safe java.util.HashMap in ClassNameUtil

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 5.3
    • Fix Version/s: 5.10
    • Component/s: Engine
    • Labels:
      None
    • Number of attachments :
      0

      Description

      org.activiti.engine.impl.util.ClassNameUtil uses java.util.HashMap to cache class names.

      The usage of the cachedNames hash map is NOT synchronized while this utility class might be used by more than one threads at the same time.

      This can cause severe issues: the engine might fail to initialize properly or unexpected exceptions might be raised randomly later at runtime.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Peter Horvath
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: