Skip to content

Commit

Permalink
CB-5717 npe fix (#2968)
Browse files Browse the repository at this point in the history
Co-authored-by: kseniaguzeeva <[email protected]>
  • Loading branch information
alexander-skoblikov and kseniaguzeeva authored Oct 9, 2024
1 parent a4c3624 commit 8b54e31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public List<BaseProjectImpl> getProjects() {
@Nullable
@Override
public BaseProjectImpl getProject(@NotNull String projectName) {
if (globalProject.getId().equals(projectName)) {
if (globalProject != null && globalProject.getId().equals(projectName)) {
return globalProject;
}
return null;
Expand Down

0 comments on commit 8b54e31

Please sign in to comment.