Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1009

NullPointerException when using the CdiInjectorFactory in Netty servers.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.7.Final
    • 3.0.6.Final
    • CDI Integration
    • None

      In a Netty server, there is no ServletContext. As a result, when trying to get a reference to CDI's BeanManager via ServletContext, we end up with a NullPointerException.

      Need to modify the check to include a null check on ServletContext.

            patriot1burke@gmail.com Bill Burke (Inactive)
            meetoblivion_jira John Ament (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: