java.lang.ExceptionInInitializerError

GitHub | taufiqkh | 5 months ago
  1. 0

    Adding war file in webapp folder is causing exception during the server startup

    Stack Overflow | 4 years ago | sweety
    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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Problems after Relocated JAVA Libraries to Tomcat Lib folder

    Stack Overflow | 6 years ago | leon
    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

    41 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:484)
      2. org.dom4j.io.SAXReader.read(SAXReader.java:365)
      2 frames
    3. jOpenDocument
      PluginLoader.<clinit>
      1. edu.umd.cs.findbugs.PluginLoader.getPluginDescriptor(PluginLoader.java:1180)
      2. edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:653)
      3. edu.umd.cs.findbugs.PluginLoader.<init>(PluginLoader.java:400)
      4. edu.umd.cs.findbugs.PluginLoader.loadCorePlugin(PluginLoader.java:1473)
      5. edu.umd.cs.findbugs.PluginLoader.loadInitialPlugins(PluginLoader.java:1427)
      6. edu.umd.cs.findbugs.PluginLoader.<clinit>(PluginLoader.java:154)
      6 frames
    4. org.twodividedbyzero.idea
      ModuleConfigurableImpl.reset
      1. org.twodividedbyzero.idea.findbugs.common.util.FindBugsCustomPluginUtil.loadTemporary(FindBugsCustomPluginUtil.java:80)
      2. org.twodividedbyzero.idea.findbugs.common.util.FindBugsCustomPluginUtil.loadTemporary(FindBugsCustomPluginUtil.java:70)
      3. org.twodividedbyzero.idea.findbugs.plugins.AbstractPluginLoader.load(AbstractPluginLoader.java:91)
      4. org.twodividedbyzero.idea.findbugs.gui.settings.PluginTablePane.load(PluginTablePane.java:303)
      5. org.twodividedbyzero.idea.findbugs.gui.settings.PluginTablePane.reset(PluginTablePane.java:297)
      6. org.twodividedbyzero.idea.findbugs.gui.settings.GeneralTab.reset(GeneralTab.java:93)
      7. org.twodividedbyzero.idea.findbugs.gui.settings.SettingsPane.reset(SettingsPane.java:168)
      8. org.twodividedbyzero.idea.findbugs.gui.settings.AbstractConfigurableImpl.reset(AbstractConfigurableImpl.java:93)
      9. org.twodividedbyzero.idea.findbugs.gui.settings.ModuleConfigurableImpl.reset(ModuleConfigurableImpl.java:56)
      9 frames
    5. IDEA
      ActionMenuItem$ActionTransmitter.actionPerformed
      1. com.intellij.openapi.roots.ui.configuration.ModuleConfigurableWrapper.reset(ModuleConfigurableWrapper.java:70)
      2. com.intellij.openapi.roots.ui.configuration.TabbedModuleEditor.createCenterPanel(TabbedModuleEditor.java:62)
      3. com.intellij.openapi.roots.ui.configuration.HeaderHidingTabbedModuleEditor.createCenterPanel(HeaderHidingTabbedModuleEditor.java:30)
      4. com.intellij.openapi.roots.ui.configuration.ModuleEditor.a(ModuleEditor.java:263)
      5. com.intellij.openapi.roots.ui.configuration.ModuleEditor.getPanel(ModuleEditor.java:271)
      6. com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleConfigurable.createOptionsPanel(ModuleConfigurable.java:121)
      7. com.intellij.openapi.ui.NamedConfigurable.createComponent(NamedConfigurable.java:80)
      8. com.intellij.openapi.ui.MasterDetailsComponent.updateSelection(MasterDetailsComponent.java:667)
      9. com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.updateSelection(ModuleStructureConfigurable.java:192)
      10. com.intellij.openapi.ui.MasterDetailsComponent.setSelectedNode(MasterDetailsComponent.java:658)
      11. com.intellij.openapi.ui.MasterDetailsComponent.updateSelectionFromTree(MasterDetailsComponent.java:238)
      12. com.intellij.openapi.ui.MasterDetailsComponent.reset(MasterDetailsComponent.java:374)
      13. com.intellij.openapi.roots.ui.configuration.projectRoot.BaseStructureConfigurable.reset(BaseStructureConfigurable.java:272)
      14. com.intellij.openapi.roots.ui.configuration.projectRoot.ModuleStructureConfigurable.reset(ModuleStructureConfigurable.java:371)
      15. com.intellij.openapi.roots.ui.configuration.ProjectStructureConfigurable.reset(ProjectStructureConfigurable.java:372)
      16. com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:69)
      17. com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:91)
      18. com.intellij.openapi.options.ex.SingleConfigurableEditor.<init>(SingleConfigurableEditor.java:106)
      19. com.intellij.ide.actions.ShowStructureSettingsAction$1.<init>(ShowStructureSettingsAction.java:40)
      20. com.intellij.ide.actions.ShowStructureSettingsAction.showDialog(ShowStructureSettingsAction.java:40)
      21. com.intellij.ide.actions.ShowStructureSettingsAction.actionPerformed(ShowStructureSettingsAction.java:36)
      22. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:191)
      23. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)
      24. com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
      25. com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
      26. com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)
      26 frames
    6. Java RT
      AbstractButton.fireActionPerformed
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      1 frame
    7. IDEA
      BegMenuItemUI$MyMouseInputHandler.mouseReleased
      1. com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
      2. com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513)
      3. com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
      4. com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
      4 frames
    8. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processMouseEvent(Component.java:6535)
      2. javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
      3. java.awt.Component.processEvent(Component.java:6300)
      4. java.awt.Container.processEvent(Container.java:2236)
      5. java.awt.Component.dispatchEventImpl(Component.java:4891)
      6. java.awt.Container.dispatchEventImpl(Container.java:2294)
      7. java.awt.Component.dispatchEvent(Component.java:4713)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
      9. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
      10. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
      11. java.awt.Container.dispatchEventImpl(Container.java:2280)
      12. java.awt.Window.dispatchEventImpl(Window.java:2750)
      13. java.awt.Component.dispatchEvent(Component.java:4713)
      14. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
      15. java.awt.EventQueue.access$500(EventQueue.java:97)
      16. java.awt.EventQueue$3.run(EventQueue.java:709)
      17. java.awt.EventQueue$3.run(EventQueue.java:703)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      20. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
      21. java.awt.EventQueue$4.run(EventQueue.java:731)
      22. java.awt.EventQueue$4.run(EventQueue.java:729)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      25. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
      25 frames
    9. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:857)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
      3 frames
    10. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames