When an invalid datastructure field, i.e. the datastructure field does not exist in the incoming datastructure, is set to the block parameter of Server/Queue then the following error will be generated.
"VisualSim.kernel.util.IllegalActionException:
Invalid Data Structure
Error_Number : Smart_Resource_04
Possible_Solution : Check incoming data structure
Description : Incoming DS Field to Smart_Resource (q_number) not found: {
BLOCK = "Traffic",
DELTA = 0.0,
DS_NAME = "Header_Only",
ID = 1,
INDEX = 0,
TIME = 0.0}
in .Queue_Invalid_Field_Parameter_DS_Field.Queues
at VisualSim.actor.lib.Smart_Resource.fire(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fireVisualSim(Unknown Source)
at VisualSim.simulators.de.kernel.DEDirector.fire(Unknown Source)
at VisualSim.actor.CompositeActor.fire(Unknown Source)
at VisualSim.actor.Manager.iterate(Unknown Source)
at VisualSim.actor.Manager.execute(Unknown Source)
at VisualSim.actor.Manager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
at VisualSim.kernel.util.VisualSimThread.run(Unknown Source) "
Solution: Make sure the datastructure field set in the block parameter is valid and it is present in the incoming DS