Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2012-04-04 06:25:26 -0400
committerMarkus Tiede2012-04-04 06:25:26 -0400
commit4bdce8cf74ca1157309eb86261bce90dbf3621f6 (patch)
tree3e10868c07f9c2a203b5f6108670aa96dcfc4cad /org.eclipse.jubula.autagent
parent6d50c2282400e0312fbd8375d4eb9058b7eeb358 (diff)
downloadorg.eclipse.jubula.core-4bdce8cf74ca1157309eb86261bce90dbf3621f6.tar.gz
org.eclipse.jubula.core-4bdce8cf74ca1157309eb86261bce90dbf3621f6.tar.xz
org.eclipse.jubula.core-4bdce8cf74ca1157309eb86261bce90dbf3621f6.zip
Sprint task - enhancement 376040: patch 213565 applied.
Diffstat (limited to 'org.eclipse.jubula.autagent')
-rw-r--r--org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/commands/AbstractStartToolkitAut.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/commands/AbstractStartToolkitAut.java b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/commands/AbstractStartToolkitAut.java
index cbb7e19db..75b848130 100644
--- a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/commands/AbstractStartToolkitAut.java
+++ b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/commands/AbstractStartToolkitAut.java
@@ -295,12 +295,15 @@ public abstract class AbstractStartToolkitAut implements IStartAut {
}
} else {
Enumeration<URL> e = bundle.findEntries(
- "/", "*.jar", true); //$NON-NLS-1$//$NON-NLS-2$
- while (e.hasMoreElements()) {
- URL jarUrl = e.nextElement();
- classpathEntries.add(
- new File(bundleFile + jarUrl.getFile())
- .getAbsolutePath());
+ "/", "*.jar", true);
+ if (e != null) {
+ //$NON-NLS-1$//$NON-NLS-2$
+ while (e.hasMoreElements()) {
+ URL jarUrl = e.nextElement();
+ classpathEntries.add(
+ new File(bundleFile + jarUrl.getFile())
+ .getAbsolutePath());
+ }
}
}
} catch (IOException ioe) {

Back to the top