When running code analyzer without any arguments it throws a java.lang.NullPointerException.
It would be nice if it printed out some helpful information about how to use it instead. ;-)
$ java -jar codeanalyzer.jar
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:209)
at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:263)
at java.base/java.nio.file.Path.of(Path.java:147)
at java.base/java.nio.file.Paths.get(Paths.java:69)
at com.ibm.northstar.utils.BuildProject.downloadLibraryDependencies(BuildProject.java:132)
at com.ibm.northstar.CodeAnalyzer.analyze(CodeAnalyzer.java:107)
at com.ibm.northstar.CodeAnalyzer.run(CodeAnalyzer.java:86)
at picocli.CommandLine.executeUserObject(CommandLine.java:1767)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2139)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2106)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1973)
at picocli.CommandLine.execute(CommandLine.java:1902)
at com.ibm.northstar.CodeAnalyzer.main(CodeAnalyzer.java:77)
When running code analyzer without any arguments it throws a
java.lang.NullPointerException
.It would be nice if it printed out some helpful information about how to use it instead. ;-)