Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCTU IndexOutOfBounds #127

Open
SomeUserName1 opened this issue Sep 20, 2018 · 0 comments
Open

XCTU IndexOutOfBounds #127

SomeUserName1 opened this issue Sep 20, 2018 · 0 comments

Comments

@SomeUserName1
Copy link

Hi,
couldnt find a repo for XCTU itself, so i'm adding this here as it's Java.

./launcher 
Serialio Library: version 10.2.3: build 9233
Copyright (c) 1996-2015 Serialio.com, All Rights Reserved.
os.name="Linux"  os.arch="amd64"
SerialPort class loaded: jspLux86_64bit
Serialio.com jspLuxArm 4.7
Copyright (C) Serialio.com 1996-2003. All rights reserved.
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IndexOutOfBoundsException: Index does not exist)
	at org.eclipse.swt.SWT.error(SWT.java:4533)
	at org.eclipse.swt.SWT.error(SWT.java:4448)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:255)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5414)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer.networkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.Network.notifyNetworkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.Network.notifyNetworkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.NetworkDiscoveryJob.deviceDiscovered(Unknown Source)
	at com.digi.xbee.NodeDiscovery$3$1.run(NodeDiscovery.java:423)
Caused by: java.lang.IndexOutOfBoundsException: Index does not exist
	at org.eclipse.draw2d.Figure.add(Figure.java:140)
	at org.eclipse.draw2d.FreeformLayer.add(FreeformLayer.java:28)
	at org.eclipse.draw2d.Figure.add(Figure.java:185)
	at org.eclipse.zest.core.widgets.internal.ZestRootLayer.addNode(ZestRootLayer.java:41)
	at org.eclipse.zest.core.widgets.Graph.addNode(Graph.java:1033)
	at org.eclipse.zest.core.widgets.GraphNode.<init>(GraphNode.java:114)
	at org.eclipse.zest.core.widgets.GraphNode.<init>(GraphNode.java:88)
	at org.eclipse.zest.core.widgets.CGraphNode.<init>(CGraphNode.java:25)
	at org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer.addGraphModelNode(AbstractStructuredGraphViewer.java:262)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.createNode(AbstractStylingModelFactory.java:231)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.createNode(AbstractStylingModelFactory.java:241)
	at org.eclipse.zest.core.viewers.internal.GraphModelEntityRelationshipFactory.createModelNodes(GraphModelEntityRelationshipFactory.java:107)
	at org.eclipse.zest.core.viewers.internal.GraphModelEntityRelationshipFactory.doBuildGraph(GraphModelEntityRelationshipFactory.java:56)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.refreshGraph(AbstractStylingModelFactory.java:305)
	at org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer.internalRefresh(AbstractStructuredGraphViewer.java:323)
	at org.eclipse.jface.viewers.StructuredViewer.internalRefresh(StructuredViewer.java:1314)
	at org.eclipse.jface.viewers.StructuredViewer.lambda$1(StructuredViewer.java:1542)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1542)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1503)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer.refreshGraph(Unknown Source)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer$6.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4536)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4154)
	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:693)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at com.digi.xctung.application.XctungApplication.start(Unknown Source)
	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)
Exception in thread "Thread-201" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IndexOutOfBoundsException: Index does not exist)
	at org.eclipse.swt.SWT.error(SWT.java:4533)
	at org.eclipse.swt.SWT.error(SWT.java:4448)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:255)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:5414)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer.networkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.Network.notifyNetworkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.Network.notifyNetworkChanged(Unknown Source)
	at com.digi.xctung.network.core.model.NetworkDiscoveryJob.purgeNodeConnections(Unknown Source)
	at com.digi.xctung.network.core.model.NetworkDiscoveryJob.processDiscoveryFinished(Unknown Source)
	at com.digi.xctung.network.core.model.NetworkDiscoveryJob.discoveryFinished(Unknown Source)
	at com.digi.xbee.NodeDiscovery.discoverDevicesAPI(NodeDiscovery.java:476)
	at com.digi.xbee.NodeDiscovery.startDiscoveryProcess(NodeDiscovery.java:252)
	at com.digi.xbee.NodeDiscovery.access$1(NodeDiscovery.java:218)
	at com.digi.xbee.NodeDiscovery$1.run(NodeDiscovery.java:198)
Caused by: java.lang.IndexOutOfBoundsException: Index does not exist
	at org.eclipse.draw2d.Figure.add(Figure.java:140)
	at org.eclipse.draw2d.FreeformLayer.add(FreeformLayer.java:28)
	at org.eclipse.draw2d.Figure.add(Figure.java:185)
	at org.eclipse.zest.core.widgets.internal.ZestRootLayer.addNode(ZestRootLayer.java:41)
	at org.eclipse.zest.core.widgets.Graph.addNode(Graph.java:1033)
	at org.eclipse.zest.core.widgets.GraphNode.<init>(GraphNode.java:114)
	at org.eclipse.zest.core.widgets.GraphNode.<init>(GraphNode.java:88)
	at org.eclipse.zest.core.widgets.CGraphNode.<init>(CGraphNode.java:25)
	at org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer.addGraphModelNode(AbstractStructuredGraphViewer.java:262)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.createNode(AbstractStylingModelFactory.java:231)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.createNode(AbstractStylingModelFactory.java:241)
	at org.eclipse.zest.core.viewers.internal.GraphModelEntityRelationshipFactory.createModelNodes(GraphModelEntityRelationshipFactory.java:107)
	at org.eclipse.zest.core.viewers.internal.GraphModelEntityRelationshipFactory.doBuildGraph(GraphModelEntityRelationshipFactory.java:56)
	at org.eclipse.zest.core.viewers.internal.AbstractStylingModelFactory.refreshGraph(AbstractStylingModelFactory.java:305)
	at org.eclipse.zest.core.viewers.internal.AbstractStructuredGraphViewer.internalRefresh(AbstractStructuredGraphViewer.java:323)
	at org.eclipse.jface.viewers.StructuredViewer.internalRefresh(StructuredViewer.java:1314)
	at org.eclipse.jface.viewers.StructuredViewer.lambda$1(StructuredViewer.java:1542)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1458)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1419)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1542)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1503)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer.refreshGraph(Unknown Source)
	at com.digi.xctung.network.ui.internal.topology.viewer.TopologyGraphViewer$6.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4536)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4154)
	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:693)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at com.digi.xctung.application.XctungApplication.start(Unknown Source)
	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)

Happened when i was in the Network working model view, using 2x XBee Pro USB dongles, scanning with each device once. Further the stop scan button ends up in a deadlock of the pop up .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant