Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1399

Potential NPE in Assembler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 8.0.4
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

        1. tomee-1399.patch
          4 kB
          Daniel Kasmeroglu

          Activity

            People

            • Assignee:
              davidmsalter David Salter
              Reporter:
              costamojan Daniel Kasmeroglu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: