java.util.NoSuchElementException: next on empty iterator

YouTrack | 4 months ago
  1. 0

    VCS file modification status resets to unmodified on focused file

    YouTrack | 4 months ago
    java.util.NoSuchElementException: next on empty iterator
  2. 0

    NoSuchElementException when generating DOT file

    GitHub | 3 years ago | kscaldef
    java.util.NoSuchElementException: next on empty iterator
  3. 0

    Apache Spark - Feature Extraction Word2Vec example and exception

    Stack Overflow | 1 year ago | user3123794
    java.util.NoSuchElementException: next on empty iterator
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems running with build from master branch

    Google Groups | 5 years ago | Luke Taylor
    java.util.NoSuchElementException: next on empty iterator
  6. 0

    Scala try-catch not catching exception

    Stack Overflow | 1 year ago | Kaarel Nummert
    java.util.NoSuchElementException: next on empty iterator

    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. java.util.NoSuchElementException

      next on empty iterator

      at scala.collection.Iterator$$anon$2.next()
    2. Scala
      StringOps.last
      1. scala.collection.Iterator$$anon$2.next(Iterator.scala:39)
      2. scala.collection.Iterator$$anon$2.next(Iterator.scala:37)
      3. scala.collection.IndexedSeqLike$Elements.next(IndexedSeqLike.scala:63)
      4. scala.collection.IterableLike$class.head(IterableLike.scala:107)
      5. scala.collection.immutable.StringOps.scala$collection$IndexedSeqOptimized$$super$head(StringOps.scala:30)
      6. scala.collection.IndexedSeqOptimized$class.head(IndexedSeqOptimized.scala:126)
      7. scala.collection.immutable.StringOps.head(StringOps.scala:30)
      8. scala.collection.TraversableLike$class.last(TraversableLike.scala:459)
      9. scala.collection.immutable.StringOps.scala$collection$IndexedSeqOptimized$$super$last(StringOps.scala:30)
      10. scala.collection.IndexedSeqOptimized$class.last(IndexedSeqOptimized.scala:132)
      11. scala.collection.immutable.StringOps.last(StringOps.scala:30)
      11 frames
    3. org.jetbrains.plugins
      SingularCopyPastePostProcessor.collectTransferableData
      1. org.jetbrains.plugins.scala.conversion.ConverterUtil$.textWithoutLastSemicolon$1(ConverterUtil.scala:182)
      2. org.jetbrains.plugins.scala.conversion.ConverterUtil$.compareTextNEq(ConverterUtil.scala:185)
      3. org.jetbrains.plugins.scala.conversion.copy.JavaCopyPastePostProcessor.collectTransferableData0(JavaCopyPastePostProcessor.scala:96)
      4. org.jetbrains.plugins.scala.conversion.copy.SingularCopyPastePostProcessor.collectTransferableData(SingularCopyPastePostProcessor.scala:28)
      4 frames
    4. IDEA
      CopyHandler.doExecute
      1. com.intellij.codeInsight.editorActions.CopyHandler.a(CopyHandler.java:94)
      2. com.intellij.openapi.project.DumbService.withAlternativeResolveEnabled(DumbService.java:256)
      3. com.intellij.codeInsight.editorActions.CopyHandler.doExecute(CopyHandler.java:92)
      3 frames
    5. Openapi
      EditorAction.lambda$actionPerformed$0
      1. com.intellij.openapi.editor.actionSystem.EditorActionHandler$4.perform(EditorActionHandler.java:217)
      2. com.intellij.openapi.editor.actionSystem.EditorActionHandler.doIfEnabled(EditorActionHandler.java:109)
      3. com.intellij.openapi.editor.actionSystem.EditorActionHandler.execute(EditorActionHandler.java:214)
      4. com.intellij.openapi.editor.actionSystem.EditorAction.lambda$actionPerformed$0(EditorAction.java:100)
      4 frames
    6. IDEA
      CoreCommandProcessor.executeCommand
      1. com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:129)
      1 frame
    7. Openapi
      EditorAction.actionPerformed
      1. com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:109)
      2. com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorAction.java:88)
      2 frames
    8. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
      2. com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:213)
      3. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
      4. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634)
      5. com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:199)
      6. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
      7. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:477)
      8. com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
      9. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:677)
      10. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      10 frames
    9. 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