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
java.lang.ArrayIndexOutOfBoundsException: -1
at com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer.assignParameter(PropertyValueBuffer.java:210)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:380)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1123)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:298)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:133)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3807)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2797)
Validation is missing for this impossible constructor. Works as expected when InnerSomething is static.
The text was updated successfully, but these errors were encountered:
And the reason for failure was that of not delegating various methods from InnerClassProperty to underlying CreatorProperty; something that was actually fixed for master (by creating a "delegating" base class for such properties).
I suspect this will resolve #1502 and/or #1503 but will check them separately.
One additional note: actual test case will not actually pass due to complications of trying to pass inner class as creator parameter (it would, however, work as "regular" property). This may or may not be fixable, but at least exception message is more descriptive.
Minimal repro:
Fails like this:
Validation is missing for this impossible constructor. Works as expected when
InnerSomething
is static.The text was updated successfully, but these errors were encountered: