Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1424

JPA Entity causes NPE when being used as case file variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.2.GA
    • 7.0.1.GA
    • jBPM Core
    • None

      When JPA entity is used as case file variable it will be stored properly but on each retrieval of case file (and by that all operations) will fail at loading it due to missing entity manager in JPAPlaceholderResolverStrategy. The root cause is that onStart (from TransactionAware interface) is not invoked in the right order/place causing missing entity manager.

              swiderski.maciej Maciej Swiderski (Inactive)
              swiderski.maciej Maciej Swiderski (Inactive)
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: