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

Misleading error message when attempting to download nonexistent bundle

    XMLWordPrintable

Details

    • b21
    • x86
    • windows
    • Verified

    Description

      Number Format Exception while downloading rmi bundle.

      Surprisingly after repeated retries it downloaded. ( Dont know the reason)
      Reproducible almost all m/cs. ( jdsn9.india.sun.com - vnc123)

      Stpes to reproduce :
      Install Kernel JRE
      and run java -Dkernel.debug=true sun.jkernel.DownloadManager -download rmi

      Here is the exception :

      C:\Users\Pradeep>java -Dkernel.debug=true -version
      DownloadManager startup
      Checking for requested bundles...
      Requested bundles: [java.rmi]
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b313)
      Java HotSpot(TM) Kernel VM (build 11.0-b11, mixed mode)
      Downloading Bundle[java.rmi] due to requested.list
      Exception in thread "BundleDownloader" java.lang.NumberFormatException: null
              at java.lang.Integer.parseInt(Unknown Source)
              at java.lang.Integer.valueOf(Unknown Source)
              at sun.jkernel.Bundle.getSize(Unknown Source)
              at sun.jkernel.Bundle.install(Unknown Source)
              at sun.jkernel.DownloadManager.downloadRequestedBundles(Unknown Source)
              at sun.jkernel.DownloadManager.access$100(Unknown Source)
              at sun.jkernel.DownloadManager$2$2.run(Unknown Source)

      Attachments

        Activity

          People

            enicholasunw Ethan Nicholas (Inactive)
            rnairsunw Raghu Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: