Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86332

PrototypeServiceFactoryComponentManager.getService() returned a null service object when JAX-RS Feature depends only on another JAX-RS Feature

    Details

      Description

      Cannot be manually tested

      Please see https://issues.apache.org/jira/browse/ARIES-1843 for more info.

      The error log:

      org.osgi.framework.ServiceException: org.apache.felix.scr.impl.manager.PrototypeServiceFactoryComponentManager.getService() returned a null service object
      	at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:232)
      	at org.eclipse.osgi.internal.serviceregistry.PrototypeServiceFactoryUse.newServiceObject(PrototypeServiceFactoryUse.java:61)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$1.getService(ServiceConsumer.java:30)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:524)
      	at org.eclipse.osgi.internal.serviceregistry.ServiceObjectsImpl.getService(ServiceObjectsImpl.java:89)
      	at org.apache.aries.jax.rs.whiteboard.internal.utils.ServiceTuple.refresh(ServiceTuple.java:50)
      	at org.apache.aries.jax.rs.whiteboard.internal.cxf.CxfJaxrsServiceRegistrator.rewire(CxfJaxrsServiceRegistrator.java:198)
      	at org.apache.aries.jax.rs.whiteboard.internal.cxf.CxfJaxrsServiceRegistrator.removeProvider(CxfJaxrsServiceRegistrator.java:188)
      	at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:644)
      	at org.apache.aries.component.dsl.OSGiResult.run(OSGiResult.java:29)
      	at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:637)
      	at org.apache.aries.component.dsl.OSGiResult.run(OSGiResult.java:29)
      	at org.apache.aries.component.dsl.OSGi.lambda$null$68(OSGi.java:637)
      ...
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 2 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP3
                  7.1.1 CE GA2
                  7.1.10.1 SP1
                  7.1.X
                  Master