You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix null profile name not handled and throw NPE (#5541)
* fix empty profile name provided as the response
* Update plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt
Co-authored-by: Richard Li <742829+rli@users.noreply.github.com>
---------
Co-authored-by: Richard Li <742829+rli@users.noreply.github.com>
Co-authored-by: evanliu048 <evannliu@amazon.com>
Copy file name to clipboardExpand all lines: plugins/amazonq/shared/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/profile/QRegionProfileManager.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ class QRegionProfileManager : PersistentStateComponent<QProfileState>, Disposabl
74
74
.awsClient<CodeWhispererRuntimeClient>()
75
75
.listAvailableProfilesPaginator {}
76
76
.profiles()
77
-
.map { p ->QRegionProfile(arn = p.arn(), profileName = p.profileName()) }
0 commit comments