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

Ensemble throws InvalidJarIndexException on start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • deploy
    • fx 2.2 b10, win 7

      $ java -jar Ensemble.jar
      java.lang.ExceptionInInitializerError
              at com.sun.deploy.config.Config.getLocalStorageDir(Unknown Source)
              at com.sun.deploy.config.Config.getDefaultCacheDirectory(Unknown Source)
              at com.sun.deploy.config.DefaultConfig.init(Unknown Source)
              at com.sun.deploy.config.DefaultConfig.<init>(Unknown Source)
              at com.sun.deploy.config.DefaultConfig.getDefaultConfig(Unknown Source)
              at com.sun.deploy.config.Config.get(Unknown Source)
              at com.sun.deploy.net.proxy.UserDefinedProxyConfig.getBrowserProxyInfo(Unknown Source)
              at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)
              at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.javafx.main.Main.tryToSetProxy(Main.java:550)
              at com.javafx.main.Main.launchApp(Main.java:588)
              at com.javafx.main.Main.main(Main.java:747)
      Caused by: sun.misc.InvalidJarIndexException: Invalid index
              at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
              at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
              at sun.misc.URLClassPath.getResource(Unknown Source)
              at java.net.URLClassLoader$1.run(Unknown Source)
              at java.net.URLClassLoader$1.run(Unknown Source)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(Unknown Source)
              at java.lang.ClassLoader.loadClass(Unknown Source)
              at java.lang.ClassLoader.loadClass(Unknown Source)
              at com.sun.deploy.config.Config.setDebug(Unknown Source)
              at com.sun.deploy.config.Config.getDeployDebug(Unknown Source)
              at com.sun.deploy.config.Platform.<clinit>(Unknown Source)
              ... 16 more
      ---- FetchDocListTask docsUrl = http://download.oracle.com/javafx/2/api/

            kcr Kevin Rushforth
            sgrinev Sergey Grinev (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: