Skip to content

Commit

Permalink
AMBW-46776
Browse files Browse the repository at this point in the history
[Regression][MAC] Null pointer exception is getting thrown when we run Maven samples
  • Loading branch information
richardyam-tibco committed Sep 22, 2022
1 parent bd8524b commit a06c037
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ else if( "Operation".equals(cEl.getNodeName()))
BWTestConfig.INSTANCE.getLogger().debug("Process : "+ processName + ", Activity : "+ activityName+ ", Id : "+ location +", Error : Invalid Mock Output File Path - "+mockOutputFilePath);
throw new Exception("Process : "+ processName + ", Activity : "+ activityName+ ", Id : "+ location +", Error : Invalid Mock Output File Path - "+mockOutputFilePath);
}
// on Mac and Unix - will replace backslash with forward slash
// on Windows - noop
mockOutputFilePath = mockOutputFilePath.replace("\\", File.separator);
File file = new File(mockOutputFilePath);
if(!file.isAbsolute()){
BWTestConfig.INSTANCE.getLogger().debug("Provided Mock File path is relative "+file.getPath());
Expand Down

0 comments on commit a06c037

Please sign in to comment.