Problems with proguard-7.2.0-beta1 on app written in Java 17.0.1

While attempting to obfuscate my application running on java 17.0.1 consisting of a single jar that uses several other libraries I get at the end the below error:


Reading library directory [R:\yx\ixanos_installer\lib\oracle\oracle_9i] (filtered)
Reading library directory [R:\yx\ixanos_installer\lib\siebel\18_12] (filtered)
Reading library directory [R:\yx\ixanos_installer\lib\siebel\8_0_0_8] (filtered)
Initializing…
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Exception in thread “main” java.lang.ExceptionInInitializerError
at proguard.classfile.util.DynamicMemberReferenceInitializer.(DynamicMemberReferenceInitializer.java:87)
at proguard.Initializer.execute(Initializer.java:246)
at proguard.ProGuard.initialize(ProGuard.java:327)
at proguard.ProGuard.execute(ProGuard.java:132)
at proguard.ProGuard.main(ProGuard.java:717)
Caused by: java.lang.UnsupportedOperationException: No class provided, and an appropriate one cannot be found.
at org.apache.logging.log4j.LogManager.callerClass(LogManager.java:573)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:598)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:585)
at proguard.classfile.editor.CodeAttributeEditor.(CodeAttributeEditor.java:113)
… 5 more

Any ideas how to go about it?
Let me know if you need anything else for your analysis

cheers
John

Hi @ixanos1,

Thanks for reaching out. After talking with our team, this was resolved in 7.2.0-beta2. If you upgrade to 7.2.0-beta5 you should be all set.

Hope this helps!
Jesse