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

NPE when fabric:container-create-openshift

    XMLWordPrintable

Details

    • % %
    • Hide
      1. Create a fuse gear on OSE
      2. rhc ssh fuse
      3. retrieve the ssh proxy port ... env | grep OPENSHIFT_FUSE_SSH_PROXY_PORT
      4. retrieve the fuse password ... env | grep OPENSHIFT_FUSE_PASSWORD
      5. ssh fuse-test.apps.example.com -p $SSH_PROXY_PORT
      6. fabric:container-create-openshift --server-url broker.hosts.example.com --login demo --password changeme --gear-profile xpaas bar
      7. notice the NullPointerException
      Show
      Create a fuse gear on OSE rhc ssh fuse retrieve the ssh proxy port ... env | grep OPENSHIFT_FUSE_SSH_PROXY_PORT retrieve the fuse password ... env | grep OPENSHIFT_FUSE_PASSWORD ssh fuse-test.apps.example.com -p $SSH_PROXY_PORT fabric:container-create-openshift --server-url broker.hosts.example.com --login demo --password changeme --gear-profile xpaas bar notice the NullPointerException

    Description

      an NPE exception occurs when trying to create an openshift container from fuse console

      2014-12-09 09:36:04,874 | ERROR | Thread-89        | Console                          | araf.shell.console.jline.Console  233 | 28 - org.apache.karaf.shell.console - 2.4.0.redhat-620049 | Exception caught while executing command
      java.lang.NullPointerException
              at io.fabric8.openshift.commands.support.ContainerCreateSupport.preCreateContainer(ContainerCreateSupport.java:77)
              at io.fabric8.openshift.commands.ContainerCreateOpenshiftAction.preCreateContainer(ContainerCreateOpenshiftAction.java:121)[170:io.fabric8.fabric-openshift:1.2.0.redhat-049]   
              at io.fabric8.openshift.commands.ContainerCreateOpenshiftAction.doExecute(ContainerCreateOpenshiftAction.java:71)[170:io.fabric8.fabric-openshift:1.2.0.redhat-049]
              at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[28:org.apache.karaf.shell.console:2.4.0.redhat-620049]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
              at org.apache.karaf.shell.console.jline.Console.run(Console.java:196)
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.runConsole(ShellFactoryImpl.java:169)[50:org.apache.karaf.shell.ssh:2.4.0.redhat-620049]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1$1.run(ShellFactoryImpl.java:125)
              at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_71]
              at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[23:org.apache.karaf.jaas.modules:2.4.0.redhat-620049]
              at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$1.run(ShellFactoryImpl.java:123)[50:org.apache.karaf.shell.ssh:2.4.0.redhat-620049]
      

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: