codingapi / codingapi/tx-lcn

事物回滚报空指针异常

Offen
#371 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
4.2k
Forks
1.4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

- [ ] I have searched the [issues](https://github.com/codingapi/tx-lcn/issues) of this repository and believe that this is not a duplicate.

### 1. Bug Description
类 TransactionControlTemplate,传入到DefaultDTXExceptionHandler中的ex是空的
![image](https://user-images.githubusercontent.com/23046300/57596621-2b0b4a00-757e-11e9-9827-71925b22602b.png)
这里调用会报空指针

### 2. Environment:
- JDK version:
- OS:
- TX-LCN version:
- Others:

### 3. Exception Stacktrace

```
Paste your Exception Stacktrace here!
```

### 4. Tour Idea

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by tracing the rollback path from TransactionControlTemplate into DefaultDTXExceptionHandler, where the issue reports that ex is null. Reproduce the rollback failure using the reported scenario and inspect the available stack trace or surrounding handling logic. Done means rollback no longer causes a null-pointer exception, with regression coverage if an existing test location can be identified.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend, distributed-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.