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 Unhandled exception in [CoroutineName(com.intellij.ui.IconCalculatingService), StandaloneCoroutine{Cancelling}@223f5ec8, Dispatchers.Default] java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiFile #61

Open SarahHazgui opened 8 months ago

SarahHazgui commented 8 months ago

IntelliJ build version: 2023.3.2 IU-233.13135.103 OS: Mac OS X JDK: JetBrains s.r.o. 17.0.9 Plugin version: 2023.2.1.233 Additional Info: None Parent component:

javax.swing.JRootPane[,0,0,1920x1056,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=com.intellij.ui.ToolbarServiceImpl$setTransparentTitleBar$customBorder$1@682d36a7,flags=16777673,maximumSize=,minimumSize=,preferredSize=]

Error message:


IdeaLoggingEvent[message=Unhandled exception in [CoroutineName(com.intellij.ui.IconCalculatingService), StandaloneCoroutine{Cancelling}@223f5ec8, Dispatchers.Default], throwable=java.lang.NullPointerException: null cannot be cast to non-null type com.intellij.psi.PsiFile
    at icons.SfccIcons.getIcon(SfccIcons.kt:615)
    at io.divetek.sfcc.icons.providers.SfccIconProvider.getIcon(SfccIconProvider.kt:30)
    at com.intellij.util.IconUtilKt.getProviderIcon(IconUtil.kt:586)
    at com.intellij.util.IconUtilKt.computeFileIconImpl(IconUtil.kt:562)
    at com.intellij.util.IconUtilKt.access$computeFileIconImpl(IconUtil.kt:1)
    at com.intellij.util.IconUtil.compu