Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-480

Avoid a couple NPEs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 1.1.0
    • Fix Version/s: 1.1.0, 1.1.9
    • Component/s: Core
    • Labels:
      None

      Description

      I've found 2 possible NPE;s:

      1. in an OSGI environment, its quite possible that no openwebbeans.properties files will be located, so you get a null properties object and OpenWebBeansConfiguration will have a null Properties leading to big problems.

      2. in WebContainerLifecycle, the claim that it's a jsp app by configuration might be wrong. If there's no jsp factory, no need to throw an NPE.

        Attachments

        1. OWB-480.patch
          2 kB
          David Jencks

          Activity

            People

            • Assignee:
              gerdogdu Gurkan Erdogdu
              Reporter:
              djencks David Jencks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: