JDK-6568570 : FileNotFoundException while starting BackgroundDownloader in a my slow broad band connection
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 6u4
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2007-06-12
  • Updated: 2010-09-08
  • Resolved: 2007-08-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u4 b01Fixed
Description
I got this FileNotFoundException while starting BackgroundDownloader in a my slow broad band connection ( 10kbps to 20kbps connection).

Reproduce :
a) Installed Kernel JRE installation.
b) Just after the installation -executed java -Dkernel.backgroundDownlod=false sun.mic.BackgroundDownloader on command line.

Exception :
C:\Program Files\Java\jre1.6.0\bin>java -Dkernel.backgroundDownlod=false sun.mic.BackgroundDownloader

java.io.FileNotFoundException: c:\temp\log.txt (The system cannot find the path specified)
       at java.io.FileOutputStream.openAppend(Native Method)
       at java.io.FileOutputStream.<init>(Unknown Source)
       at java.io.FileOutputStream.<init>(Unknown Source)
       at sun.misc.DownloadManager$Bundle.download(Unknown Source)
       at sun.misc.DownloadManager$Bundle.install(Unknown Source)
       at sun.misc.DownloadManager.doBackgroundDownloads(Unknown Source)
       at sun.misc.BackgroundDownloader.doBackgroundDownloads(Unknown Source)
       at sun.misc.BackgroundDownloader.main(Unknown Source)
Exception in thread "main" java.lang.IllegalStateException: Expected state of Bndle[sun_reflect_generics_scope] to be DOWNLOADED
       at sun.misc.DownloadManager$Bundle.install(Unknown Source)
       at sun.misc.DownloadManager.doBackgroundDownloads(Unknown Source)
       at sun.misc.BackgroundDownloader.doBackgroundDownloads(Unknown Source)
       at sun.misc.BackgroundDownloader.main(Unknown Source)

Comments
EVALUATION This was caused by a mistake during the build process.
14-06-2007