smokeelow / intellij-sfcc

Salesforce B2C Commerce Plugin for JetBrains IDEs | Intellij SFCC. Used only as issue tracker.
2 stars 0 forks source link

[IntelliJ][ReportedByUser] Uncaught Exception SelectCodeVersionSelectorAction#update@MainToolbar (io.divetek.sfcc.action.SelectCodeVersionSelectorAction), actionId=B2CCommerceCodeVersionSelectRight, text='code' java.util.ConcurrentModificationException #31

Closed SebastianRuedel closed 1 year ago

SebastianRuedel commented 1 year ago

IntelliJ build version: 2023.1 IU-231.8109.175 OS: Linux JDK: JetBrains s.r.o. 17.0.6 Plugin version: 2023.1 Additional Info: None Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,28,1920x1001,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:


IdeaLoggingEvent[message=SelectCodeVersionSelectorAction#update@MainToolbar (io.divetek.sfcc.action.SelectCodeVersionSelectorAction), actionId=B2CCommerceCodeVersionSelectRight, text='code', throwable=java.util.ConcurrentModificationException
    at java.base/java.util.ArrayList.sort(ArrayList.java:1723)
    at java.base/java.util.Collections.sort(Collections.java:179)
    at kotlin.collections.CollectionsKt__MutableCollectionsJVMKt.sortWith(MutableCollectionsJVM.kt:42)
    at io.divetek.sfcc.service.CodeVersionsStorage.getCodeVersions(CodeVersionsStorage.kt:101)
    at io.divetek.sfcc.action.SelectCodeVersionSelectorAction.update(SelectCodeVersionSelectorAction.kt:47)
    at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:158)
    at co