exasol/error-code-crawler-maven-plugin

NullPointerException when the error codes are not specified in the config

Closed this issue · 0 comments

How to reproduce

Create a code config file without tags:

error-tags:

Error Message

  Failed to execute goal com.exasol:error-code-crawler-maven-plugin:0.5.1:verify (default) on project row-level-security: E-ECM-7: Failed to read projects error_code_config.yml. Cannot construct instance of `com.exasol.errorcodecrawlermavenplugin.config.ErrorCodeConfig`, problem: `java.lang.NullPointerException`

Solution

Add a dedicated error and a message for this case.