java.lang.reflect.UndeclaredThrowableException

Exception #2938837

Samebug tips1

Try "File -> Invalidate Cache" and restarting, this should kill old indexing process and start a new one, wait until it's finished and let the project build.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Stack trace

  • java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy176.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:99) at com.intellij.util.containers.TransferToEDTQueue.access$300(TransferToEDTQueue.java:37) at com.intellij.util.containers.TransferToEDTQueue$1.run(TransferToEDTQueue.java:58) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:818) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:655) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:914) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:210) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:197) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:608) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:448) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:89) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:351) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:355) at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:334) at com.intellij.openapi.progress.Task.queue(Task.java:113) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.startImpl(FindBugsStarter.java:210) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.start(FindBugsStarter.java:168) at org.twodividedbyzero.idea.findbugs.core.CheckinHandlerFactoryImpl$1.beforeCheckin(CheckinHandlerFactoryImpl.java:103) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$8.compute(CommitChangeListDialog.java:887) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$8.compute(CommitChangeListDialog.java:880) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$9.run(CommitChangeListDialog.java:915) at com.intellij.openapi.vcs.checkin.ReformatBeforeCheckinHandler$2.run(ReformatBeforeCheckinHandler.java:89) at com.intellij.openapi.vcs.checkin.ReformatBeforeCheckinHandler.runCheckinHandlers(ReformatBeforeCheckinHandler.java:99) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$10.run(CommitChangeListDialog.java:924) at com.intellij.openapi.vcs.checkin.RearrangeBeforeCheckinHandler$2.run(RearrangeBeforeCheckinHandler.java:84) at com.intellij.openapi.vcs.checkin.RearrangeBeforeCheckinHandler.runCheckinHandlers(RearrangeBeforeCheckinHandler.java:94) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$10.run(CommitChangeListDialog.java:924) at com.intellij.openapi.vcs.checkin.OptimizeImportsBeforeCheckinHandler.runCheckinHandlers(OptimizeImportsBeforeCheckinHandler.java:99) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$10.run(CommitChangeListDialog.java:924) at com.intellij.openapi.vcs.checkin.CodeCleanupCheckinHandlerFactory$CleanupCodeCheckinHandler.runCheckinHandlers(CodeCleanupCheckinHandlerFactory.java:91) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$10.run(CommitChangeListDialog.java:924) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.c(CommitChangeListDialog.java:929) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.l(CommitChangeListDialog.java:685) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.a(CommitChangeListDialog.java:1185) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.b(CommitChangeListDialog.java:682) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.access$900(CommitChangeListDialog.java:71) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog$CommitAction.actionPerformed(CommitChangeListDialog.java:632) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at com.intellij.ui.components.JBOptionButton.processMouseEvent(JBOptionButton.java:171) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:818) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:651) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:735) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:457) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1688) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1637) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:216) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:184) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:173) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitChanges(CommitChangeListDialog.java:152) at com.intellij.openapi.vcs.changes.ui.CommitChangeListDialog.commitPaths(CommitChangeListDialog.java:143) at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.performCheckIn(AbstractCommonCheckinAction.java:69) at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.a(AbstractCommonCheckinAction.java:55) at com.intellij.openapi.vcs.changes.Waiter.onSuccess(Waiter.java:65) at com.intellij.openapi.progress.impl.CoreProgressManager.finishTask(CoreProgressManager.java:501) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:451) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:89) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:351) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:355) at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:334) at com.intellij.openapi.vcs.changes.CallbackData.b(CallbackData.java:85) at com.intellij.openapi.vcs.changes.UpdateRequestsQueue.invokeAfterUpdate(UpdateRequestsQueue.java:226) at com.intellij.openapi.vcs.changes.ChangeListManagerImpl.invokeAfterUpdate(ChangeListManagerImpl.java:342) at com.intellij.openapi.vcs.actions.AbstractCommonCheckinAction.actionPerformed(AbstractCommonCheckinAction.java:55) at com.intellij.openapi.vcs.actions.AbstractVcsAction.actionPerformed(AbstractVcsAction.java:48) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:208) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:224) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:619) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:202) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:477) at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365) 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) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1761.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.twodividedbyzero.idea.findbugs.messages.MessageBus$1.invoke(MessageBus.java:80) ... 133 more Caused by: com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:722) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:671) at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:654) at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:346) at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:327) at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:146) at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135) at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48) at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.doFindClasses(JavaFileManagerImpl.java:96) at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClasses(JavaFileManagerImpl.java:83) at com.intellij.psi.impl.PsiElementFinderImpl.findClasses(PsiElementFinderImpl.java:60) at com.intellij.psi.impl.JavaPsiFacadeImpl.findClasses(JavaPsiFacadeImpl.java:173) 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) ... 137 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,