java.lang.NullPointerException

Coderanch | nilesh sironja | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Changing JFilechooser Color

    Coderanch | 2 years ago | nilesh sironja
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth()
    2. Java RT
      JComboBox.contentsChanged
      1. javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth(MetalFileChooserUI.java:912)
      2. javax.swing.SwingUtilities.layoutCompoundLabelImpl(SwingUtilities.java:961)
      3. javax.swing.SwingUtilities.layoutCompoundLabel(SwingUtilities.java:888)
      4. javax.swing.plaf.basic.BasicLabelUI.layoutCL(BasicLabelUI.java:94)
      5. javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:239)
      6. javax.swing.JComponent.getPreferredSize(JComponent.java:1634)
      7. javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1362)
      8. javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1310)
      9. javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2619)
      10. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
      11. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
      12. javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
      13. javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
      14. javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
      15. javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
      16. javax.swing.JList.setSelectedIndex(JList.java:2196)
      17. javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:1144)
      18. javax.swing.plaf.basic.BasicComboPopup.access$300(BasicComboPopup.java:63)
      19. javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(BasicComboPopup.java:982)
      20. javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1222)
      21. javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1279)
      22. javax.swing.JComboBox.contentsChanged(JComboBox.java:1326)
      22 frames