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

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.1.GA
    • Fix Version/s: 7.0.2.GA
    • Component/s: jBPM Core
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  swiderski.maciej Maciej Swiderski
                  Tester:
                  Marián Macik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: