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

Unable to apply patch 6.3 R14 #630424 on standalone Karaf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-6.3-R14-GA
    • fuse-6.3-R14-GA
    • Karaf
    • None
    • % %
    • Hide

      1) Unzip fuse 630423
      2) patch:add file:/path/to/630424.zip
      3) patch:install jboss-fuse-karaf-6.3.0.redhat-424

      Show
      1) Unzip fuse 630423 2) patch:add file:/path/to/630424.zip 3) patch:install jboss-fuse-karaf-6.3.0.redhat-424

      Applying patch 6.3 R14 #424 results into:

      io.fabric8.patch.management.PatchException: invalid URI: null
      	at io.fabric8.patch.impl.ServiceImpl.featureUpdatesInPatch(ServiceImpl.java:1096)
      	at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:463)
      	at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:405)
      	at io.fabric8.patch.commands.InstallAction.doExecute(InstallAction.java:63)
      	at io.fabric8.patch.commands.PatchActionSupport.doExecute(PatchActionSupport.java:39)
      	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)
      	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.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
      	at io.fabric8.patch.commands.$Install1488667803.execute(Unknown Source)
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:197)
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)
      Caused by: java.lang.IllegalArgumentException: invalid URI: null
      	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:51)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:231)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:273)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:253)
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:241)
      	at io.fabric8.patch.impl.ServiceImpl.featureUpdatesInPatch(ServiceImpl.java:924)
      	... 22 more
      Caused by: java.lang.IllegalArgumentException: URI is not absolute
      	at java.net.URI.toURL(URI.java:1088)
      	at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:49)
      	... 27 more
      

      Scenarios tested with same error:
      #187 -> patch patch management -> apply R14 #424
      #423 -> apply R14 #424

      Patching to R14 #423 was ok. Error has been introduced somewhere between.

              dcoleman@redhat.com Darren Coleman
              ecervena@redhat.com Emil Cervenan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: