aboutsummaryrefslogtreecommitdiffstats
path: root/netx
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-09-22 17:00:02 -0400
committerOmair Majid <[email protected]>2011-09-22 17:00:02 -0400
commit94355bd36513b3f649c1c027dd50e63862f1d635 (patch)
tree2765aaf4c5fc412b4d17e53746eba5accda1854f /netx
parent9de7a66d1cc25bdccaf582d6eafd28120f8d4b38 (diff)
PR788: Elluminate Live! is not working
2011-09-22 Omair Majid <[email protected]> PR788: Elluminate Live! is not working * NEWS: Update. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (checkForMain): If localFile is null (JAR couldn't be downloaded), try to continue, rather than allowing the exception to cause an abort.
Diffstat (limited to 'netx')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java7
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();