ministero-salute / it-dgc-gateway-client

EU Digital COVID Certificate Gateway Client is part of the national backends and periodically downloads the public keys that are distributed through the DGCG.
GNU Affero General Public License v3.0
6 stars 2 forks source link

[BUG] Null pointer in AkamaiFastPurge.java #18

Open matteobaccan opened 3 years ago

matteobaccan commented 3 years ago

Describe the bug

There is a null reference inside invalidateUrls() when status is not assigned

To Reproduce

To reproduce the error is necessary to have a problem with akamai post. After this this line produce a null pointer

return status.toString();

Expected behaviour

Check null pointer

Additional context

I have already fixed the problem and I can submit a FIX