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

      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)

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

                Created:
                Updated:
                Resolved: