java.lang.NullPointerException

Oracle Community | 807593 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Getting int value from a string

    Oracle Community | 1 decade ago | 807593
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at stockanalysis.GUI.actionPerformed()
    2. stockanalysis
      GUI.actionPerformed
      1. stockanalysis.GUI.actionPerformed(GUI.java:84)
      1 frame
    3. Java RT
      JComboBox.setSelectedIndex
      1. javax.swing.JComboBox.fireActionEvent(JComboBox.java:870)
      2. javax.swing.JComboBox.selectedItemChanged(JComboBox.java:894)
      3. javax.swing.JComboBox.contentsChanged(JComboBox.java:946)
      4. javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:79)
      5. javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:86)
      6. javax.swing.JComboBox.setSelectedItem(JComboBox.java:415)
      7. javax.swing.JComboBox.setSelectedIndex(JComboBox.java:455)
      7 frames