Details

      Description

      EDIT: New steps to reproduce down in comments

      Make a REST Extender configuration in System Setting/Foundation
      Export the configuration
      Delete the instance
      Add the exported config file to the osgi/configs folder
      Following Exception Occurs:

      19:57:08,089 ERROR [Refresh Thread: Equinox Container: f0883924-b0eb-0015-126c-b68a8fe33a40][com_liferay_portal_remote_rest_extender:96] Error processing tasks
      java.lang.IllegalStateException: Invalid filter definition for dependency:
      at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.doStart(ServiceDependencyImpl.java:783)
      at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.access$000(ServiceDependencyImpl.java:60)
      at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl$2.run(ServiceDependencyImpl.java:287)
      at org.apache.felix.dm.impl.SerialExecutor.runTask(SerialExecutor.java:137)
      at org.apache.felix.dm.impl.SerialExecutor.runTasks(SerialExecutor.java:119)
      at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:85)
      at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:104)
      at org.apache.felix.dm.impl.dependencies.ServiceDependencyImpl.start(ServiceDependencyImpl.java:284)
      at org.apache.felix.dm.impl.ComponentImpl.startTrackingOptional(ComponentImpl.java:789)
      at org.apache.felix.dm.impl.ComponentImpl.bindService(ComponentImpl.java:707)
      at org.apache.felix.dm.impl.ComponentImpl.access$400(ComponentImpl.java:54)
      at org.apache.felix.dm.impl.ComponentImpl$7.run(ComponentImpl.java:202)
      at org.apache.felix.dm.impl.SerialExecutor.runTask(SerialExecutor.java:137)
      at org.apache.felix.dm.impl.SerialExecutor.runTasks(SerialExecutor.java:119)
      at org.apache.felix.dm.impl.SerialExecutor.execute(SerialExecutor.java:85)
      at org.apache.felix.dm.impl.ComponentImpl.calculateStateChanges(ComponentImpl.java:252)
      at org.apache.felix.dm.impl.ComponentImpl.start(ComponentImpl.java:440)
      at org.apache.felix.dm.DependencyManager.add(DependencyManager.java:167)
      at com.liferay.portal.remote.rest.extender.internal.RestExtender.activate(RestExtender.java:70)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:497)
      at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)
      at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)
      at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)
      at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)
      at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)
      at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)
      at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)
      at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)
      at org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)
      at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)
      at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
      at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
      at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)
      at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1)
      at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
      at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
      at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:905)
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
      at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
      at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
      at org.eclipse.osgi.container.Module.publishEvent(Module.java:461)
      at org.eclipse.osgi.container.Module.start(Module.java:452)
      at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:454)
      at org.eclipse.osgi.container.ModuleContainer.applyDelta(ModuleContainer.java:717)
      at org.eclipse.osgi.container.ModuleContainer.resolveAndApply(ModuleContainer.java:491)
      at org.eclipse.osgi.container.ModuleContainer.resolve(ModuleContainer.java:437)
      at org.eclipse.osgi.container.ModuleContainer.refresh(ModuleContainer.java:955)
      at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1336)
      at org.eclipse.osgi.container.ModuleContainer$ContainerWiring.dispatchEvent(ModuleContainer.java:1)
      at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              dylan.rebelak Dylan Rebelak (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 13 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.1 CE GA2