Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3395

Avoid CXFInstanceProvider thowing NPE when the endpoint ServiceBean is not available

    XMLWordPrintable

Details

    Description

      CXFInstanceProvider throws NPE at line 57 when getServiceBean returns null. That's possible when the user does not provide any endpoint in the jbossws-cxf descriptor. While that's a user mistake, the exception here hides any meaningful message that might be written later on that. So either improve the error here or figure out if it's possible to have the injection simply be skipped here (probably still not a good idea)

      Attachments

        Activity

          People

            rhn-engineering-ema Jim Ma
            rhn-support-asoldano Alessio Soldano
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: