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

Avoid a couple NPEs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0
    • 1.1.0, 1.1.9
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: