[
https://issues.jboss.org/browse/JBTM-3192?page=com.atlassian.jira.plugin....
]
Martin Stefanko commented on JBTM-3192:
---------------------------------------
The issue is caused by [this
line|https://github.com/jbosstm/narayana/blob/master/rts/lra/lra-coordina...]
where when the compensatorLink is empty String the participant lookup fails down the line
which results into 412 status code being returned from the joinLRA operation of the nested
LRA in the quickstart.
LRA quickstarts cannot compile
------------------------------
Key: JBTM-3192
URL:
https://issues.jboss.org/browse/JBTM-3192
Project: JBoss Transaction Manager
Issue Type: Bug
Affects Versions: 5.9.8.Final
Reporter: Martin Stefanko
Assignee: Martin Stefanko
Priority: Major
when running [/rts/lra|https://github.com/jbosstm/quickstart/tree/master/rts/lra] with
{{mvn clean install}} or {{run.sh}} script both fail with:
{code:java}
Caused by: java.lang.NullPointerException
at com.fasterxml.jackson.core.JsonFactory.createParser (JsonFactory.java:889)
at com.fasterxml.jackson.databind.ObjectMapper.readValue (ObjectMapper.java:3005)
at TripClient.bookTrip (TripClient.java:89)
at TripClient.main (TripClient.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:293)
at java.lang.Thread.run (Thread.java:748)
{code}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)