I’m using ubuntu 22 and trying to run fatoora script but i get this issue even tho i have changed java to 11
drhex@drhex:~/Desktop/ZATCA/zatca-einvoicing-sdk-238-R3.3.5/Apps$ ./fatoora -help
********** Welcome to ZATCA E-Invoice Java SDK 3.3.5 *********************
This SDK uses Java to call the SDK (jar) passing it an invoice XML file.
It can take a Standard or Simplified XML, Credit Note, or Debit Note.
It returns if the validation is successful or shows errors where the XML validation fails.
It checks for syntax and content as well.
You can use the command (fatoora -help) for more information.
java.lang.NullPointerException
at java.base/sun.nio.fs.UnixPath.normalizeAndCheck(UnixPath.java:75)
at java.base/sun.nio.fs.UnixPath.(UnixPath.java:69)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:279)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at com.zatca.config.Config.readResourcesPaths(Config.java:28)
at com.zatca.config.ResourcesPaths.getInstance(ResourcesPaths.java:27)
at com.zatca.sdk.service.ArgumentHandlerService.(ArgumentHandlerService.java:25)
at com.zatca.sdk.MainApp.execute(MainApp.java:52)
at com.zatca.sdk.MainApp.main(MainApp.java:121)
2024-10-15 04:40:47,413 [ERROR] ArgumentHandlerService - an error to display thte usage from the file
drhex@drhex:~/Desktop/ZATCA/zatca-einvoicing-sdk-238-R3.3.5/Apps$