java.lang.NoClassDefFoundError: java/util/Objects

GitHub | apouche | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    crash when using "File Structure" in kotlin

    GitHub | 6 months ago | apouche
    java.lang.NoClassDefFoundError: java/util/Objects

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      java/util/Objects

      at com.chrisrm.idea.icons.VirtualFileInfo.getFileType()
    2. com.chrisrm.idea
      MTFileIconProvider.getIcon
      1. com.chrisrm.idea.icons.VirtualFileInfo.getFileType(VirtualFileInfo.java:24)
      2. com.chrisrm.idea.icons.TypeAssociation.matches(TypeAssociation.java:9)
      3. com.chrisrm.idea.icons.Associations.findAssociationForFile(Associations.java:55)
      4. com.chrisrm.idea.icons.MTFileIconProvider.getIcon(MTFileIconProvider.java:27)
      4 frames
    3. IDEA
      PsiIconUtil.getProvidersIcon
      1. com.intellij.util.PsiIconUtil.getProvidersIcon(PsiIconUtil.java:42)
      1 frame
    4. org.jetbrains.kotlin
      KotlinStructureViewElement.getPresentation
      1. org.jetbrains.kotlin.idea.structureView.KotlinStructureElementPresentation.getElementIcon(KotlinStructureElementPresentation.java:117)
      2. org.jetbrains.kotlin.idea.structureView.KotlinStructureElementPresentation.<init>(KotlinStructureElementPresentation.java:61)
      3. org.jetbrains.kotlin.idea.structureView.KotlinStructureViewElement.getPresentation(KotlinStructureViewElement.java:97)
      3 frames
    5. IDEA
      PresentableNodeDescriptor.update
      1. com.intellij.ide.util.treeView.smartTree.TreeElementWrapper.update(TreeElementWrapper.java:41)
      2. com.intellij.ide.util.treeView.PresentableNodeDescriptor.getUpdatedPresentation(PresentableNodeDescriptor.java:88)
      3. com.intellij.ide.util.treeView.PresentableNodeDescriptor.update(PresentableNodeDescriptor.java:41)
      3 frames
    6. DSL
      FilteringTreeStructure$FilteringNode.doUpdate
      1. com.intellij.ui.treeStructure.filtered.FilteringTreeStructure$FilteringNode.doUpdate(FilteringTreeStructure.java:231)
      1 frame
    7. Openapi
      SimpleNode.update
      1. com.intellij.ui.treeStructure.SimpleNode.update(SimpleNode.java:103)
      1 frame
    8. IDEA
      AbstractTreeUpdater$2.run
      1. com.intellij.ide.util.treeView.PresentableNodeDescriptor.getUpdatedPresentation(PresentableNodeDescriptor.java:88)
      2. com.intellij.ide.util.treeView.PresentableNodeDescriptor.update(PresentableNodeDescriptor.java:41)
      3. com.intellij.ide.util.treeView.AbstractTreeBuilder.updateNodeDescriptor(AbstractTreeBuilder.java:577)
      4. com.intellij.ide.util.treeView.AbstractTreeUi$22.perform(AbstractTreeUi.java:944)
      5. com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:33)
      6. com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1830)
      7. com.intellij.ide.util.treeView.AbstractTreeUi.update(AbstractTreeUi.java:940)
      8. com.intellij.ide.util.treeView.AbstractTreeUi.update(AbstractTreeUi.java:863)
      9. com.intellij.ide.util.treeView.AbstractTreeUi.doUpdateChildren(AbstractTreeUi.java:1251)
      10. com.intellij.ide.util.treeView.AbstractTreeUi.access$3100(AbstractTreeUi.java:62)
      11. com.intellij.ide.util.treeView.AbstractTreeUi$26$1.perform(AbstractTreeUi.java:1182)
      12. com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:33)
      13. com.intellij.ide.util.treeView.AbstractTreeUi.execute(AbstractTreeUi.java:1830)
      14. com.intellij.ide.util.treeView.AbstractTreeUi.access$2500(AbstractTreeUi.java:62)
      15. com.intellij.ide.util.treeView.AbstractTreeUi$26.perform(AbstractTreeUi.java:1179)
      16. com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:33)
      17. com.intellij.openapi.util.ActionCallback$ExecutedExecutionCallback.doWhenExecuted(ActionCallback.java:187)
      18. com.intellij.openapi.util.ActionCallback.doWhenDone(ActionCallback.java:111)
      19. com.intellij.ide.util.treeView.AbstractTreeUi.updateNodeChildren(AbstractTreeUi.java:1174)
      20. com.intellij.ide.util.treeView.AbstractTreeUi.updateSubtreeNow(AbstractTreeUi.java:1080)
      21. com.intellij.ide.util.treeView.AbstractTreeUpdater$3.perform(AbstractTreeUpdater.java:258)
      22. com.intellij.ide.util.treeView.TreeRunnable.run(TreeRunnable.java:33)
      23. com.intellij.openapi.util.ActionCallback$ExecutedExecutionCallback.doWhenExecuted(ActionCallback.java:187)
      24. com.intellij.openapi.util.ActionCallback.doWhenDone(ActionCallback.java:111)
      25. com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractTreeUpdater.java:254)
      26. com.intellij.ide.util.treeView.AbstractTreeUpdater$2.run(AbstractTreeUpdater.java:215)
      26 frames
    9. Openapi
      MergingUpdateQueue$3.run
      1. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
      2. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
      3. com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
      3 frames
    10. IDEA
      UIUtil.invokeLaterIfNeeded
      1. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2361)
      1 frame
    11. Openapi
      QueueProcessor.runSafely
      1. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:283)
      2. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
      3. com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
      4. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
      4 frames
    12. IDEA
      Alarm$Request$1$1.run
      1. com.intellij.util.Alarm$Request$1$1.run(Alarm.java:346)
      1 frame
    13. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
      3. java.awt.EventQueue.access$400(EventQueue.java:82)
      4. java.awt.EventQueue$2.run(EventQueue.java:676)
      5. java.awt.EventQueue$2.run(EventQueue.java:674)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
      8 frames
    14. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
      3 frames
    15. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      6 frames