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 java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details. #39

Closed ghgofort closed 1 year ago

ghgofort commented 1 year ago

IntelliJ build version: 2022.3.3 IU-223.8836.41 OS: Mac OS X JDK: JetBrains s.r.o. 17.0.6 Plugin version: 2023.1 Additional Info: None Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1390x1056,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:


IdeaLoggingEvent[message=null, throwable=java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details.
  current modality=ModalityState.NON_MODAL
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    at com.intellij.openapi.application.TransactionGuardImpl.assertWriteActionAllowed(TransactionGuardImpl.java:135)
    at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:56)
    at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:114)
    at com.intellij.o
smokeelow commented 1 year ago

hi @ghgofort let me know if issue is still valid in 2023.2 . Should be fixed ( at least cases i was able to catch)

ghgofort commented 1 year ago

This doesn't seem to be an issue any longer for me, ty for your time & efforts.