Skip to content

Commit

Permalink
Gestito nullpointer in caso di assenza dell'RT
Browse files Browse the repository at this point in the history
  • Loading branch information
nardil committed Jun 18, 2020
1 parent 3a1b037 commit 54947fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jars/core/src/main/java/it/govpay/core/utils/RptUtils.java
Expand Up @@ -401,7 +401,7 @@ public static boolean aggiornaRptDaNpD(Intermediario intermediario, Rpt rpt, Bas
DataHandler dh = nodoChiediCopiaRTRisposta.getRt();
dh.writeTo(output);
rtByte = output.toByteArray();
} catch (IOException e) {
} catch (Exception e) {
if(chiediCopiaRTClient != null) {
chiediCopiaRTClient.getEventoCtx().setSottotipoEsito(EsitoOperazione.INTERNAL.name());
chiediCopiaRTClient.getEventoCtx().setEsito(Esito.FAIL);
Expand Down

0 comments on commit 54947fa

Please sign in to comment.