java.lang.NullPointerException

Oracle Community | 807595 | 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

    Error in if-clause

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at QuestionEditor$1.itemStateChanged()
    2. Unknown
      QuestionEditor$1.itemStateChanged
      1. QuestionEditor$1.itemStateChanged(QuestionEditor.java:240)
      1 frame
    3. Java RT
      JComboBox.addItem
      1. javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1162)
      2. javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1219)
      3. javax.swing.JComboBox.contentsChanged(JComboBox.java:1266)
      4. javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
      5. javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
      6. javax.swing.DefaultComboBoxModel.addElement(DefaultComboBoxModel.java:126)
      7. javax.swing.JComboBox.addItem(JComboBox.java:690)
      7 frames
    4. Unknown
      Alypaa.main
      1. QuestionEditor.getJComboBox(QuestionEditor.java:247)
      2. QuestionEditor.getJContentPane(QuestionEditor.java:132)
      3. QuestionEditor.initialize(QuestionEditor.java:114)
      4. QuestionEditor.<init>(QuestionEditor.java:51)
      5. Alypaa.<init>(Alypaa.java:18)
      6. Alypaa.main(Alypaa.java:25)
      6 frames