-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When calling client.Lane.GetLinks(someLaneID), I get the following error:
InvalidOperationException: Sequence contains no elements
System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
CodingConnected.TraCI.NET.Helpers.TraCIDataConverter.GetValueFromTypeAndArray (System.Byte type, System.Collections.Generic.IEnumerable`1[T] array, System.Object& Object) (at Assets/Scripts/Simulation/CodingConnected.TraCI.NET/Helpers/TraCIDataConverter.cs:781)
CodingConnected.TraCI.NET.Helpers.TraCIDataConverter.ExtractDataFromResponse[T] (CodingConnected.TraCI.NET.TraCIResult[] response, System.Byte commandType, System.Byte messageType) (at Assets/Scripts/Simulation/CodingConnected.TraCI.NET/Helpers/TraCIDataConverter.cs:47)
CodingConnected.TraCI.NET.Helpers.TraCICommandHelper.ExecuteGetCommand[T] (CodingConnected.TraCI.NET.TraCIClient client, System.String id, System.Byte commandType, System.Byte messageType) (at Assets/Scripts/Simulation/CodingConnected.TraCI.NET/Helpers/TraCICommandHelper.cs:121)
CodingConnected.TraCI.NET.Commands.LaneCommands.GetLinks (System.String id) (at Assets/Scripts/Simulation/CodingConnected.TraCI.NET/Commands/LaneCommands.cs:83)
SumoClientClass.MainLoop () (at Assets/Scripts/SumoClient/SumoClientClass.cs:93)
Metadata
Metadata
Assignees
Labels
No labels