johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (JOHNZON-275) Adapter implementations that indirectly inherit from Adapter throw MapperException on deserialization
Date Mon, 09 Sep 2019 07:36:00 GMT

     [ https://issues.apache.org/jira/browse/JOHNZON-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Romain Manni-Bucau reassigned JOHNZON-275:
------------------------------------------

    Assignee: Romain Manni-Bucau

> 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
>         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)

Mime
View raw message