You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:25:43 UTC

[I] Grails: IndexNotReadyException on Tests button pressing [grails-intellij-plugin]

jdaugherty opened a new issue, #200:
URL: https://github.com/apache/grails-intellij-plugin/issues/200

   141.712.1
   
   open project, for some domain class press Tests button (while index is not completely built for the project)
   
   Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation
   
   <details>
   <summary>com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation</summary>
   
   ```
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:854)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:803)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:787)
    at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:250)
    at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:238)
    at com.intellij.psi.stubs.StubIndex.process(StubIndex.java:76)
    at com.intellij.psi.stubs.StubIndex.process(StubIndex.java:95)
    at com.intellij.psi.stubs.StubIndexImpl.get(StubIndexImpl.java:227)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:144)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:134)
    at com.intellij.psi.impl.java.stubs.index.JavaShortClassNameIndex.get(JavaShortClassNameIndex.java:55)
    at com.intellij.psi.impl.PsiShortNamesCacheImpl.getClassesByName(PsiShortNamesCacheImpl.java:67)
    at com.intellij.psi.impl.CompositeShortNamesCache.getClassesByName(CompositeShortNamesCache.java:77)
    at org.jetbrains.plugins.grails.tests.GrailsTestUtils.getTestsForArtifact(GrailsTestUtils.java:69)
    at org.jetbrains.plugins.grails.editor.GenerateTestsAction.findTestClass(GenerateTestsAction.java:90)
    at org.jetbrains.plugins.grails.editor.GenerateTestsAction.access$000(GenerateTestsAction.java:38)
    at org.jetbrains.plugins.grails.editor.GenerateTestsAction$1.run(GenerateTestsAction.java:80)
    at org.jetbrains.plugins.groovy.mvc.MvcConsole$3$1.run(MvcConsole.java:330)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:702)
    at java.awt.EventQueue$3.run(EventQueue.java:696)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
   ```
   
   </details>
   
   ---
   
   *Imported from [IDEA-139364](https://youtrack.jetbrains.com/issue/IDEA-139364) · Type: Exception · Votes: 1*
   *Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org