[jbossts-issues] [JBoss JIRA] (JBTM-3186) Safeguard LRA filters for situations when CDI is not available

Martin Stefanko (Jira) issues at jboss.org
Mon Sep 2 17:05:00 EDT 2019


     [ https://issues.jboss.org/browse/JBTM-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stefanko updated JBTM-3186:
----------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/jbosstm/narayana/pull/1495


> Safeguard LRA filters for situations when CDI is not available 
> ---------------------------------------------------------------
>
>                 Key: JBTM-3186
>                 URL: https://issues.jboss.org/browse/JBTM-3186
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: LRA
>            Reporter: Martin Stefanko
>            Assignee: Martin Stefanko
>            Priority: Major
>
> When CDI is not available in LRA microservice, following exception is thrown:
> {code:java}
> Caused by: java.lang.NullPointerException
> 	at io.narayana.lra.filter.ServerLRAFilter.filter(ServerLRAFilter.java:311)
> {code}
> 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.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jbossts-issues mailing list