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

[Patch mechanism] Unable to install new patch management on windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Patching
    • None
    • % %

      During following steps in https://mojo.redhat.com/docs/DOC-1049758 "features:install patch" throws following exception on windows:

          java.lang.Exception: Could not start bundle mvn:io.fabric8.patch/patch-management/1.2.0.redhat-621043 in feature(s) patch-1.2.0.redhat-621043: Activator start error in bundle io.fabric8.patch.patch-management [266].
                  at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:550)[9:org.apache.karaf.features.core:2.4.0.redhat-620133]
                  at org.apache.karaf.features.internal.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:432)[9:org.apache.karaf.features.core:2.4.0.redhat-620133]
                  at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_60]
                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_60]
                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_60]
                  at java.lang.Thread.run(Thread.java:745)[:1.8.0_60]
          Caused by: org.osgi.framework.BundleException: Activator start error in bundle io.fabric8.patch.patch-management [266].
                  at org.apache.felix.framework.Felix.activateBundle(Felix.java:2204)[org.apache.felix.framework-4.4.1.jar:]
                  at org.apache.felix.framework.Felix.startBundle(Felix.java:2072)[org.apache.felix.framework-4.4.1.jar:]
                  at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)[org.apache.felix.framework-4.4.1.jar:]
                  at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)[org.apache.felix.framework-4.4.1.jar:]
                  at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:546)[9:org.apache.karaf.features.core:2.4.0.redhat-620133]
                  ... 5 more
          Caused by: java.lang.UnsupportedOperationException
                  at java.nio.file.Files.setPosixFilePermissions(Files.java:2044)[:1.8.0_60]
                  at io.fabric8.patch.management.Utils.unpack(Utils.java:207)[266:io.fabric8.patch.patch-management:1.2.0.redhat-621043]
                  at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.trackBaselineRepository(GitPatchManagementServiceImpl.java:1081)[266:io.fabric8.patch.patch-management:1.2.0.redhat-621043]
                  at io.fabric8.patch.management.impl.GitPatchManagementServiceImpl.ensurePatchManagementInitialized(GitPatchManagementServiceImpl.java:973)[266:io.fabric8.patch.patch-management:1.2.0.redhat-621043]
                  at io.fabric8.patch.management.impl.Activator.start(Activator.java:91)[266:io.fabric8.patch.patch-management:1.2.0.redhat-621043]
                  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)[org.apache.felix.framework-4.4.1.jar:]
                  at org.apache.felix.framework.Felix.activateBundle(Felix.java:2154)[org.apache.felix.framework-4.4.1.jar:]
                  ... 9 more
      
      

            ggrzybek Grzegorz Grzybek
            mmelko@redhat.com Matej Melko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: