Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError AndroidSafetynetAttestationStatementVerifier at FinishRegistrationSteps #400

Open
jaalmansa opened this issue Jan 20, 2025 · 1 comment

Comments

@jaalmansa
Copy link

When I am performing the fingerprint registration from Android in the FinishRegistrationSteps class in the attestationStatementVerifier method, it enters into "android-safetynet" option and create new AndroidSafetynetAttestationStatementVerifier() but it returns java.lang.NoClassDefFoundError exception

java.lang.NoClassDefFoundError: Could not initialize class com.yubico.webauthn.AndroidSafetynetAttestationStatementVerifier at com.yubico.webauthn.FinishRegistrationSteps$Step18.attestationStatementVerifier(FinishRegistrationSteps.java:376) at com.yubico.webauthn.FinishRegistrationSteps$Step18.nextStep(FinishRegistrationSteps.java:360) at com.yubico.webauthn.FinishRegistrationSteps$Step18.nextStep(FinishRegistrationSteps.java:350) at com.yubico.webauthn.FinishRegistrationSteps$Step.next(FinishRegistrationSteps.java:113) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps$Step.run(FinishRegistrationSteps.java:120) at com.yubico.webauthn.FinishRegistrationSteps.run(FinishRegistrationSteps.java:99) at com.yubico.webauthn.RelyingParty.finishRegistration(RelyingParty.java:505)

@emlun
Copy link
Member

emlun commented Jan 21, 2025

Hi, is that the entire stack trace, or are there any "caused by" stack traces following it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants