Commits

Jan Lahoda committed 7c482b4

Preventing NPE in FileUtil.getArchiveFile.

Comments (0)

Files changed (1)

remoting/server/indexer/impl/src/org/netbeans/modules/jackpot30/backend/impl/OptionProcessorImpl.java

                                 }
                             } else {
                                 FileObject root = e.getRoot();
-                                FileObject jar = FileUtil.getArchiveFile(root);
+                                FileObject jar = root != null ? FileUtil.getArchiveFile(root) : null;
 
                                 if (jar != null) root = jar;