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

Exception on fabric:join with WARN message "Invalid remote: origin"

    XMLWordPrintable

Details

    • % %
    • Hide

      Locally not reproducible

      Show
      Locally not reproducible

    Description

      A user is attempting a fabric:join of an AMQ root container to an existing fabric. The container never provisions successfully due to the below exceptions:

      2016-07-08 04:05:04,349 | ERROR | MCF-1-thread-1   | patch-core                       | ?                                   ? | 115 - io.fabric8.patch.patch-core - 1.2.0.redhat-621090 | [io.fabric8.patch.impl.FabricPatchServiceImpl(140)] The activate method has thrown an exception
      java.lang.NullPointerException
      	at io.fabric8.internal.ContainerImpl.getContainerProfile(ContainerImpl.java:764)
      	at io.fabric8.internal.ContainerImpl.getOverlayProfile(ContainerImpl.java:306)
      	at io.fabric8.patch.impl.FabricPatchServiceImpl.activate(FabricPatchServiceImpl.java:101)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_25]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_25]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_25]
      	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_25]
      	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)
      ...
      ...
      2016-07-08 04:05:04,714 | WARN  | admin-1-thread-1 | FabricConfigAdminBridge          | gadmin.FabricConfigAdminBridge$1  108 | 84 - io.fabric8.fabric-configadmin - 1.2.0.redhat-621090 | Exception when tracking configurations. This exception will be ignored.
      java.lang.NullPointerException
      	at io.fabric8.internal.ContainerImpl.getContainerProfile(ContainerImpl.java:764)[81:io.fabric8.fabric-core:1.2.0.redhat-621090]
      	at io.fabric8.internal.ContainerImpl.getOverlayProfile(ContainerImpl.java:306)[81:io.fabric8.fabric-core:1.2.0.redhat-621090]
      	at io.fabric8.configadmin.FabricConfigAdminBridge.updateInternal(FabricConfigAdminBridge.java:125)[84:io.fabric8.fabric-configadmin:1.2.0.redhat-621090]
      	at io.fabric8.configadmin.FabricConfigAdminBridge.access$000(FabricConfigAdminBridge.java:51)[84:io.fabric8.fabric-configadmin:1.2.0.redhat-621090]
      	at io.fabric8.configadmin.FabricConfigAdminBridge$1.run(FabricConfigAdminBridge.java:105)[84:io.fabric8.fabric-configadmin:1.2.0.redhat-621090]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_25]
      

      There was also a fabric-repo git master reelection prior to these NPEs which resulted in the below WARN messages in the ensemble server logs:

      2016-07-07 23:08:45,709 | WARN  | pool-19-thread-1 | DefaultPullPushPolicy            | 140 - io.fabric8.fabric-git - 1.2.0.redhat-621090 | Pull failed because of: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
      

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              jean.abraham_jira Jean Abraham (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: