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

PIT: JREFindDialog throws NullPointerException when tries to find jres of other OS

XMLWordPrintable

    • b61
    • generic
    • generic
    • Verified

      JREFindDialog throws NullPointerException when tries to find jres of other OS

      Tested Build : Mustang PIT build 56
      Tested OS : All

      Steps to reproduce :
      1. Install mustang PIT build 56
      2. Clear cache
      3. Launch Java Control Panel
      4. Go to Java tab
      5. Click View button of Java Application Runtime Settings
      JNLP Runtime settings is launched
      6. Click Find button
      7. In the JRE Finder dialog, click Next button
      8. Choose the JRE folder which has valid binaries for the chosen OS
      (for eg, In windows test machine, choose the folder which has windows JDK/JRE binaries)
      9. It lists out the JREs
      10. Choose the JRE folder which has not the valid binaries for the chosen OS
      (for eg, In windows test machine, choose the folder which has solaris/linux JDK/JRE binaries)

      NullPointerException thrown in the terminal / jcp.log file
      Find below the detailed exception :

      Exception in thread "Thread-2" java.lang.NullPointerException
              at com.sun.deploy.panel.JreFindDialog$SearchPanel$Searcher.getVersion(Unknown Source)
              at com.sun.deploy.panel.JreFindDialog$SearchPanel$Searcher.check(Unknown Source)
              at com.sun.deploy.panel.JreFindDialog$SearchPanel$Searcher.check(Unknown Source)
      .
      .
      .
              at com.sun.deploy.panel.JreFindDialog$SearchPanel$Searcher.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)

            pwusunw Paul Wu (Inactive)
            mnarayansunw Malathi Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: