Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by vgrazi
, 1 year ago
javax.swing.JLabel cannot be cast to org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.ToolWindowPanel
java.lang.ClassCastException: javax.swing.JLabel cannot be cast to org.twodividedbyzero.idea.findbugs.gui.toolwindow.view.ToolWindowPanel	at org.twodividedbyzero.idea.findbugs.actions.CollapseAll.updateImpl(CollapseAll.java:47)	at org.twodividedbyzero.idea.findbugs.actions.AbstractAction.update(AbstractAction.java:47)	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:123)	at com.intellij.ide.util.gotoByName.GotoActionModel.updateActionBeforeShow(GotoActionModel.java:261)	at com.intellij.ide.util.gotoByName.GotoActionModel$ActionWrapper.getPresentation(GotoActionModel.java:466)	at com.intellij.ide.util.gotoByName.GotoActionModel$ActionWrapper.isAvailable(GotoActionModel.java:461)	at com.intellij.ide.util.gotoByName.GotoActionModel$MatchedValue.compareTo(GotoActionModel.java:195)	at com.intellij.ide.util.gotoByName.GotoActionModel.compare(GotoActionModel.java:255)	at java.util.TreeMap.put(TreeMap.java:552)	at java.util.TreeSet.add(TreeSet.java:255)	at java.util.AbstractCollection.addAll(AbstractCollection.java:344)	at java.util.TreeSet.addAll(TreeSet.java:312)	at com.intellij.ide.util.gotoByName.GotoActionModel.sort(GotoActionModel.java:397)	at com.intellij.ide.actions.GotoActionAction$2.filter(GotoActionAction.java:132)	at com.intellij.ide.util.gotoByName.ChooseByNameBase$CalcElementsThread.a(ChooseByNameBase.java:1537)	at com.intellij.openapi.progress.util.ProgressIndicatorUtils$4.a(ProgressIndicatorUtils.java:185)	at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:326)	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)	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:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)	at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:863)	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)	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)