java.util.NoSuchElementException

GitHub | jGauravGupta | 7 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Problems with Java Generics with comparable

    Stack Overflow | 1 year ago | Francesco
    java.util.NoSuchElementException
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

    No message provided

    at java.util.ArrayList$Itr.next()
  2. Java RT
    ArrayList$Itr.next
    1. java.util.ArrayList$Itr.next(ArrayList.java:854)
    1 frame
  3. EclipseLink (non-OSGi)
    EntityAccessor.addMultipleTableKeyFields
    1. org.eclipse.persistence.internal.jpa.metadata.MetadataDescriptor.getPrimaryKeyField(MetadataDescriptor.java:1048)
    2. org.eclipse.persistence.internal.jpa.metadata.accessors.MetadataAccessor.getReferencedField(MetadataAccessor.java:442)
    3. org.eclipse.persistence.internal.jpa.metadata.accessors.MetadataAccessor.getReferencedField(MetadataAccessor.java:430)
    4. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.addMultipleTableKeyFields(EntityAccessor.java:231)
    4 frames
  4. org.netbeans.jpa
    EntitySpecAccessor.addMultipleTableKeyFields
    1. org.netbeans.jpa.modeler.db.accessor.EntitySpecAccessor.addMultipleTableKeyFields(EntitySpecAccessor.java:112)
    1 frame
  5. EclipseLink (non-OSGi)
    MetadataProcessor.processORMMetadata
    1. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.processInheritancePrimaryKeyJoinColumns(EntityAccessor.java:1183)
    2. org.eclipse.persistence.internal.jpa.metadata.inheritance.InheritanceMetadata.processInheritanceRoot(InheritanceMetadata.java:265)
    3. org.eclipse.persistence.internal.jpa.metadata.inheritance.InheritanceMetadata.process(InheritanceMetadata.java:230)
    4. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.processInheritance(EntityAccessor.java:1144)
    5. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.processTableAndInheritance(EntityAccessor.java:1385)
    6. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.process(EntityAccessor.java:683)
    7. org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.process(EntityAccessor.java:678)
    8. org.eclipse.persistence.internal.jpa.metadata.MetadataProject.processStage2(MetadataProject.java:1808)
    9. org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.processORMMetadata(MetadataProcessor.java:573)
    9 frames
  6. org.netbeans.db
    DBModelerUtil.loadModelerFile
    1. org.netbeans.db.modeler.persistence.internal.jpa.deployment.JPAMPersistenceUnitProcessor.processORMetadata(JPAMPersistenceUnitProcessor.java:49)
    2. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.createDBMapping(DBModelerUtil.java:255)
    3. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.loadModelerFileInternal(DBModelerUtil.java:193)
    4. org.netbeans.db.modeler.specification.model.util.DBModelerUtil.loadModelerFile(DBModelerUtil.java:178)
    4 frames
  7. org.netbeans.modeler
    ModelerFileActionListener.openModelerFile
    1. org.netbeans.modeler.core.NBModelerUtil.loadModelerFile(NBModelerUtil.java:57)
    2. org.netbeans.modeler.specification.model.file.action.ModelerFileActionListener.openModelerFile(ModelerFileActionListener.java:143)
    2 frames
  8. org.netbeans.db
    DBViewerActionListener.init
    1. org.netbeans.db.modeler.specification.model.file.action.DBViewerActionListener.init(DBViewerActionListener.java:58)
    1 frame
  9. org.netbeans.jpa
    ShortcutListener.keyPressed
    1. org.netbeans.jpa.modeler.specification.model.util.JPAModelerUtil.openDBViewer(JPAModelerUtil.java:1566)
    2. org.netbeans.jpa.modeler.listener.ShortcutListener.keyPressed(ShortcutListener.java:43)
    2 frames
  10. Java RT
    EventQueue.dispatchEvent
    1. java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:249)
    2. java.awt.Component.processKeyEvent(Component.java:6493)
    3. javax.swing.JComponent.processKeyEvent(JComponent.java:2832)
    4. java.awt.Component.processEvent(Component.java:6312)
    5. java.awt.Container.processEvent(Container.java:2236)
    6. java.awt.Component.dispatchEventImpl(Component.java:4891)
    7. java.awt.Container.dispatchEventImpl(Container.java:2294)
    8. java.awt.Component.dispatchEvent(Component.java:4713)
    9. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
    10. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
    11. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
    12. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
    13. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
    14. java.awt.Component.dispatchEventImpl(Component.java:4762)
    15. java.awt.Container.dispatchEventImpl(Container.java:2294)
    16. java.awt.Window.dispatchEventImpl(Window.java:2750)
    17. java.awt.Component.dispatchEvent(Component.java:4713)
    18. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    19. java.awt.EventQueue.access$500(EventQueue.java:97)
    20. java.awt.EventQueue$3.run(EventQueue.java:709)
    21. java.awt.EventQueue$3.run(EventQueue.java:703)
    22. java.security.AccessController.doPrivileged(Native Method)
    23. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    24. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    25. java.awt.EventQueue$4.run(EventQueue.java:731)
    26. java.awt.EventQueue$4.run(EventQueue.java:729)
    27. java.security.AccessController.doPrivileged(Native Method)
    28. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    29. java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    29 frames
  11. org.netbeans.core
    TimableEventQueue.dispatchEvent
    1. org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
    1 frame
  12. 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