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

Improve error message when "Keep Temporary files on my computer" option in the java control panel is disabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • fx1.3
    • deploy
    • None
    • Windows


      It will help to make the error message more intuitive when the "Keep Temporary files on my computer" option in the java control panel is disabled.Currently, once the above option is disabled, the JavaFX sample does not run and the following error is thrown on the console. if we cannot bypass this limitation, it will help to have a proper error message to help the consumer identify the issue .

      exception: null.
      BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://dl.javafx.com/Decora-SSE-natives-windows-i586__V1.0.1.jar]
        at com.sun.javaws.jnl.XMLFormat.handleResourceElement(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat.access$800(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unknown Source)
        at com.sun.javaws.jnl.XMLUtils.visitChildrenElements(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknown Source)
        at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Unknown Source)
        at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
        at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
        at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
        at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
        at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
        at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
      Exception: BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://dl.javafx.com/Decora-SSE-natives-windows-i586__V1.0.1.jar]

            dgu Dennis Gu (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: