java.lang.NullPointerException

Atlassian JIRA | Janet Albion [Atlassian] | 3 years 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

    Steps to reproduce: # install JIRA 6.2 milestone (EAP) # run the config.sh # click on "Yes" when prompt with "Would you like to reload the DB configuration from the new JIRA Home?" as in the screenshot below !ReloadDBConfig.png! # JIRA throws the error in Terminal: {code} janetalbion@janetalbion:~/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/bin$ sh config.sh Loading application properties from /home/janetalbion/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties Reading database configuration from /home/janetalbion/supportinstance/jira/jira62m/home/dbconfig.xml Reading database configuration from /home/janetalbion/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/bin/dbconfig.xml Exception in thread "main" java.lang.NullPointerException at com.atlassian.jira.configurator.gui.ConfiguratorFrame.checkForJiraHomeChange(ConfiguratorFrame.java:921) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.access$100(ConfiguratorFrame.java:55) at com.atlassian.jira.configurator.gui.ConfiguratorFrame$2.stateChanged(ConfiguratorFrame.java:153) at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416) at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270) at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132) at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67) at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591) at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:731) at javax.swing.JTabbedPane.addTab(JTabbedPane.java:798) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.newTabbedPanel(ConfiguratorFrame.java:156) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.init(ConfiguratorFrame.java:95) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.<init>(ConfiguratorFrame.java:83) at com.atlassian.jira.configurator.Configurator.startGui(Configurator.java:74) at com.atlassian.jira.configurator.Configurator.start(Configurator.java:52) at com.atlassian.jira.configurator.Configurator.main(Configurator.java:43) {code} Environment tested: * OS: Ubuntu 13.04 * Oracle JDK 7 * JIRA 6.2 TAR GZ Extra note: * cannot reproduce this ERROR when trying to install a new JIRA 6.2 using the ZIP in the same Linux server

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    java.lang.NullPointerException
  2. 0

    Steps to reproduce: # install JIRA 6.2 milestone (EAP) # run the config.sh # click on "Yes" when prompt with "Would you like to reload the DB configuration from the new JIRA Home?" as in the screenshot below !ReloadDBConfig.png! # JIRA throws the error in Terminal: {code} janetalbion@janetalbion:~/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/bin$ sh config.sh Loading application properties from /home/janetalbion/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties Reading database configuration from /home/janetalbion/supportinstance/jira/jira62m/home/dbconfig.xml Reading database configuration from /home/janetalbion/supportinstance/jira/jira62m/atlassian-jira-6.2-rc1-standalone/bin/dbconfig.xml Exception in thread "main" java.lang.NullPointerException at com.atlassian.jira.configurator.gui.ConfiguratorFrame.checkForJiraHomeChange(ConfiguratorFrame.java:921) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.access$100(ConfiguratorFrame.java:55) at com.atlassian.jira.configurator.gui.ConfiguratorFrame$2.stateChanged(ConfiguratorFrame.java:153) at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416) at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270) at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132) at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67) at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616) at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591) at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:731) at javax.swing.JTabbedPane.addTab(JTabbedPane.java:798) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.newTabbedPanel(ConfiguratorFrame.java:156) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.init(ConfiguratorFrame.java:95) at com.atlassian.jira.configurator.gui.ConfiguratorFrame.<init>(ConfiguratorFrame.java:83) at com.atlassian.jira.configurator.Configurator.startGui(Configurator.java:74) at com.atlassian.jira.configurator.Configurator.start(Configurator.java:52) at com.atlassian.jira.configurator.Configurator.main(Configurator.java:43) {code} Environment tested: * OS: Ubuntu 13.04 * Oracle JDK 7 * JIRA 6.2 TAR GZ Extra note: * cannot reproduce this ERROR when trying to install a new JIRA 6.2 using the ZIP in the same Linux server

    Atlassian JIRA | 3 years ago | Janet Albion [Atlassian]
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.jira.configurator.gui.ConfiguratorFrame.checkForJiraHomeChange()
    2. com.atlassian.jira
      ConfiguratorFrame$2.stateChanged
      1. com.atlassian.jira.configurator.gui.ConfiguratorFrame.checkForJiraHomeChange(ConfiguratorFrame.java:921)
      2. com.atlassian.jira.configurator.gui.ConfiguratorFrame.access$100(ConfiguratorFrame.java:55)
      3. com.atlassian.jira.configurator.gui.ConfiguratorFrame$2.stateChanged(ConfiguratorFrame.java:153)
      3 frames
    3. Java RT
      JTabbedPane.addTab
      1. javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416)
      2. javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270)
      3. javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132)
      4. javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67)
      5. javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616)
      6. javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591)
      7. javax.swing.JTabbedPane.insertTab(JTabbedPane.java:731)
      8. javax.swing.JTabbedPane.addTab(JTabbedPane.java:798)
      8 frames
    4. com.atlassian.jira
      Configurator.main
      1. com.atlassian.jira.configurator.gui.ConfiguratorFrame.newTabbedPanel(ConfiguratorFrame.java:156)
      2. com.atlassian.jira.configurator.gui.ConfiguratorFrame.init(ConfiguratorFrame.java:95)
      3. com.atlassian.jira.configurator.gui.ConfiguratorFrame.<init>(ConfiguratorFrame.java:83)
      4. com.atlassian.jira.configurator.Configurator.startGui(Configurator.java:74)
      5. com.atlassian.jira.configurator.Configurator.start(Configurator.java:52)
      6. com.atlassian.jira.configurator.Configurator.main(Configurator.java:43)
      6 frames