java.lang.IllegalArgumentException: focusCycleRoot is not a focus cyle root of aComponent

Oracle Community | 807577 | 1 decade 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

    Swing bug?  Have a look at the stacktrace.

    Oracle Community | 1 decade ago | 807577
    java.lang.IllegalArgumentException: focusCycleRoot is not a focus cyle root of aComponent

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      focusCycleRoot is not a focus cyle root of aComponent

      at java.awt.ContainerOrderFocusTraversalPolicy.getComponentAfter()
    2. Java RT
      JSplitPane.setRightComponent
      1. java.awt.ContainerOrderFocusTraversalPolicy.getComponentAfter(ContainerOrderFocusTraversalPolicy.java:68)
      2. javax.swing.LegacyGlueFocusTraversalPolicy.getComponentAfter(LegacyGlueFocusTraversalPolicy.java:63)
      3. java.awt.Component.nextFocusHelper(Component.java:6156)
      4. java.awt.Container.nextFocusHelper(Container.java:2342)
      5. java.awt.Component.removeNotify(Component.java:5436)
      6. java.awt.Container.removeNotify(Container.java:2028)
      7. javax.swing.JComponent.removeNotify(JComponent.java:4286)
      8. javax.swing.text.JTextComponent.removeNotify(JTextComponent.java:1317)
      9. java.awt.Container.removeNotify(Container.java:2023)
      10. javax.swing.JComponent.removeNotify(JComponent.java:4286)
      11. java.awt.Container.removeNotify(Container.java:2023)
      12. javax.swing.JComponent.removeNotify(JComponent.java:4286)
      13. java.awt.Container.remove(Container.java:676)
      14. javax.swing.JSplitPane.remove(JSplitPane.java:892)
      15. java.awt.Container.remove(Container.java:729)
      16. javax.swing.JSplitPane.remove(JSplitPane.java:867)
      17. javax.swing.JSplitPane.addImpl(JSplitPane.java:996)
      18. java.awt.Container.add(Container.java:490)
      19. javax.swing.JSplitPane.setRightComponent(JSplitPane.java:495)
      19 frames