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

org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory	at org.dom4j.io.SAXReader.read(SAXReader.java:484)	at org.dom4j.io.SAXReader.read(SAXReader.java:365)	at edu.umd.cs.findbugs.PluginLoader.getPluginDescriptor(PluginLoader.java:1180)	at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:653)	at edu.umd.cs.findbugs.PluginLoader.(PluginLoader.java:400)	at edu.umd.cs.findbugs.PluginLoader.loadCorePlugin(PluginLoader.java:1473)	at edu.umd.cs.findbugs.PluginLoader.loadInitialPlugins(PluginLoader.java:1427)	at edu.umd.cs.findbugs.PluginLoader.(PluginLoader.java:154)	at org.twodividedbyzero.idea.findbugs.common.util.FindBugsCustomPluginUtil.loadTemporary(FindBugsCustomPluginUtil.java:80)	at org.twodividedbyzero.idea.findbugs.common.util.FindBugsCustomPluginUtil.loadTemporary(FindBugsCustomPluginUtil.java:70)	at org.twodividedbyzero.idea.findbugs.plugins.AbstractPluginLoader.load(AbstractPluginLoader.java:91)	at org.twodividedbyzero.idea.findbugs.gui.settings.PluginTablePane.load(PluginTablePane.java:303)	at org.twodividedbyzero.idea.findbugs.gui.settings.PluginTablePane.reset(PluginTablePane.java:297)	at org.twodividedbyzero.idea.findbugs.gui.settings.GeneralTab.reset(GeneralTab.java:93)	at org.twodividedbyzero.idea.findbugs.gui.settings.SettingsPane.reset(SettingsPane.java:168)	at org.twodividedbyzero.idea.findbugs.gui.settings.AbstractConfigurableImpl.reset(AbstractConfigurableImpl.java:93)	at org.twodividedbyzero.idea.findbugs.gui.settings.ModuleConfigurableImpl.reset(ModuleConfigurableImpl.java:56)	at com.intellij.openapi.roots.ui.configuration.ModuleConfigurableWrapper.reset(ModuleConfigurableWrapper.java:70)	at com.intellij.openapi.roots.ui.configuration.TabbedModuleEditor.createCenterPanel(TabbedModuleEditor.java:62)	at com.intellij.openapi.roots.ui.configuration.HeaderHidingTabbedModuleEditor.createCenterPanel(HeaderHidingTabbedModuleEditor.java:30)	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.a(ModuleEditor.java:263)	at com.intellij.openapi.roots.ui.configuration.ModuleEditor.getPanel(ModuleEditor.java:271)	at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleConfigurable.createOptionsPanel(ModuleConfigurable.java:121)	at com.intellij.openapi.ui.NamedConfigurable.createComponent(NamedConfigurable.java:80)	at com.intellij.openapi.ui.MasterDetailsComponent.updateSelection(MasterDetailsComponent.java:667)	at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.updateSelection(ModuleStructureConfigurable.java:192)	at com.intellij.openapi.ui.MasterDetailsComponent.setSelectedNode(MasterDetailsComponent.java:658)	at com.intellij.openapi.ui.MasterDetailsComponent.updateSelectionFromTree(MasterDetailsComponent.java:238)	at com.intellij.openapi.ui.MasterDetailsComponent.reset(MasterDetailsComponent.java:374)	at com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.reset(BaseStructureConfigurable.java:272)	at com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.reset(ModuleStructureConfigurable.java:371)	at com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:372)	at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:69)	at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:91)	at com.intellij.openapi.options.ex.SingleConfigurableEditor.(SingleConfigurableEditor.java:106)	at com.intellij.ide.actions.ShowStructureSettingsAction$1.(ShowStructureSettingsAction.java:40)	at com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:40)	at com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:36)	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:191)	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)	at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)	at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)	at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)	at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)	at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513)	at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)	at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)	at java.awt.Component.processMouseEvent(Component.java:6535)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)	at java.awt.Component.processEvent(Component.java:6300)	at java.awt.Container.processEvent(Container.java:2236)	at java.awt.Component.dispatchEventImpl(Component.java:4891)	at java.awt.Container.dispatchEventImpl(Container.java:2294)	at java.awt.Component.dispatchEvent(Component.java:4713)	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:2750)	at java.awt.Component.dispatchEvent(Component.java:4713)	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:76)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)	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:76)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)	at com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:857)	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)	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)