[jbosstools-issues] [JBoss JIRA] (JBIDE-19938) java.io.FileNotFoundException when batch feature installed

Alexey Kazakov (JIRA) issues at jboss.org
Thu Jun 4 13:31:02 EDT 2015


Alexey Kazakov created JBIDE-19938:
--------------------------------------

             Summary: java.io.FileNotFoundException when batch feature installed
                 Key: JBIDE-19938
                 URL: https://issues.jboss.org/browse/JBIDE-19938
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: batch
    Affects Versions: 4.3.0.Beta1
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 4.3.0.Beta2


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

{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list