Github user nreich commented on a diff in the pull request:

    https://github.com/apache/geode/pull/753#discussion_r136643154
  
    --- Diff: 
geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/RegionSnapshotServiceImpl.java
 ---
    @@ -342,6 +342,7 @@ private void exportOnMember(File snapshot, 
SnapshotFormat format, SnapshotOption
     
         long count = 0;
         long start = CachePerfStats.getStatTime();
    +    snapshot.getParentFile().mkdirs();
    --- End diff --
    
    You are correct: if only a relative route to a specific file is provided 
(which would be an error condition in this case), getParentFile() will return 
null. I can handle that case more gracefully.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to