--- apisupport.project/src/org/netbeans/modules/apisupport/project/queries/SourceForBinaryImpl.java 2008-04-21 18:42:38.000000000 +0200 +++ apisupport.project/src/org/netbeans/modules/apisupport/project/queries/SourceForBinaryImpl.java 2008-05-15 17:28:30.000097000 +0200 @@ -46,6 +46,8 @@ import java.net.URL; import java.util.Map; import java.util.HashMap; +import java.util.logging.Level; +import java.util.logging.Logger; import javax.swing.event.ChangeListener; import org.netbeans.api.java.queries.SourceForBinaryQuery; import org.netbeans.modules.apisupport.project.NbModuleProject; @@ -119,7 +121,10 @@ } File loc = project.getHelper().resolveFile(text); URL u = FileUtil.urlForArchiveOrDir(loc); - if (u.equals(binaryRoot)) { + if (u == null) { + Logger.getLogger(SourceForBinaryImpl.class.getName()).log(Level.WARNING, "null URL returned for file "+loc); + } + else if (u.equals(binaryRoot)) { res = new Result(entry.getKey()); break ECUS; }