You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Daniel Kasmeroglu (JIRA)" <ji...@apache.org> on 2014/10/13 03:05:33 UTC

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

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

Daniel Kasmeroglu updated TOMEE-1399:
-------------------------------------
    Attachment: tomee-1399.patch

Patch for SVN trunk

> Potential NPE in Assembler
> --------------------------
>
>                 Key: TOMEE-1399
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1399
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Daniel Kasmeroglu
>            Priority: Minor
>             Fix For: 2.0.0
>
>         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
(v6.3.4#6332)