You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
otoroshi-error-handler - Server Error Cannot construct instance of `com.yubico.webauthn.RegistrationResult`, problem: warnings is marked non-null but is null
root at [Source: (String)"{"keyId":{"type":"public-key","id":"xxx","transports":[]},"aaguid":"AAAAAAAAAAAAAAAAAAAAAA","attestationTrusted":false,"attestationType":"NONE","publicKeyCose":"xxx","signatureCount":2,"clientExtensionOutputs":{"credProps":{}}}"; line: 1, column: 410] from 127.0.0.1 on POST https://otoroshi.oto.tools:9998/bo/webauthn/login/start
root com.fasterxml.jackson.databind.exc.ValueInstantiationException: Cannot construct instance of `com.yubico.webauthn.RegistrationResult`, problem: warnings is marked non-null but is null
root at [Source: (String)"{"keyId":{"type":"public-key","id":"xxx","transports":[]},"aaguid":"AAAAAAAAAAAAAAAAAAAAAA","attestationTrusted":false,"attestationType":"NONE","publicKeyCose":"xxx","signatureCount":2,"clientExtensionOutputs":{"credProps":{}}}"; line: 1, column: 410]
root at com.fasterxml.jackson.databind.exc.ValueInstantiationException.from(ValueInstantiationException.java:47)
root at com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:2047)
root at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.wrapAsJsonMappingException(StdValueInstantiator.java:587)
root at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.rewrapCtorProblem(StdValueInstantiator.java:610)
root at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:293)
root at com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith(ValueInstantiator.java:288)
root at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:202)
root at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:519)
root at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1405)
root at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:352)
root Caused by: java.lang.NullPointerException: warnings is marked non-null but is null
root at com.yubico.webauthn.RegistrationResult.<init>(RegistrationResult.java:124)
root at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
root at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
root at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
root at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
root at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:128)
root at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:291)
root at com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith(ValueInstantiator.java:288)
root at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:202)
root at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:519)
mathieuancelin
changed the title
Upgrade webauthn libs without breaking existing login
upgrade webauthn libs without breaking existing login
Dec 9, 2022
using
we need to upgrade to 2.2.0 which completely break the RegistrationResult model. We need to reimplement this properly like with https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java, https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/data/CredentialRegistration.java, https://github.com/Yubico/java-webauthn-server
The text was updated successfully, but these errors were encountered: