Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17530

when urls fails to download we end up with 0 size content

XMLWordPrintable

    • Hide
      1. EXEC: Start JBT and open JBoss Tools Central Editor
      2. EXEC: Locate toolbar button and editor tab as close as you can
      3. EXEC: Close and open JBT Central by pushing toolbar button and on editor tab
      4. ASSERT: no reported error
      Show
      EXEC: Start JBT and open JBoss Tools Central Editor EXEC: Locate toolbar button and editor tab as close as you can EXEC: Close and open JBT Central by pushing toolbar button and on editor tab ASSERT: no reported error

      due to a crash files end up being 0 sized resulting in this stack trace:

      STACK 0
      18:14 java.util.zip.ZipException: zip file is empty
      18:14 at java.util.zip.ZipFile.open(Native Method)
      18:14 at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      18:14 at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      18:14 at java.util.jar.JarFile.<init>(JarFile.java:153)
      18:14 at java.util.jar.JarFile.<init>(JarFile.java:117)
      18:14 at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
      18:14 at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
      18:14 at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
      18:14 at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
      18:14 at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)

      files shoulnd't be put into cache before completely downloaded.

      !ENTRY org.eclipse.mylyn.discovery.core 4 0 2014-06-04 15:03:08.894
      !MESSAGE Cannot load bundle org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_6387042895189249876.jar from url /home/eskimo/Projects/jbdevstudio/4.2.x/fork/runtime-EclipseApplication-temp/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1401919388047/org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_6387042895189249876.jar: error in opening zip file
      !STACK 0
      java.util.zip.ZipException: error in opening zip file
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      	at java.util.jar.JarFile.<init>(JarFile.java:153)
      	at java.util.jar.JarFile.<init>(JarFile.java:117)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)
      	at org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
      	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:101)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.getProxyWizards(ProxyWizardManager.java:121)
      	at org.jboss.tools.central.editors.GettingStartedPage.getProxyWizards(GettingStartedPage.java:563)
      	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:561)
      	at org.jboss.tools.central.editors.GettingStartedPage$5.run(GettingStartedPage.java:515)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      !ENTRY org.eclipse.mylyn.discovery.core 4 0 2014-06-04 15:14:14.190
      !MESSAGE Cannot load bundle org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_3281606466638696010.jar from url /home/eskimo/Projects/jbdevstudio/4.2.x/fork/runtime-EclipseApplication-temp/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1401920053564/org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_3281606466638696010.jar: error in opening zip file
      !STACK 0
      java.util.zip.ZipException: error in opening zip file
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      	at java.util.jar.JarFile.<init>(JarFile.java:153)
      	at java.util.jar.JarFile.<init>(JarFile.java:117)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)
      	at org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
      	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:101)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.getProxyWizards(ProxyWizardManager.java:121)
      	at org.jboss.tools.central.editors.GettingStartedPage.getProxyWizards(GettingStartedPage.java:563)
      	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:561)
      	at org.jboss.tools.central.editors.GettingStartedPage$5.run(GettingStartedPage.java:515)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      !ENTRY org.eclipse.mylyn.discovery.core 4 0 2014-06-04 15:14:16.303
      !MESSAGE Cannot load bundle org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_6092819873576841520.jar from url /home/eskimo/Projects/jbdevstudio/4.2.x/fork/runtime-EclipseApplication-temp/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1401920055231/org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_6092819873576841520.jar: error in opening zip file
      !STACK 0
      java.util.zip.ZipException: error in opening zip file
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      	at java.util.jar.JarFile.<init>(JarFile.java:153)
      	at java.util.jar.JarFile.<init>(JarFile.java:117)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)
      	at org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
      	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:101)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.getProxyWizards(ProxyWizardManager.java:121)
      	at org.jboss.tools.central.editors.GettingStartedPage.getProxyWizards(GettingStartedPage.java:563)
      	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:561)
      	at org.jboss.tools.central.editors.GettingStartedPage$5.run(GettingStartedPage.java:515)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      !ENTRY org.eclipse.mylyn.discovery.core 4 0 2014-06-04 15:14:18.392
      !MESSAGE Cannot load bundle org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_5797717969376990600.jar from url /home/eskimo/Projects/jbdevstudio/4.2.x/fork/runtime-EclipseApplication-temp/.metadata/.plugins/org.jboss.tools.central/proxyWizards/1401920057185/org.jboss.tools.central.discovery_4.2.0.Beta3_v20140601_2325_B2769.jar_5797717969376990600.jar: error in opening zip file
      !STACK 0
      java.util.zip.ZipException: error in opening zip file
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:215)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:145)
      	at java.util.jar.JarFile.<init>(JarFile.java:153)
      	at java.util.jar.JarFile.<init>(JarFile.java:117)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundle(DiscoveryRegistryStrategy.java:137)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.processBundles(DiscoveryRegistryStrategy.java:126)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.DiscoveryRegistryStrategy.onStart(DiscoveryRegistryStrategy.java:78)
      	at org.eclipse.core.internal.registry.ExtensionRegistry.<init>(ExtensionRegistry.java:725)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:125)
      	at org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
      	at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:101)
      	at org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.getProxyWizards(ProxyWizardManager.java:121)
      	at org.jboss.tools.central.editors.GettingStartedPage.getProxyWizards(GettingStartedPage.java:563)
      	at org.jboss.tools.central.editors.GettingStartedPage.access$11(GettingStartedPage.java:561)
      	at org.jboss.tools.central.editors.GettingStartedPage$5.run(GettingStartedPage.java:515)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

            fbricon@redhat.com Fred Bricon
            manderse@redhat.com Max Andersen
            Denis Golovin (Inactive), Mickael Istria, Snjezana Peco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: