Regarding the NullPointerException it seems it can not find version.properties file in this line
version.properties
I guess you need to configure resources that need to be included in the native image as well.
These might be related: