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

OpenShift server adapter: cannot tail files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.0.0.CR1
    • 4.0.0.CR1
    • openshift
    • Hide
      1. ASSERT: make sure you have connections that you created using Beta1 (or Beta2?). Make sure they're in an invalid format like this xcoulon%40redhat.com@https://openshift.redhat.com*. If you haven't any, then you can create those by editing *.metadata/.plugins/org.eclipse.core.runtime/.settings/org.jboss.tools.openshift.express.ui.prefs and introduce a key like this:
      org.jboss.tools.openshift.express.CONNECTION_NAMES=xcoulon1%40redhat.com@https\://openshift.redhat.com|https\://xcoulon2%40redhat.com@openshift.redhat.com|xcoulon3%40@https://
      
      1. EXEC: launch OpenShift Application wizard and create a new OpenShift applcation
      2. EXEC: go to Servers view and pick the freshly created server adapter. Choose OpenShift->Tail files...

      Result:
      You get an Exception in the Eclipse log:

      java.lang.NullPointerException
              at org.jboss.tools.openshift.express.internal.ui.action.TailServerLogAction.run(TailServerLogAction.java:117)
              at org.jboss.tools.openshift.express.internal.ui.action.TailServerLogAction.run(TailServerLogAction.java:85)
              at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)
              at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619)
              at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
              at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
              at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
              at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
              at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
      
      Show
      ASSERT: make sure you have connections that you created using Beta1 (or Beta2?). Make sure they're in an invalid format like this xcoulon%40redhat.com@ https://openshift.redhat.com* . If you haven't any, then you can create those by editing *.metadata/.plugins/org.eclipse.core.runtime/.settings/org.jboss.tools.openshift.express.ui.prefs and introduce a key like this: org.jboss.tools.openshift.express.CONNECTION_NAMES=xcoulon1%40redhat.com@https\: //openshift.redhat.com|https\://xcoulon2%40redhat.com@openshift.redhat.com|xcoulon3%40@https:// EXEC: launch OpenShift Application wizard and create a new OpenShift applcation EXEC: go to Servers view and pick the freshly created server adapter. Choose OpenShift->Tail files... Result: You get an Exception in the Eclipse log: java.lang.NullPointerException at org.jboss.tools.openshift.express.internal.ui.action.TailServerLogAction.run(TailServerLogAction.java:117) at org.jboss.tools.openshift.express.internal.ui.action.TailServerLogAction.run(TailServerLogAction.java:85) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4134) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3980) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3619) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

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

              Created:
              Updated:
              Resolved: