smokeelow / intellij-sfcc

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

java.lang.RuntimeException: Cannot invoke (class=OpenStorefrontAction, method=scopeChanged, topic=Site Scope changed) #38

Open smokeelow opened 1 year ago

smokeelow commented 1 year ago

java.lang.RuntimeException: Cannot invoke (class=OpenStorefrontAction, method=scopeChanged, topic=Site Scope changed) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:657) at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:415) at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:394) at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1) at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:454) at jdk.proxy6/jdk.proxy6.$Proxy362.scopeChanged(Unknown Source) at io.divetek.sfcc.service.SiteScopeSettings$MyFileChangeListener.onChange$lambda$1(SiteScopeSettings.kt:192) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:788) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:731) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:758) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:667) at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:571) at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1446) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:571) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:995) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:995) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92) Suppressed: java.lang.RuntimeException: Cannot invoke (class=OpenStorefrontAction, method=scopeChanged, topic=Site Scope changed) ... 36 more Caused by: com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:910) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:858) at com.intellij.util.indexing.FileBasedIndexEx.processAllKeys(FileBasedIndexEx.java:166) at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:905) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getIndexedSites(SitesIndex.kt:47) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider$Companion.createSitesCache(SitesCacheValueProvider.kt:12) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider.compute(SitesCacheValueProvider.kt:16) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:244) at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:244) at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:245) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getSites(SitesIndex.kt:77) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.refreshStorefrontActions(OpenSelectedConnectionAction.kt:106) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.scopeChanged(OpenSelectedConnectionAction.kt:116) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:680) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:640) ... 35 more Suppressed: java.lang.RuntimeException: Cannot invoke (class=OpenStorefrontAction, method=scopeChanged, topic=Site Scope changed) ... 36 more Caused by: com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:910) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:858) at com.intellij.util.indexing.FileBasedIndexEx.processAllKeys(FileBasedIndexEx.java:166) at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:905) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getIndexedSites(SitesIndex.kt:47) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider$Companion.createSitesCache(SitesCacheValueProvider.kt:12) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider.compute(SitesCacheValueProvider.kt:16) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:244) at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:244) at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:245) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getSites(SitesIndex.kt:77) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.refreshStorefrontActions(OpenSelectedConnectionAction.kt:106) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.scopeChanged(OpenSelectedConnectionAction.kt:116) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:680) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:640) ... 35 more Suppressed: java.lang.RuntimeException: Cannot invoke (class=OpenStorefrontAction, method=scopeChanged, topic=Site Scope changed) ... 36 more Caused by: com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:910) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:858) at com.intellij.util.indexing.FileBasedIndexEx.processAllKeys(FileBasedIndexEx.java:166) at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:905) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getIndexedSites(SitesIndex.kt:47) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider$Companion.createSitesCache(SitesCacheValueProvider.kt:12) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider.compute(SitesCacheValueProvider.kt:16) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:244) at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:244) at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:245) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getSites(SitesIndex.kt:77) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.refreshStorefrontActions(OpenSelectedConnectionAction.kt:106) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.scopeChanged(OpenSelectedConnectionAction.kt:116) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:680) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:640) ... 35 more Caused by: com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.openapi.project.IndexNotReadyException.create(IndexNotReadyException.java:66) at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:910) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:858) at com.intellij.util.indexing.FileBasedIndexEx.processAllKeys(FileBasedIndexEx.java:166) at com.intellij.util.indexing.FileBasedIndexImpl.processAllKeys(FileBasedIndexImpl.java:905) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getIndexedSites(SitesIndex.kt:47) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider$Companion.createSitesCache(SitesCacheValueProvider.kt:12) at io.divetek.sfcc.language.xml.cache.SitesCacheValueProvider.compute(SitesCacheValueProvider.kt:16) at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:244) at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:244) at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:112) at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42) at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:245) at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28) at io.divetek.sfcc.language.xml.stubs.indexes.SitesIndex$Companion.getSites(SitesIndex.kt:77) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.refreshStorefrontActions(OpenSelectedConnectionAction.kt:106) at io.divetek.sfcc.action.OpenSelectedConnectionAction$OpenStorefrontAction.scopeChanged(OpenSelectedConnectionAction.kt:116) at com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:680) at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:640) ... 35 more