You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Salter (Jira)" <ji...@apache.org> on 2020/07/10 17:03:00 UTC

[jira] [Commented] (TOMEE-1399) Potential NPE in Assembler

    [ https://issues.apache.org/jira/browse/TOMEE-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155614#comment-17155614 ] 

David Salter commented on TOMEE-1399:
-------------------------------------

PR created at: 
[https://github.com/apache/tomee/pull/675]

> Potential NPE in Assembler
> --------------------------
>
>                 Key: TOMEE-1399
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1399
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 7.0.0
>            Reporter: Daniel Kasmeroglu
>            Priority: Minor
>             Fix For: 7.0.9
>
>         Attachments: tomee-1399.patch
>
>
> There is a test whether _AppContext_ is _null_ or not. But it's dereferenced ahead of this test so a _null_ value would still cause an NPE.
> See: https://kasisoft.com/stash/projects/TOMEE/repos/tomee/commits/d0b85235aacd0a39559abcab677438c056e8aa81



--
This message was sent by Atlassian Jira
(v8.3.4#803005)