-
Bug
-
Resolution: Fixed
-
High
-
JCMA - 1.8.2, JCMA - 1.9.0
-
None
-
10
-
Severity 3 - Minor
-
30
Issue Summary
If the Jira Admin user running the migration in JCMA has an invalid (or empty/NULL) email address, the App Assessment UI in JCMA won't load properly and an error pop-up will surface.
By "load properly", this means the user won't have the Assess your apps/Prepare your apps menus nor the View app assessment button available.
The Attachments size count will also show "NaN undefined" instead of the actual size.
This is reproducible on Data Center:
Steps to Reproduce
- Log in to Jira Server/DC with an Admin User that does not have a valid email address
- Try to create a plan in the Jira Cloud Migration Assistant App
Expected Results
- JCMA's UI load properly and trigger this invalid email problem under the Assess and prepare your users.
Actual Results
JCMA's home page will not allow the App Assessment area to load properly and an error pop up will surface on the left bottom portion of the UI, without any indication of the actual problem.
Log errors
The below exceptions are thrown in the atlassian-jira.log file:
2023-04-17 19:19:12,967+0000 http-nio-8080-exec-11 WARN jira_admin_username 1159x559x1 10lqbgk 111.222.333.444,127.0.0.1 /rest/migration/latest/mas/event/ui [c.a.cmpt.crypto.BcryptAnalyticsEmailHasher] Malformed email address java.lang.IllegalArgumentException: Malformed email address. Does not contain only one mandatory symbol @ at com.atlassian.cmpt.crypto.BcryptAnalyticsEmailHasher.cleanEmail(BcryptAnalyticsEmailHasher.java:45) (...) at com.atlassian.cmpt.analytics.events.EventDto$Builder.email(EventDto.java:141) at com.atlassian.jira.migration.assessment.AppAssessmentAnalyticsEventService.saveEventsForAction(AppAssessmentAnalyticsEventService.kt:66) at com.atlassian.jira.migration.assessment.AppAssessmentAnalyticsEventService.saveAppsFetchedEvent(AppAssessmentAnalyticsEventService.kt:32) at com.atlassian.jira.migration.assessment.AppAssessmentService.buildAppSummaries(AppAssessmentService.kt:119) at com.atlassian.jira.migration.assessment.AppAssessmentService.buildAppSummaries$default(AppAssessmentService.kt:107) at com.atlassian.jira.migration.assessment.AppAssessmentService.getAppsAssessment(AppAssessmentService.kt:47) at com.atlassian.jira.migration.assessment.rest.AppAssessmentResource.getAppAssessments(AppAssessmentResource.kt:32)
2023-04-17 19:19:12,969+0000 http-nio-8080-exec-11 ERROR jira_admin_username 1159x559x1 10lqbgk 111.222.333.444,127.0.0.1 /rest/migration/latest/mas/event/ui [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: CacheLoader returned null for key . com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key . at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2314)
Workaround
Use the public doc below to find and fix any invalid (or empty/NULL) email addresses on Jira Server/DC:
- relates to
-
MOVE-1746380 Loading...