java.lang.IllegalArgumentException: cannot add to layout: constraint must be a string (or null)

Oracle Community | 807587 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JEditorPane + HTML + <INPUT>

    Oracle Community | 1 decade ago | 807587
    java.lang.IllegalArgumentException: cannot add to layout: constraint must be a string (or null)
  2. 0

    Notes/Domino 4 and 5 Forum : Internet Explorer/Lotus Notes/Java

    lotus.com | 1 year ago
    java.lang.IllegalArgumentException: null source

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      cannot add to layout: constraint must be a string (or null)

      at java.awt.BorderLayout.addLayoutComponent()
    2. Java RT
      Dialog.show
      1. java.awt.BorderLayout.addLayoutComponent(BorderLayout.java:409)
      2. java.awt.Container.addImpl(Container.java:664)
      3. java.awt.Container.add(Container.java:518)
      4. javax.swing.text.ComponentView.setComponentParent(ComponentView.java:281)
      5. javax.swing.text.ComponentView$1.run(ComponentView.java:243)
      6. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
      7. java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
      8. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
      9. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
      10. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
      11. java.awt.Dialog$1.run(Dialog.java:540)
      12. java.awt.Dialog.show(Dialog.java:561)
      12 frames