java.util.concurrent.TimeoutException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Cannot parse hover results
    via GitHub by mickaelistria
    ,
  • GitHub comment 23#235905481
    via GitHub by mickaelistria
    ,
  • GitHub comment 1621#245934581
    via GitHub by mstanescu
    ,
  • GitHub comment 1#254073384
    via GitHub by pazis
    ,
  • Problem "device is not able to handle the request and returning -1" is resolved with code changes suggested by Andrea. java.lang.IllegalArgumentException: org.onosproject.netconf.NetconfException: Failed to retrieve Interfaces at org.onosproject.drivers.huawei.HuaweiDeviceDescription.getInterfaces(HuaweiDeviceDescription.java:190) at org.onosproject.drivers.huawei.HuaweiDeviceDescription.discoverPortStatistics(HuaweiDeviceDescription.java:180) at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.updatePortStatistics(NetconfDeviceProvider.java:400)[199:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT] at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.checkAndUpdateDevice(NetconfDeviceProvider.java:391)[199:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT] at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.lambda$checkAndUpdateDevices$4(NetconfDeviceProvider.java:442)[199:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT] at java.lang.Iterable.forEach(Iterable.java:75)[:1.8.0_111] at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider.checkAndUpdateDevices(NetconfDeviceProvider.java:423)[199:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT] at org.onosproject.provider.netconf.device.impl.NetconfDeviceProvider$2.run(NetconfDeviceProvider.java:202)[199:org.onosproject.onos-providers-netconf-device:1.10.0.SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_111] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_111] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_111] at java.lang.Thread.run(Thread.java:745)[:1.8.0_111] Caused by: org.onosproject.netconf.NetconfException: Failed to retrieve Interfaces ... 15 more Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)[:1.8.0_111] at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)[:1.8.0_111] at org.onosproject.netconf.ctl.NetconfSessionImpl.sendRequest(NetconfSessionImpl.java:308) at org.onosproject.netconf.ctl.NetconfSessionImpl.requestSync(NetconfSessionImpl.java:283) at org.onosproject.netconf.ctl.NetconfSessionImpl.get(NetconfSessionImpl.java:361) at org.onosproject.drivers.huawei.HuaweiDeviceDescription.getInterfaces(HuaweiDeviceDescription.java:187) ... 14 more
    via by Adarsh m,
    • java.util.concurrent.TimeoutException at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915) at org.eclipse.languageserver.operations.hover.LSBasedHover.getHoverRegion(LSBasedHover.java:82) at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(TextViewerHoverManager.java:138) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1144) at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:518) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:209) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5219) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4553) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4143) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138) 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:673) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) at org.eclipse.equinox.launcher.Main.run(Main.java:1519) at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

    Users with the same issue

    Alireza Mohamadi
    4 times, last one,