Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions deep/src/main/java/com/intergral/deep/DeepLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@ private File getToolsJar() {
* @return the {@link File} object for the agent
*/
private File getAgentJar(final String jarPath) {
final File file = new File(jarPath);
if (file.exists()) {
return file;
if (jarPath != null) {
final File file = new File(jarPath);
if (file.exists()) {
return file;
}
}
final InputStream resourceAsStream = getAgentJarStream();
final String pathname = extractLibrary(resourceAsStream);
Expand Down