The following task is failed:

Task name: "Execute operation '/periodic_task' with ID XXXXX on resource YYYYY"

Task description: create_invoices.

Task is failed with an error

'500 Internal Server Error' received from 'POST': 

azure-nce.log shows that 2 invoices were received by the application, one of them is a "usage" invoice with 0 usage

2021-04-15 17:09:07,514 DEBUG [$Slf4JLogger] ( pool-2-thread-84) <PCSDK> The request: 'GET' has been completed: '200'

 2021-04-15 17:09:07,515 TRACE [$Slf4JLogger] ( pool-2-thread-84) <PCSDK> body:

and "create_invoice" task was failed after the invoices were received

 2021-04-15 17:09:07,579 ERROR [] ( pool-2-thread-84) Executing periodic task 'create_invoices' was failed
 java.lang.NullPointerException: null


Software related issue APSA-23570 "Azure NCE create_invoice task failed".

One of the invoices contained zero usage and "invoiceDate" value was in the future from the "last_invoiced_month" value


As a result, invoices were filtered out by the application.


The issue has been fixed in Azure NCE 1.6. Please consider the application upgrade accordingly.