Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15808

"Tail files" cannot not load application gear list for recently created scaling apps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.Beta1
    • 4.1.1.Beta1
    • openshift
    • Hide
      1. EXEC: create some scalable application (ex. sushi)
      2. EXEC: manually scale it up
        curl -X POST -H "Accept: application/json; version=1.2" --user USER:PASS https://openshift.redhat.com/broker/rest/domains/foogoo/applications/sushi/events -d event=scale-up| json_reformat |less
        
      3. EXEC: pick Tail Files... from the OpenShift Explorer context menu

      Result:

      In the Eclipse log you'll spot:

      java.lang.IllegalArgumentException: No enum const class com.openshift.client.GearState.NEW
      	at java.lang.Enum.valueOf(Enum.java:196)
      	at com.openshift.client.GearState.valueOf(GearState.java:16)
      	at com.openshift.client.GearState.safeValueOf(GearState.java:23)
      	at com.openshift.internal.client.GearGroupResource.<init>(GearGroupResource.java:65)
      	at com.openshift.internal.client.GearGroupResource.<init>(GearGroupResource.java:85)
      	at com.openshift.internal.client.ApplicationResource.loadGearGroups(ApplicationResource.java:507)
      	at com.openshift.internal.client.ApplicationResource.getGearGroups(ApplicationResource.java:499)
      	at org.jboss.tools.openshift.express.internal.ui.console.TailFilesWizardPageModel.loadGearGroups(TailFilesWizardPageModel.java:81)
      	at org.jboss.tools.openshift.express.internal.ui.console.TailFilesWizardPage$7.run(TailFilesWizardPage.java:231)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      
      Show
      EXEC: create some scalable application (ex. sushi) EXEC: manually scale it up curl -X POST -H "Accept: application/json; version=1.2" --user USER:PASS https: //openshift.redhat.com/broker/ rest /domains/foogoo/applications/sushi/events -d event=scale-up| json_reformat |less EXEC: pick Tail Files... from the OpenShift Explorer context menu Result: In the Eclipse log you'll spot: java.lang.IllegalArgumentException: No enum const class com.openshift.client.GearState.NEW at java.lang.Enum.valueOf(Enum.java:196) at com.openshift.client.GearState.valueOf(GearState.java:16) at com.openshift.client.GearState.safeValueOf(GearState.java:23) at com.openshift.internal.client.GearGroupResource.<init>(GearGroupResource.java:65) at com.openshift.internal.client.GearGroupResource.<init>(GearGroupResource.java:85) at com.openshift.internal.client.ApplicationResource.loadGearGroups(ApplicationResource.java:507) at com.openshift.internal.client.ApplicationResource.getGearGroups(ApplicationResource.java:499) at org.jboss.tools.openshift.express.internal.ui.console.TailFilesWizardPageModel.loadGearGroups(TailFilesWizardPageModel.java:81) at org.jboss.tools.openshift.express.internal.ui.console.TailFilesWizardPage$7.run(TailFilesWizardPage.java:231) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    • Hide

      Wait for some time and refresh your application. The gear state should turn from NEW to RUNNING and the error should not occurr any more

      Show
      Wait for some time and refresh your application. The gear state should turn from NEW to RUNNING and the error should not occurr any more

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

              Created:
              Updated:
              Resolved: