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

NPE when creating an application in the staging environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1, 1.1.1
    • None
    • None
    • None
    • Hide
      1. ASSERT: make sure you are on VPN and are using the proxy
      2. EXEC: launch the OpenShift Express application wizard, log in
      3. EXEC: create a new application

      Result:
      You get an error even though the application has been created:

      java.lang.NullPointerException
      	at java.io.Reader.<init>(Reader.java:61)
      	at java.io.InputStreamReader.<init>(InputStreamReader.java:55)
      	at com.openshift.express.internal.client.utils.StreamUtils.readToString(StreamUtils.java:55)
      	at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:99)
      	at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:88)
      	at com.openshift.express.client.OpenShiftService.waitForApplication(OpenShiftService.java:308)
      	at com.openshift.express.internal.client.Application.waitForAccessible(Application.java:217)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.waitForAccessible(ApplicationWizardModel.java:93)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:83)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:68)
      	at org.jboss.tools.openshift.express.internal.ui.wizard.NewApplicationWizardPage$6.run(NewApplicationWizardPage.java:178)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      Show
      ASSERT: make sure you are on VPN and are using the proxy EXEC: launch the OpenShift Express application wizard, log in EXEC: create a new application Result: You get an error even though the application has been created: java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:55) at com.openshift.express.internal.client.utils.StreamUtils.readToString(StreamUtils.java:55) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:99) at com.openshift.express.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:88) at com.openshift.express.client.OpenShiftService.waitForApplication(OpenShiftService.java:308) at com.openshift.express.internal.client.Application.waitForAccessible(Application.java:217) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.waitForAccessible(ApplicationWizardModel.java:93) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:83) at org.jboss.tools.openshift.express.internal.ui.wizard.ApplicationWizardModel.createApplication(ApplicationWizardModel.java:68) at org.jboss.tools.openshift.express.internal.ui.wizard.NewApplicationWizardPage$6.run(NewApplicationWizardPage.java:178) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: