An error occurs when calling io.github.classgraph.Scanner.performScan().
See original GitHub issueAfter upgrading from 4.8.33 to 4.8.34, an error occurs when calling io.github.classgraph.Scanner.performScan().
The statcktrace is as follows.
Caused by: io.github.classgraph.ClassGraphException: Uncaught exception during scan
at io.github.classgraph.ClassGraphException.newClassGraphException(ClassGraphException.java:89)
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1183)
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1201)
at io.github.classgraph.ClassGraph.scan(ClassGraph.java:1214)
at jp.co.nextcolors.framework.bean.util.BeanConverterUtil.registerConverters(BeanConverterUtil.java:49)
at jp.co.nextcolors.koinomi.listener.ApplicationContextListener.contextInitialized(ApplicationContextListener.java:33)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:5156)
at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:682)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5725)
... 48 more
Caused by: java.lang.IllegalArgumentException: Class META-INF.versions.9.module-info should not have been scheduled more than once for scanning due to classpath masking -- please report this bug at: https://github.com/classgraph/classgraph/issues
at io.github.classgraph.Scanner.performScan(Scanner.java:817)
at io.github.classgraph.Scanner.openClasspathElementsThenScan(Scanner.java:971)
at io.github.classgraph.Scanner.call(Scanner.java:1006)
at io.github.classgraph.Scanner.call(Scanner.java:74)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
... 1 more
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Getting Exception IllegalArgumentException: getClassInfo ...
Exception in thread "main" io.github.classgraph.ClassGraphException: Uncaught exception during scan at io.github.classgraph.
Read more >Scan Resources Folder Error · Issue #395 · classgraph ...
I am trying to scan a resource folder called fxml/single in Gradle project where all resources are in the java/resources folder.
Read more >ParseException while scanning Scala jar dependency · Issue #495 ...
Hi, I am trying to use ClassGraph to analyze our Scala project. Sadly while scanning the project with new ClassGraph().verbose().
Read more >classgraph/Scanner.java at latest - GitHub
Scanning is started by calling {@link #call()} on this object. *. * @param performScan. * If true, performing a scan. If false, only...
Read more >OOM while loading classpath with large JAR files #338 - GitHub
ClassGraph.scan(ClassGraph.java:1181) at io.github.classgraph. ... (So make sure .verbose() is not called in production.).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lukehutch The version 4.8.35 works fine! Thank you.
@ahamana You’re right, there was a transient failure on Sonatype. I just pushed the release again. You should be able to get the jar from Sonatype now, or it usually takes an hour or two to sync to Maven Central.
You’re welcome. I just published this a couple of days ago…
https://github.com/classgraph/classgraph/blob/master/Zero-Bugs-Commitment.md