OpenWebBeans
  1. OpenWebBeans
  2. OWB-547

WebContextsService throws NPE on asynchronous app startup

    Details

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

      Description

      If our webbeans-web plugin is present when starting our test lifecycle, we get a NPE because our WebContextsService always expects a Session. But in case of unit tests on the frontend the session is actually null. Same is true for asynchronous operations inside a web server and e.g. for MessageDriven Beans.

        Activity

        Mark Struberg created issue -
        Mark Struberg made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Struberg made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development