Skip to content

Commit

Permalink
fixed NPE when creation of invoice document was cancelled by user
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Oct 26, 2024
1 parent 0327431 commit da5dd1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2551,7 +2551,7 @@ private void cmdCreateInvoiceDocumentActionPerformed(java.awt.event.ActionEvent
}

ArchiveFileDocumentsBean invoiceDoc = this.caseView.newDocumentDialog(null, currentEntry, senderUser, this.getInvoicePositionsAsTable(this.cmbTableHeadersLanguage.getSelectedItem().toString()), timesheetPosTable, giroCode, null);
if (this.currentEntry != null) {
if (invoiceDoc!=null && this.currentEntry != null) {
this.save();
try {
JLawyerServiceLocator locator = JLawyerServiceLocator.getInstance(ClientSettings.getInstance().getLookupProperties());
Expand Down

0 comments on commit da5dd1e

Please sign in to comment.