Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6681394

Adding a Java Runtime Version from Java Control Panel is not working

XMLWordPrintable

    • b22
    • generic
    • generic
    • Verified

      Tested build :6u10b21 PIT

      Steps to reproduce:
      1.Install JRE
      2.Launch Control Panel
      3.Goto Java Tab and Click on View Button to view Java Runtime Settings Dialog
      4.Click on Add Button
      5.No row is getting added in the table.

      Expected Behaviour:
      Another row should be added to the table.

      Clicking on Add Button gives :
      java.lang.NullPointerException
              at com.sun.deploy.config.JREInfo.findJREByPath(Unknown Source)
              at com.sun.deploy.config.JREInfo.toString(Unknown Source)
              at java.lang.String.valueOf(Unknown Source)
              at java.lang.StringBuffer.append(Unknown Source)
              at com.sun.deploy.panel.JreTableModel.add(Unknown Source)
              at com.sun.deploy.panel.PluginTableModel.add(Unknown Source)
              at com.sun.deploy.panel.PluginJreDialog.addBtnActionPerformed(Unknown Source)
              at com.sun.deploy.panel.PluginJreDialog.access$200(Unknown Source)
              at com.sun.deploy.panel.PluginJreDialog$3.actionPerformed(Unknown Source)
              at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
              at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
              at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
              at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
              at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
              at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
              at java.awt.Component.processMouseEvent(Unknown Source)
              at javax.swing.JComponent.processMouseEvent(Unknown Source)
              at java.awt.Component.processEvent(Unknown Source)
              at java.awt.Container.processEvent(Unknown Source)

            ccheung Calvin Cheung
            rajpilla Rajasree Pillai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: