title: Getting a NPE on Java 11 jdeps tool when scanning Spring Boot .jar files
body: <p>When I'm trying to find the Java modules that I need to link in my custom JRE, I do get an NPE from <code>jdeps</code> tool:</p>
  
  <pre><code>marc$ jdeps --module-path $JAVA_HOME/jmods --print-module-deps --multi-release 11 target/blha/jx1-0.0.1-SNAPSHOT/BOOT-INF/lib/*.jar
  Exception in thread "main" java.lang.NullPointerException
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.requiresTransitive(ModuleGraphBuilder.java:124)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.buildGraph(ModuleGraphBuilder.java:110)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.reduced(ModuleGraphBuilder.java:65)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleExportsAnalyzer.modules(ModuleExportsAnalyzer.java:124)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleExportsAnalyzer.run(ModuleExportsAnalyzer.java:97)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$ListModuleDeps.run(JdepsTask.java:1023)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:560)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:519)
      at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
  </code></pre>
  
  <p>Any idea how to find all modules that I need to link to the custom JRE for this Spring Boot project?</p>