Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5540

Exceptions in log after *:help - Service cannot be cast: org.apache.felix.scr.impl.ScrGogoCommand

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:
      None

      Description

      execute *:help and check log

      2016-05-24 11:01:38,356 | ERROR | lixDispatchQueue | scr                              | 148 - org.apache.felix.scr - 1.8.2 | FrameworkEvent ERROR - org.apache.felix.scr
      org.osgi.framework.ServiceException: Service cannot be cast: org.apache.felix.scr.impl.ScrGogoCommand
      	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:344)
      	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:231)
      	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:327)
      	at org.apache.felix.framework.Felix.getService(Felix.java:3576)
      	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.unProxy(CommandListHelpProvider.java:144)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getCommandDescriptions(CommandListHelpProvider.java:69)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getHelp(CommandListHelpProvider.java:54)
      	at org.apache.karaf.shell.console.help.HelpSystem$1.getValue(HelpSystem.java:71)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:174)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:194)
      	at org.apache.karaf.util.InterpolationHelper.performSubstitution(InterpolationHelper.java:84)
      	at org.apache.karaf.shell.console.help.HelpSystem.getHelp(HelpSystem.java:68)
      	at org.apache.karaf.shell.console.help.HelpAction.doExecute(HelpAction.java:40)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.karaf.shell.console.commands.$BlueprintCommand253130764.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      2016-05-24 11:01:38,629 | ERROR | lixDispatchQueue | scr                              | 148 - org.apache.felix.scr - 1.8.2 | FrameworkEvent ERROR - org.apache.felix.scr
      org.osgi.framework.ServiceException: Service cannot be cast: org.apache.felix.scr.impl.ScrGogoCommand
      	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:344)
      	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:231)
      	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:327)
      	at org.apache.felix.framework.Felix.getService(Felix.java:3576)
      	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.unProxy(CommandListHelpProvider.java:144)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getCommandDescriptions(CommandListHelpProvider.java:69)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getHelp(CommandListHelpProvider.java:54)
      	at org.apache.karaf.shell.console.help.HelpSystem$1.getValue(HelpSystem.java:71)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:174)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:194)
      	at org.apache.karaf.util.InterpolationHelper.performSubstitution(InterpolationHelper.java:84)
      	at org.apache.karaf.shell.console.help.HelpSystem.getHelp(HelpSystem.java:68)
      	at org.apache.karaf.shell.console.help.HelpAction.doExecute(HelpAction.java:40)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.karaf.shell.console.commands.$BlueprintCommand253130764.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      2016-05-24 11:01:38,642 | ERROR | lixDispatchQueue | scr                              | 148 - org.apache.felix.scr - 1.8.2 | FrameworkEvent ERROR - org.apache.felix.scr
      org.osgi.framework.ServiceException: Service cannot be cast: org.apache.felix.scr.impl.ScrGogoCommand
      	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:344)
      	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:231)
      	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:327)
      	at org.apache.felix.framework.Felix.getService(Felix.java:3576)
      	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.unProxy(CommandListHelpProvider.java:144)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getCommandDescriptions(CommandListHelpProvider.java:69)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getHelp(CommandListHelpProvider.java:54)
      	at org.apache.karaf.shell.console.help.HelpSystem$1.getValue(HelpSystem.java:71)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:174)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:194)
      	at org.apache.karaf.util.InterpolationHelper.performSubstitution(InterpolationHelper.java:84)
      	at org.apache.karaf.shell.console.help.HelpSystem.getHelp(HelpSystem.java:68)
      	at org.apache.karaf.shell.console.help.HelpAction.doExecute(HelpAction.java:40)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.karaf.shell.console.commands.$BlueprintCommand253130764.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      2016-05-24 11:01:38,672 | ERROR | lixDispatchQueue | scr                              | 148 - org.apache.felix.scr - 1.8.2 | FrameworkEvent ERROR - org.apache.felix.scr
      org.osgi.framework.ServiceException: Service cannot be cast: org.apache.felix.scr.impl.ScrGogoCommand
      	at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:344)
      	at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:231)
      	at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:327)
      	at org.apache.felix.framework.Felix.getService(Felix.java:3576)
      	at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.unProxy(CommandListHelpProvider.java:144)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getCommandDescriptions(CommandListHelpProvider.java:69)
      	at org.apache.karaf.shell.console.help.CommandListHelpProvider.getHelp(CommandListHelpProvider.java:54)
      	at org.apache.karaf.shell.console.help.HelpSystem$1.getValue(HelpSystem.java:71)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:174)
      	at org.apache.karaf.util.InterpolationHelper.substVars(InterpolationHelper.java:194)
      	at org.apache.karaf.util.InterpolationHelper.performSubstitution(InterpolationHelper.java:84)
      	at org.apache.karaf.shell.console.help.HelpSystem.getHelp(HelpSystem.java:68)
      	at org.apache.karaf.shell.console.help.HelpAction.doExecute(HelpAction.java:40)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
      	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[19:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.karaf.shell.console.commands.$BlueprintCommand253130764.execute(Unknown Source)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[38:org.apache.karaf.shell.console:2.4.0.redhat-630069]
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ffang Freeman(Yue) Fang
                  Reporter:
                  avano Andrej Vano
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: