Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2392

Fuse Integration Project is created with errors - invalid LOC header (sometimes)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Out of Date
    • Affects Version/s: 9.2.0
    • Fix Version/s: Backlog
    • Component/s: Fuse Projects
    • Labels:
    • Environment:

      JBoss Fuse Tooling 9.2.0.CR1-v20170427-1511-B132
      on Windows, Linux, macOS
      no settings.xml in .m2 folder

    • Workaround Description:
      Hide

      cleanup .m2 directory

      Show
      cleanup .m2 directory

      Description

      When I create a Fuse Integration Project (e.g. CBR/blueprint/2.17.0.redhat-630254), the project is created with errors. This happens randomly . The cause is badly downloaded maven artifacts.

      eclipse.buildId=10.4.0.GA-v20170427-0526-B16
      java.version=1.8.0_131
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization C:\mnt\hudson_workspace\workspace\devstudio-is-run\jbds-installer\devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization C:\mnt\hudson_workspace\workspace\devstudio-is-run\jbds-installer\devstudio-is-10.3.0.CR1/resources/pluginCustomization.ini -data workspace
      
      This is a continuation of log file C:\mnt\hudson_workspace\workspace\devstudio-is-run\jbds-installer\devstudio-is-10.3.0.CR1\target\workspace\.metadata\.bak_8.log
      Created Time: 2017-05-02 17:18:27.858
      
      org.jboss.tools.common.core
      Error
      Tue May 02 17:18:28 PDT 2017
      invalid LOC header (bad signature)
      
      java.util.zip.ZipException: invalid LOC header (bad signature)
      	at java.util.zip.ZipFile.read(Native Method)
      	at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
      	at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
      	at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
      	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
      	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      	at java.io.DataInputStream.readFully(DataInputStream.java:195)
      	at java.io.DataInputStream.readFully(DataInputStream.java:169)
      	at org.jboss.jandex.Indexer.verifyMagic(Indexer.java:433)
      	at org.jboss.jandex.Indexer.index(Indexer.java:689)
      	at org.jboss.tools.common.core.jandex.JandexUtil.createJarIndex(JandexUtil.java:56)
      	at org.jboss.tools.common.core.jandex.JandexUtil.hasAnnotation(JandexUtil.java:104)
      	at org.jboss.tools.cdi.internal.core.scanner.lib.BeanArchiveDetector.hasAnnotatedBeans(BeanArchiveDetector.java:276)
      	at org.jboss.tools.cdi.internal.core.scanner.lib.BeanArchiveDetector.resolve(BeanArchiveDetector.java:203)
      	at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.detectBeanModule(ClassPathMonitor.java:150)
      	at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.process(ClassPathMonitor.java:106)
      	at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:215)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lhein Lars Heinemann
                  Reporter:
                  tsedmik Tomáš Sedmík
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: