Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.0
    • Fix Version/s: None
    • Component/s: Server Adapters
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      1. create a new Fuse Integration Project - Spring Boot on OpenShift, 2.18.1.redhat-000021
      2. deploy it on CDK 3.1
      3. create a new server adapter for deployed project
      4. try to work with it (access the route via JMX, ...)
      Show
      create a new Fuse Integration Project - Spring Boot on OpenShift, 2.18.1.redhat-000021 deploy it on CDK 3.1 create a new server adapter for deployed project try to work with it (access the route via JMX, ...)

      Description

      I hit the following errors while I was playing with Fuse Tooling and Openshift. The server adapter for OpenShift project is not working properly - a lot of errors and slow responses (see attached video).

      eclipse.buildId=11.1.0.GA-v20171022-1723-B1437
      java.version=1.8.0_144
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/target/tmp -clean
      
      org.fusesource.ide.foundation.ui
      Warning
      Mon Oct 23 14:52:53 CEST 2017
      <no message>
      
      java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.fusesource.ide.foundation.ui.propsrc.BeanTypePropertyMetadata.getPropertyValue(BeanTypePropertyMetadata.java:100)
      	at org.fusesource.ide.foundation.ui.propsrc.BeanPropertySource.getPropertyValue(BeanPropertySource.java:118)
      	at org.fusesource.ide.foundation.ui.propsrc.PropertySourceTableView$2.apply(PropertySourceTableView.java:182)
      	at org.fusesource.ide.foundation.ui.label.FunctionColumnLabelProvider.apply(FunctionColumnLabelProvider.java:43)
      	at org.fusesource.ide.foundation.ui.label.FunctionColumnLabelProvider.getText(FunctionColumnLabelProvider.java:32)
      	at org.eclipse.jface.viewers.ColumnLabelProvider.update(ColumnLabelProvider.java:34)
      	at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:141)
      	at org.eclipse.jface.viewers.AbstractTableViewer.doUpdateItem(AbstractTableViewer.java:391)
      	at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:475)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2159)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:674)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:612)
      	at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:604)
      	at org.eclipse.jface.viewers.StructuredViewer.lambda$2(StructuredViewer.java:1508)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1447)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1408)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1508)
      	at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:523)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1467)
      	at org.fusesource.ide.foundation.ui.util.Viewers$1.run(Viewers.java:58)
      	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
      	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
      	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5455)
      	at org.fusesource.ide.foundation.ui.util.Viewers.refresh(Viewers.java:54)
      	at org.fusesource.ide.foundation.ui.views.ColumnViewSupport.refresh(ColumnViewSupport.java:100)
      	at org.fusesource.ide.foundation.ui.propsrc.PropertySourceTableView.refresh(PropertySourceTableView.java:258)
      	at org.eclipse.ui.views.properties.tabbed.TabContents$6.run(TabContents.java:211)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      	at org.eclipse.ui.views.properties.tabbed.TabContents.refresh(TabContents.java:214)
      	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.handlePartActivated(TabbedPropertySheetPage.java:340)
      	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$1.partActivated(TabbedPropertySheetPage.java:117)
      	at org.eclipse.ui.internal.PartService$1.run(PartService.java:83)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.PartService.partActivated(PartService.java:80)
      	at org.eclipse.ui.internal.WorkbenchWindow$WWinPartService.partActivated(WorkbenchWindow.java:3010)
      	at org.eclipse.ui.internal.WorkbenchPage$14.run(WorkbenchPage.java:4990)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:4987)
      	at org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.java:4975)
      	at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:212)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$3.run(PartServiceImpl.java:250)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:247)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:756)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:681)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:676)
      	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1179)
      	at org.eclipse.ui.internal.WorkbenchPage.showPart(WorkbenchPage.java:1287)
      	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1278)
      	at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:4329)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4325)
      	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:4305)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.openServersView(ServerAdapterHandler.java:150)
      	at org.jboss.tools.openshift.internal.ui.handler.ServerAdapterHandler.execute(ServerAdapterHandler.java:62)
      	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
      	at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
      	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
      	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
      	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
      	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431)
      	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446)
      	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      Caused by: java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy62.getCamelId(Unknown Source)
      	... 108 more
      Caused by: java.lang.reflect.InvocationTargetException
      	at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.fusesource.ide.camel.model.service.core.jmx.camel.CamelFacadeSupport$1.invoke(CamelFacadeSupport.java:59)
      	... 109 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
      	at com.sun.proxy.$Proxy61.getCamelId(Unknown Source)
      	... 113 more
      Caused by: java.io.IOException: org.jolokia.client.exception.J4pRemoteException: Invalid status of type java.lang.String('Failure') received
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getMBeanInfo(JolokiaMBeanServerConnection.java:120)
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getAttributesInfos(JolokiaMBeanServerConnection.java:232)
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getAttributes(JolokiaMBeanServerConnection.java:201)
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getAttribute(JolokiaMBeanServerConnection.java:191)
      	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:273)
      	... 114 more
      Caused by: org.jolokia.client.exception.J4pRemoteException: Invalid status of type java.lang.String('Failure') received
      	at org.jolokia.client.request.ValidatingResponseExtractor.extract(ValidatingResponseExtractor.java:67)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:195)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:168)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:150)
      	at org.jboss.tools.jmx.jolokia.internal.connection.JolokiaMBeanServerConnection.getMBeanInfo(JolokiaMBeanServerConnection.java:116)
      	... 118 more
      
      eclipse.buildId=11.1.0.GA-v20171022-1723-B1437
      java.version=1.8.0_144
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/target/tmp -clean
      
      org.jboss.ide.eclipse.as.wtp.core
      Error
      Mon Oct 23 14:53:04 CEST 2017
      Copy of /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/target/tmp/test-ose/target/classes/META-INF/MANIFEST.MF to /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/target/tmp/.metadata/.plugins/org.jboss.ide.eclipse.as.core/test@camel-ose-springboot-xml/tempRemoteDeploy/test-ose.jar/META-INF/MANIFEST.MF has failed
      
      eclipse.buildId=11.1.0.GA-v20171022-1723-B1437
      java.version=1.8.0_144
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/resources/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-11.1.0.GA/target/tmp -clean
      
      org.jboss.tools.jmx.core
      Error
      Mon Oct 23 14:53:57 CEST 2017
      An error occurred while opening the connection.
      
      java.io.IOException: Remote error status=404 (Invalid status of type java.lang.String('Failure') received)
      	at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:326)
      	at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.connect(JolokiaConnectionWrapper.java:115)
      	at org.jboss.tools.jmx.core.ConnectJob.run(ConnectJob.java:29)
      	at org.jboss.tools.jmx.ui.internal.actions.DoubleClickAction$1.run(DoubleClickAction.java:71)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      Caused by: org.jolokia.client.exception.J4pRemoteException: Invalid status of type java.lang.String('Failure') received
      	at org.jolokia.client.request.ValidatingResponseExtractor.extract(ValidatingResponseExtractor.java:67)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:195)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:168)
      	at org.jolokia.client.J4pClient.execute(J4pClient.java:117)
      	at org.jboss.tools.jmx.jolokia.JolokiaConnectionWrapper.verifyServerReachable(JolokiaConnectionWrapper.java:313)
      	... 4 more
      

        Gliffy Diagrams

          Attachments

          1. latestImageUsed.png
            latestImageUsed.png
            743 kB
          2. MissingEndpointsInJMXInServerView.png
            MissingEndpointsInJMXInServerView.png
            408 kB
          3. ose.webm
            5.59 MB
          4. ose2.webm
            6.51 MB
          5. rsyncIssue.png
            rsyncIssue.png
            354 kB

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tsedmik Tomáš Sedmík
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: