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

java.io.FileNotFoundException when batch feature installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Beta1
    • 4.3.0.Beta1
    • batch
    • None

      I have a bunch of JavaEE projects in my workspace.
      When opening that workspace I saw the following exception in the log:

      java.io.FileNotFoundException: /home/igels/Java/eclipse-mars/workspace/runtime/SeamTest/WebContent/WEB-INF/classes (Is a directory)
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:220)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:150)
      	at java.util.jar.JarFile.<init>(JarFile.java:166)
      	at java.util.jar.JarFile.<init>(JarFile.java:130)
      	at org.jboss.tools.common.core.jandex.JandexUtil.createJarIndex(JandexUtil.java:47)
      	at org.jboss.tools.common.core.jandex.JandexUtil.hasSubtypes(JandexUtil.java:123)
      	at org.jboss.tools.batch.internal.core.scanner.BatchArchiveDetector.computeIsJarBatchArchive(BatchArchiveDetector.java:278)
      

      WEB-INF/classes or any other bin folder should not been scanned by Batch JAR scanner.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: