You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Richard Zowalla (Jira)" <ji...@apache.org> on 2024/12/16 07:54:00 UTC

[jira] [Closed] (TOMEE-4410) Better Exception when accesing injected HttpServletRequest if no request is active

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

Richard Zowalla closed TOMEE-4410.
----------------------------------
    Fix Version/s: 10.0.0
                       (was: 9.1.4)
       Resolution: Fixed

> Better Exception when accesing injected HttpServletRequest if no request is active
> ----------------------------------------------------------------------------------
>
>                 Key: TOMEE-4410
>                 URL: https://issues.apache.org/jira/browse/TOMEE-4410
>             Project: TomEE
>          Issue Type: Improvement
>            Reporter: Markus Jung
>            Priority: Minor
>             Fix For: 10.0.0, 10.0.0-M3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Throws a NullPointerException right now that can be confusing, we should throw a custom exception in TomEE that actually tells the user what they're doing wrong clearly



--
This message was sent by Atlassian Jira
(v8.20.10#820010)