whaon commented on issue #7108:
URL:
https://github.com/apache/incubator-seata/issues/7108#issuecomment-3257426827
the same question
```
java.lang.NullPointerException: Cannot invoke
"io.seata.saga.engine.StateMachineEngine.reloadStateMachineInstance(String)"
because the return value of
"io.seata.saga.rm.StateMachineEngineHolder.getStateMachineEngine()" is null
at
io.seata.saga.rm.SagaResourceManager.branchRollback(SagaResourceManager.java:135)
~[seata-all-2.5.0.jar:2.5.0]
at
org.apache.seata.rm.AbstractRMHandler.doBranchRollback(AbstractRMHandler.java:131)
~[seata-all-2.5.0.jar:2.5.0]
at
org.apache.seata.rm.AbstractRMHandler$2.execute(AbstractRMHandler.java:71)
~[seata-all-2.5.0.jar:2.5.0]
```
beacause the org.apache.seata.rm.AbstractRMHandler.doBranchRollback called
io.seata.saga.rm.SagaResourceManager.branchRollback
the package is different
some pics when debug:
<img width="1239" height="291" alt="Image"
src="https://github.com/user-attachments/assets/8541c5a1-4671-4587-aefe-20f0c91ca3db"
/>
<img width="1227" height="475" alt="Image"
src="https://github.com/user-attachments/assets/945f8d7a-47d3-4379-8a52-e1d93d6a5074"
/>
<img width="1794" height="582" alt="Image"
src="https://github.com/user-attachments/assets/3f7e0c12-2272-40bb-89ff-ae58bec16829"
/>
<img width="1600" height="517" alt="Image"
src="https://github.com/user-attachments/assets/2d2d35cb-0d7a-4ef9-aeb3-cc5a657f0956"
/>
the class in org.apache.seata is covered by the class in io.seata.saga
as above, the saga mode and the tcc mode have the same problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]