Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7493

JPA Entity causes NPE when being used as case file variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.10.0.Final
    • 7.9.0.Final
    • Runtime Engine
    • None
    • 2
    • NEW
    • NEW
    • 2018 Week 30-32

      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)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: