[ https://issues.apache.org/jira/browse/JOHNZON-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau updated JOHNZON-275: --------------------------------------- Fix Version/s: 1.2.0 > Adapter implementations that indirectly inherit from Adapter throw > MapperException on deserialization > ----------------------------------------------------------------------------------------------------- > > Key: JOHNZON-275 > URL: https://issues.apache.org/jira/browse/JOHNZON-275 > Project: Johnzon > Issue Type: Bug > Components: Mapper > Affects Versions: 1.1.13 > Reporter: Steven Walters > Assignee: Romain Manni-Bucau > Priority: Major > Fix For: 1.2.0 > > Attachments: johnzon-mapper-indirect-adapter-key.zip > > > Mapper release 1.1.13 created a regression in the treatment of Adapter > implementations that indirectly inherit from Adapter. > "Indirect inheritance" is such that the type does not directly implement > Adapter, but extends some other type that implements Adapter). > A brief look into the cause of the issue is that the "reverse" adapter key > cannot be found/determined and causes a NullPointerException to be thrown > when trying to utilize the null AdapterKey. > It should be noted that this behavior worked without issue in 1.1.12. > Attached is a test case that exemplifies the issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)