diff --git a/src/main/java/io/oeid/mogakgo/domain/profile/infrastructure/ProfileCardRepositoryCustomImpl.java b/src/main/java/io/oeid/mogakgo/domain/profile/infrastructure/ProfileCardRepositoryCustomImpl.java index 1740e202..006bd789 100644 --- a/src/main/java/io/oeid/mogakgo/domain/profile/infrastructure/ProfileCardRepositoryCustomImpl.java +++ b/src/main/java/io/oeid/mogakgo/domain/profile/infrastructure/ProfileCardRepositoryCustomImpl.java @@ -46,7 +46,7 @@ public CursorPaginationResult findByConditionWithPaginati profileCard.getUser().getGithubUrl(), profileCard.getUser().getBio(), profileCard.getUser().getJandiRate(), - profileCard.getUser().getAchievement().getTitle(), + profileCard.getUser().getAchievement() != null ? profileCard.getUser().getAchievement().getTitle() : null, profileCard.getUser().getUserDevelopLanguageTags().stream().map( UserDevelopLanguageTag::getDevelopLanguage).map(String::valueOf).toList(), profileCard.getUser().getUserWantedJobTags().stream().map( diff --git a/src/main/java/io/oeid/mogakgo/domain/project/infrastructure/ProjectRepositoryCustomImpl.java b/src/main/java/io/oeid/mogakgo/domain/project/infrastructure/ProjectRepositoryCustomImpl.java index 1fe450d0..15ae2fe5 100644 --- a/src/main/java/io/oeid/mogakgo/domain/project/infrastructure/ProjectRepositoryCustomImpl.java +++ b/src/main/java/io/oeid/mogakgo/domain/project/infrastructure/ProjectRepositoryCustomImpl.java @@ -54,7 +54,7 @@ public CursorPaginationResult findByConditionWithPagination project.getCreator().getGithubUrl(), project.getCreator().getBio(), project.getCreator().getJandiRate(), - project.getCreator().getAchievement().getTitle(), + project.getCreator().getAchievement() != null ? project.getCreator().getAchievement().getTitle() : null, project.getCreator().getUserDevelopLanguageTags().stream().map( UserDevelopLanguageTag::getDevelopLanguage).map(String::valueOf).toList(), project.getCreator().getUserWantedJobTags().stream().map(