Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
Description
When DEBUG log is enabled, there are many ReflectionsException as below
2024-06-23 23:27:57,490 DEBUG [org.reflections-scanner-0]-org.reflections.Reflections: could not scan file META-INF/MANIFEST.MF in url jar:file:/opt/.../ozone-manager-VERSION.jar!/ with scanner SubTypesScanner org.reflections.ReflectionsException: could not create class object from file META-INF/MANIFEST.MF at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:32) at org.reflections.Reflections.scan(Reflections.java:253) at org.reflections.Reflections$1.run(Reflections.java:198) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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) at java.lang.Thread.run(Thread.java:750) Caused by: org.reflections.ReflectionsException: could not create class file from MANIFEST.MF at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:102) at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:24) at org.reflections.scanners.AbstractScanner.scan(AbstractScanner.java:30) ... 7 more Caused by: java.io.IOException: bad magic number: 4d616e69 at javassist.bytecode.ClassFile.read(ClassFile.java:825) at javassist.bytecode.ClassFile.<init>(ClassFile.java:154) at org.reflections.adapters.JavassistAdapter.getOfCreateClassObject(JavassistAdapter.java:100) ... 9 more