Karaf
  1. Karaf
  2. KARAF-1209

ServiceRecipe blueprint exception in the log

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      On trunk, we have a lot of UnableToProxyException exceptions in the log, due to the ServiceRecipe commands:

      2012-02-16 15:52:47,394 | INFO | l Console Thread | ServiceRecipe | viceRecipe$TriggerServiceFactory 534 | 17 - org.apache.aries.blueprint.core - 0.4.1.SNAPSHOT | Unable to create a proxy object for the service shell-78 defined in bundle org.apache.karaf.shell.bundles at version 3.0.0.SNAPSHOT with id 34. Returning the original object instead.
      org.apache.aries.proxy.UnableToProxyException: The class org.apache.karaf.shell.console.commands.BlueprintCommand is not an interface and therefore a proxy cannot be generated.
      at org.apache.aries.proxy.impl.JdkProxyManager.getInterfaces(JdkProxyManager.java:43)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at org.apache.aries.proxy.impl.JdkProxyManager.createNewProxy(JdkProxyManager.java:36)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at org.apache.aries.proxy.impl.AbstractProxyManager.createDelegatingInterceptingProxy(AbstractProxyManager.java:75)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at org.apache.aries.proxy.impl.AbstractProxyManager.createInterceptingProxy(AbstractProxyManager.java:53)[16:org.apache.aries.proxy.impl:0.4.1.SNAPSHOT]
      at org.apache.aries.blueprint.container.ServiceRecipe$TriggerServiceFactory.getService(ServiceRecipe.java:530)[17:org.apache.aries.blueprint.core:0.4.1.SNAPSHOT]
      at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308)[org.apache.felix.framework-4.0.2.jar:]
      at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:219)[org.apache.felix.framework-4.0.2.jar:]
      at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:310)[org.apache.felix.framework-4.0.2.jar:]
      at org.apache.felix.framework.Felix.getService(Felix.java:3420)[org.apache.felix.framework-4.0.2.jar:]
      at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)[org.apache.felix.framework-4.0.2.jar:]
      at org.apache.felix.gogo.runtime.CommandProxy.getTarget(CommandProxy.java:50)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.completer.CommandsCompleter.unProxy(CommandsCompleter.java:101)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.completer.CommandsCompleter.checkData(CommandsCompleter.java:72)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.completer.CommandsCompleter.complete(CommandsCompleter.java:51)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.jline.CompleterAsCompletor.complete(CompleterAsCompletor.java:32)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at jline.console.ConsoleReader.complete(ConsoleReader.java:1595)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at jline.console.ConsoleReader.readLine(ConsoleReader.java:1304)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at jline.console.ConsoleReader.readLine(ConsoleReader.java:1131)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.jline.Console.readAndParseCommand(Console.java:236)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at org.apache.karaf.shell.console.jline.Console.run(Console.java:161)[29:org.apache.karaf.shell.console:3.0.0.SNAPSHOT]
      at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]

        Issue Links

          Activity

          Jean-Baptiste Onofré created issue -
          Jean-Baptiste Onofré made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          Jean-Baptiste Onofré made changes -
          Link This issue is related to ARIES-835 [ ARIES-835 ]
          Jean-Baptiste Onofré made changes -
          Link This issue is related to SMX4-1080 [ SMX4-1080 ]
          Jean-Baptiste Onofré made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jean-Baptiste Onofré
              Reporter:
              Jean-Baptiste Onofré
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development