diff options
Diffstat (limited to 'netx/net/sourceforge/jnlp')
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java index 09f05cf..1706076 100644 --- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java +++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java @@ -586,9 +586,10 @@ public class JNLPClassLoader extends URLClassLoader { File localFile = tracker .getCacheFile(jars.get(i).getLocation()); - if (localFile == null) - throw new NullPointerException( - "Could not locate jar file, returned null"); + if (localFile == null) { + System.err.println("JAR " + jars.get(i).getLocation() + " not found. Continuing."); + continue; // JAR not found. Keep going. + } JarFile jarFile = new JarFile(localFile); Enumeration<JarEntry> entries = jarFile.entries(); |