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

“Entity must not be null for http method PUT.” from NarayanaLRAClient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.11.0.Final
    • 5.9.10.Final
    • LRA
    • None
    • Hide

      Attempt to use the client with Jersey (where it is flagged) rather than RestEasy (where it is not).

      Show
      Attempt to use the client with Jersey (where it is flagged) rather than RestEasy (where it is not).
    • Undefined

      “Entity must not be null for http method PUT.”  occurs as a result of this line…  https://github.com/jbosstm/narayana/blob/3a700cc6203d17e4a5fef74bcf81e3ec049240ec/[…]ent/src/main/java/io/narayana/lra/client/NarayanaLRAClient.java

      Solution is to use to use `Entity.text(“”)` instead of `null` for the put.

      The same issue occurred in LRARecord a while back and was fixed with the same solution in order to conform to spec.

              rhn-engineering-mmusgrov Michael Musgrove
              paul.parkinson Paul Parkinson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: