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

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

XMLWordPrintable

    • b23
    • b23
    • x86
    • windows
    • Verified

      Tested Platform : Windows
      Tested build :6u10b23 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 to the table.

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

      Actual Behaviour :
      NullPointerException is thrown.

      This bug was fixed and integrated into b22 but now failed in b23 PIT. It is a regression from b23 PIT.

      Detailed error :

      java.lang.NullPointerException
      at com.sun.deploy.config.JREInfo.getPlatformByProduct(Unknown Source)
      at com.sun.deploy.config.JREInfo.<init>(Unknown Source)
      at com.sun.deploy.panel.JavawsJreDialog.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)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      .
      .
      .
      .

            ccheung Calvin Cheung
            mnarayansunw Malathi Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: