Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

SUBMARINE-79. Solve potential NPE for MockRemoteDirectoryManager#223

Closed
cchung100m wants to merge 1 commit intoapache:masterfrom
cchung100m:SUBMARINE-79
Closed

SUBMARINE-79. Solve potential NPE for MockRemoteDirectoryManager#223
cchung100m wants to merge 1 commit intoapache:masterfrom
cchung100m:SUBMARINE-79

Conversation

@cchung100m
Copy link
Copy Markdown

What is this PR for?

Solve potential NPE for MockRemoteDirectoryManager

MockRemoteDirectoryManager#getModelDir:

File modelDir = new File(modelParentDir.getAbsolutePath(), modelName);

If modelParentDir is null, we could have an NPE easily.

What type of PR is it?

[Bug Fix | Improvement ]

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-79

How should this be tested?

https://travis-ci.com/cchung100m/submarine/builds/152619875

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

Copy link
Copy Markdown
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asfgit asfgit closed this in 99109b9 Mar 12, 2020
@cchung100m
Copy link
Copy Markdown
Author

@liuxunorg

Thanks for managing this PR. :)

@cchung100m cchung100m deleted the SUBMARINE-79 branch March 12, 2020 01:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants