Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.1.X
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      None
    • Story Points:
      0.25
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Startup protal.
      2. Go to Control Panel>Configuration>Gogo Shell.
      3. Run a system check with the command "system:check" in Gogo shell.

      Expected result:
      The command execute with no error.

      Actual result:
      When you access Gogo Shell have error:

      2018-11-12 02:23:25.947 ERROR [http-nio-8080-exec-9][SerializableSessionAttributeListener:46] org.apache.felix.gogo.runtime.CommandSessionImpl is not serializable and will prevent this session from being replicated
      2018-11-12 02:23:25.949 ERROR [http-nio-8080-exec-9][SerializableSessionAttributeListener:46] java.io.PrintStream is not serializable and will prevent this session from being replicated
      2018-11-12 02:23:25.949 ERROR [http-nio-8080-exec-9][SerializableSessionAttributeListener:46] com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream is not serializable and will prevent this session from being replicated
      2018-11-12 02:23:25.950 ERROR [http-nio-8080-exec-9][SerializableSessionAttributeListener:46] java.io.PrintStream is not serializable and will prevent this session from being replicated
      2018-11-12 02:23:25.950 ERROR [http-nio-8080-exec-9][SerializableSessionAttributeListener:46] com.liferay.portal.kernel.io.unsync.UnsyncByteArrayOutputStream is not serializable and will prevent this session from being replicated
      

      Run the command "system:check" have error:

      2018-11-12 02:23:29.684 ERROR [pipe-system:check][SoftCircularDependencyUtil:127] Invalid filter "(&(service.ranking<=99(store.type=com.liferay.portal.store.file.system.AdvancedFileSystemStore)))" fromcom.liferay.portal.store.ignore.duplicates.wrapper.internal.IgnoreDuplicatesAdvancedFileSystemStoreWrapper[setStore]
      org.osgi.framework.InvalidSyntaxException: Invalid value at "(store.type=com.liferay.portal.store.file.system.AdvancedFileSystemStore)))": (&(service.ranking<=99(store.type=com.liferay.portal.store.file.system.AdvancedFileSystemStore)))
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_value(FilterImpl.java:1660)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_item(FilterImpl.java:1593)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_filtercomp(FilterImpl.java:1515)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_filter(FilterImpl.java:1481)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_and(FilterImpl.java:1530)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_filtercomp(FilterImpl.java:1504)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse_filter(FilterImpl.java:1481)
              at org.eclipse.osgi.internal.framework.FilterImpl$Parser.parse(FilterImpl.java:1460)
              at org.eclipse.osgi.internal.framework.FilterImpl.newInstance(FilterImpl.java:147)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.createFilter(BundleContextImpl.java:977)
              at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getServiceReferences(ServiceRegistry.java:311)
              at org.eclipse.osgi.internal.framework.BundleContextImpl.getServiceReferences(BundleContextImpl.java:535)
              at com.liferay.portal.osgi.debug.declarative.service.internal.SoftCircularDependencyUtil._createClosureNavigationMap(SoftCircularDependencyUtil.java:117)
              at com.liferay.portal.osgi.debug.declarative.service.internal.SoftCircularDependencyUtil.listSoftCircularDependencies(SoftCircularDependencyUtil.java:65)
              at com.liferay.portal.osgi.debug.declarative.service.internal.DeclarativeServiceSoftCircularDependencySystemChecker.check(DeclarativeServiceSoftCircularDependencySystemChecker.java:34)
              at com.liferay.portal.osgi.debug.internal.osgi.commands.SystemCheckOSGiCommands._check(SystemCheckOSGiCommands.java:114)
              at com.liferay.portal.osgi.debug.internal.osgi.commands.SystemCheckOSGiCommands.check(SystemCheckOSGiCommands.java:72)
              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:498)
              at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:139)
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:91)
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599)
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526)
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415)
              at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416)
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229)
              at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

      Gogo shell Output:

      Available checkers: [Declarative Service Soft Circular Dependency Checker, Declarative Service Unsatisfied Component Checker, Spring Extender Unavailable Component Checker]
      Running "Declarative Service Soft Circular Dependency Checker". You can run this by itself with command "ds:softCircularDependency" in gogo shell.
      Declarative Service Soft Circular Dependency Checker check result: No issues were found.
      Running "Declarative Service Unsatisfied Component Checker". You can run this by itself with command "ds:unsatisfied" in gogo shell.
      Declarative Service Unsatisfied Component Checker check result: No issues were found.
      Running "Spring Extender Unavailable Component Checker". You can run this by itself with command "dm na" in gogo shell.
      Spring Extender Unavailable Component Checker check result: No issues were found.
      

        Attachments

          Activity

            People

            • Assignee:
              preston.crary Preston Crary
              Reporter:
              raven.song Raven Song
              Participants of an Issue:
              Recent user:
              Preston Crary
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                26 weeks, 6 days ago