{"action":"created","issue":{"url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/149","repository_url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner","labels_url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/149/comments","events_url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/149/events","html_url":"https://github.com/lukehutch/fast-classpath-scanner/issues/149","id":268139911,"number":149,"title":"Java 9 Jar Issue","user":{"login":"Wafflemon","id":2895324,"avatar_url":"https://avatars3.githubusercontent.com/u/2895324?v=4","gravatar_id":"","url":"https://api.github.com/users/Wafflemon","html_url":"https://github.com/Wafflemon","followers_url":"https://api.github.com/users/Wafflemon/followers","following_url":"https://api.github.com/users/Wafflemon/following{/other_user}","gists_url":"https://api.github.com/users/Wafflemon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wafflemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wafflemon/subscriptions","organizations_url":"https://api.github.com/users/Wafflemon/orgs","repos_url":"https://api.github.com/users/Wafflemon/repos","events_url":"https://api.github.com/users/Wafflemon/events{/privacy}","received_events_url":"https://api.github.com/users/Wafflemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-24T18:32:43Z","updated_at":"2017-10-24T18:39:32Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nSo I ran into a bug in this library and the error message said to report the issue here. I think this has to do with the module-info.class that is being added to .jar files by the Java 9 compiler. I haven't even moved to Java 9, but I've been noticing that some of my dependency jars have the module-info.class in them. With the introduction of Jigsaw and the module system, I think they were trying to make it so that Java 9 jars are able to be used as a dependency for Java 8 jars and vice versa. So even in a Java 8 environment, this new module-info.class file is still relevant.\r\n\r\nHere is the specific stack trace:\r\n```\r\nCaused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unknown constant pool tag [I@ed6296a in classfile module-info.class (element size unknown, cannot continue reading class. Please report this on the FastClasspathScanner GitHub page.\r\n\tat io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.scan(FastClasspathScanner.java:1441)\r\n\tat io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.scan(FastClasspathScanner.java:1472)\r\n\tat io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.scan(FastClasspathScanner.java:1495)\r\n\tat com.selinc.winchester.paladin.config.adapters.RuntimeConfigAdapterLoader.scanClassPath(RuntimeConfigAdapterLoader.java:168)\r\n\tat com.selinc.winchester.paladin.config.adapters.RuntimeConfigAdapterLoader.<init>(RuntimeConfigAdapterLoader.java:51)\r\n\tat com.selinc.winchester.paladin.config.adapters.RuntimeConfigAdapterFactory.<init>(RuntimeConfigAdapterFactory.java:47)\r\n\tat com.selinc.winchester.paladin.config.adapters.Adapters.configAdapterFactory(Adapters.java:39)\r\n\tat com.selinc.winchester.paladin.config.ConfigMarshaller.<clinit>(ConfigMarshaller.java:35)\r\n\t... 24 more\r\nCaused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unknown constant pool tag [I@ed6296a in classfile module-info.class (element size unknown, cannot continue reading class. Please report this on the FastClasspathScanner GitHub page.\r\n\tat io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker.executionException(InterruptionChecker.java:74)\r\n\tat io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.runWorkLoop(WorkQueue.java:142)\r\n\tat io.github.lukehutch.fastclasspathscanner.utils.WorkQueue$1.call(WorkQueue.java:99)\r\n\tat io.github.lukehutch.fastclasspathscanner.utils.WorkQueue$1.call(WorkQueue.java:96)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\tSuppressed: java.lang.RuntimeException: Called close() before completing all work units\r\n\t\tat io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.close(WorkQueue.java:194)\r\n\t\tat io.github.lukehutch.fastclasspathscanner.scanner.Scanner.call(Scanner.java:438)\r\n\t\tat io.github.lukehutch.fastclasspathscanner.scanner.Scanner.call(Scanner.java:56)\r\n\t\t... 4 more\r\nCaused by: java.lang.RuntimeException: Unknown constant pool tag [I@ed6296a in classfile module-info.class (element size unknown, cannot continue reading class. Please report this on the FastClasspathScanner GitHub page.\r\n\tat io.github.lukehutch.fastclasspathscanner.scanner.ClassfileBinaryParser.readClassInfoFromClassfileHeader(ClassfileBinaryParser.java:561)\r\n\tat io.github.lukehutch.fastclasspathscanner.scanner.ClasspathElementZip.openInputStreamAndParseClassfile(ClasspathElementZip.java:347)\r\n\tat io.github.lukehutch.fastclasspathscanner.scanner.ClasspathElement.parseClassfiles(ClasspathElement.java:350)\r\n\tat io.github.lukehutch.fastclasspathscanner.scanner.Scanner$5.processWorkUnit(Scanner.java:427)\r\n\tat io.github.lukehutch.fastclasspathscanner.scanner.Scanner$5.processWorkUnit(Scanner.java:421)\r\n\tat io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.runWorkLoop(WorkQueue.java:133)\r\n\t... 6 more\r\n```"},"comment":{"url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/comments/339090101","html_url":"https://github.com/lukehutch/fast-classpath-scanner/issues/149#issuecomment-339090101","issue_url":"https://api.github.com/repos/lukehutch/fast-classpath-scanner/issues/149","id":339090101,"user":{"login":"Wafflemon","id":2895324,"avatar_url":"https://avatars3.githubusercontent.com/u/2895324?v=4","gravatar_id":"","url":"https://api.github.com/users/Wafflemon","html_url":"https://github.com/Wafflemon","followers_url":"https://api.github.com/users/Wafflemon/followers","following_url":"https://api.github.com/users/Wafflemon/following{/other_user}","gists_url":"https://api.github.com/users/Wafflemon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wafflemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wafflemon/subscriptions","organizations_url":"https://api.github.com/users/Wafflemon/orgs","repos_url":"https://api.github.com/users/Wafflemon/repos","events_url":"https://api.github.com/users/Wafflemon/events{/privacy}","received_events_url":"https://api.github.com/users/Wafflemon/received_events","type":"User","site_admin":false},"created_at":"2017-10-24T18:39:32Z","updated_at":"2017-10-24T18:39:32Z","author_association":"NONE","body":"I found the Jar that was causing the issue! Here is the maven repository for that dependency.\r\nhttps://mvnrepository.com/artifact/javax.json.bind/javax.json.bind-api/1.0"}}
{"actor":{"display_login":"Wafflemon"}}