Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-254

ImageStreamImport null pointer because it tries to match the prefix of the image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.4
    • 4.0.3
    • core
    • None

      Trying to retrieve the result of successfully importing tag info null pointers because the repo info returned does not match the original uri. We should assume we have a match on success and just try and find the tag we are interested in.

      java.lang.NullPointerException
      at org.jboss.dmr.ModelNode.fromJSONString(ModelNode.java:1292)
      at org.jboss.tools.openshift.internal.core.ImageStreamTagMetaData.<init>(ImageStreamTagMetaData.java:38)
      at org.jboss.tools.openshift.internal.core.util.OpenShiftProjectUtils.lookupImageMetadata(OpenShiftProjectUtils.java:40)
      at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.lookupImageMetadata(DeployImageWizardModel.java:501)
      at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.initializeContainerInfo(DeployImageWizardModel.java:262)
      at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImagePage$1ImageValidatorJob.run(DeployImagePage.java:141)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

            jcantril@redhat.com Jeffrey Cantrill
            jcantril@redhat.com Jeffrey Cantrill
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: