You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2018/01/24 17:04:00 UTC

[jira] [Resolved] (ISIS-1831) If Accept header bad, then our exception handler throws an NPE and so issue of bad header is not reported.

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

Dan Haywood resolved ISIS-1831.
-------------------------------
    Resolution: Fixed

> If Accept header bad, then our exception handler throws an NPE and so issue of bad header is not reported.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1831
>                 URL: https://issues.apache.org/jira/browse/ISIS-1831
>             Project: Isis
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Major
>             Fix For: 1.16.1
>
>
> If RestEasy throws exception due to bad Accept header, this happens before Isis has set up a session.  We therefore need to guard against this in the exception handler to avoid the NPE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)