Failed to scan nexusiq artifacts

We are currently working on developing a Java -21 application and encountering an error while scanning artifacts in NexusIQ. Can any faced similar issue? our nexusiq version is 175.

Could not parse class file Controller.class2024-05-21 16:12:18.484 java.lang.UnsupportedOperationException: Hashing for Java 21 and beyond is not supported yet

4 Likes

Same here, and not clear what the impact is. Are these artifacts / dependencies still scanned for vulnerabilities?

1 Like

Facing the same issue. Does anyone know if there is a solution in sight, or at the very least an acknowledgement of the problem

Same here! We changed two projects to Java 21 and in both we see now this error messages. When we can expect that nexus-iq supports scanning of java 21 files?

Please see here: https://support.sonatype.com/hc/en-us/articles/30981234227987-UnsupportedOperationException-Hashing-for-Java-21-and-beyond-is-not-supported-yet