Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3186

Safeguard LRA filters for situations when CDI is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.10.0.Final
    • None
    • LRA
    • None

    Description

      When CDI is not available in LRA microservice, following exception is thrown:

      Caused by: java.lang.NullPointerException
      	at io.narayana.lra.filter.ServerLRAFilter.filter(ServerLRAFilter.java:311)
      

      This is thrown because CDI is not available in the container. The check for null injection can prohibit this behavior and LRA can still function for REST-based services in case CDI is not present.

      Attachments

        Activity

          People

            mstefank Martin Stefanko
            mstefank Martin Stefanko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: