Skip to content

com.intellij.diagnostic.IdeaReportingEvent$TextBasedThrowable at com.intellij.diagnostic.IdeaReportingEvent.<init>(IdeaReportingEvent.java:18) #685

Description

@bitflame

Product Infos
FindBugs: 3.0.1
FindBugs-IDEA: FindBugs-IDEA 1.0.1
IDEA: IntelliJ IDEA 2019.2.4
IDEA-Build: IC-192.7142.36, October 29, 2019
JRE: 11.0.4+10-b304.77 amd64
JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o

Additional Infos
I was testing, and was not using the command for the right version of junit. My testing is working now.

java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy145.newBug(Unknown Source)
at org.twodividedbyzero.idea.findbugs.messages.MessageBusManager.publishNewBug(MessageBusManager.java:81)
at org.twodividedbyzero.idea.findbugs.core.Reporter$2.run(Reporter.java:145)
at org.twodividedbyzero.idea.findbugs.core.Reporter$RunnableProcessor.process(Reporter.java:315)
at org.twodividedbyzero.idea.findbugs.core.Reporter$RunnableProcessor.process(Reporter.java:312)
at com.intellij.util.containers.TransferToEDTQueue.processNext(TransferToEDTQueue.java:118)
at com.intellij.util.containers.TransferToEDTQueue.access$300(TransferToEDTQueue.java:39)
at com.intellij.util.containers.TransferToEDTQueue$1.run(TransferToEDTQueue.java:68)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:878)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:827)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:466)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:465)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.twodividedbyzero.idea.findbugs.messages.MessageBus$1.invoke(MessageBus.java:80)
... 26 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:81)
at com.intellij.util.indexing.FileBasedIndexImpl.handleDumbMode(FileBasedIndexImpl.java:770)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:719)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:702)
at com.intellij.psi.stubs.StubIndexImpl.doProcessStubs(StubIndexImpl.java:306)
at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:282)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:121)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:109)
at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:47)
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:88)
at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClasses(JavaFileManagerImpl.java:75)
at com.intellij.psi.impl.PsiElementFinderImpl.findClasses(PsiElementFinderImpl.java:47)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithoutJvmFacade(JavaPsiFacadeImpl.java:186)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClassesWithJvmFacade(JavaPsiFacadeImpl.java:157)
at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:149)
at org.twodividedbyzero.idea.findbugs.common.util.IdeaUtilImpl.findJavaPsiClass(IdeaUtilImpl.java:378)
at org.twodividedbyzero.idea.findbugs.common.util.IdeaUtilImpl.findJavaPsiClass(IdeaUtilImpl.java:370)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.BugInstanceNode.getPsiFile(BugInstanceNode.java:91)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.addProblem(GroupTreeModel.java:107)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.addToGroup(GroupTreeModel.java:207)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.startSubGroup(GroupTreeModel.java:187)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.startSubGroup(GroupTreeModel.java:185)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.startGroup(GroupTreeModel.java:159)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.startGroup(GroupTreeModel.java:45)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.Grouper.group(Grouper.java:129)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.group(GroupTreeModel.java:143)
at org.twodividedbyzero.idea.findbugs.gui.tree.model.GroupTreeModel.addNode(GroupTreeModel.java:135)
at org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.BugTreePanel.addNode(BugTreePanel.java:118)
at org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.ToolWindowPanel$2.newBug(ToolWindowPanel.java:132)
... 30 more
I am just sharing this because the ide prompted me. The testing is working now. I was not using the right command for the version of junit I had in the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions