Queue block receives datastructure as input, no other input is valid, If the input isn't a datastructure then the following error will be generated.
"VisualSim.kernel.util.IllegalActionException:
Invalid Input
Error_Number : Smart_Resource_03
Possible_Solution : Check incoming Token type, connections
Description : Input to Smart_Resource is not a Data Structure: 3
in .Queue_Invalid_Input.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 Queue block receives the datastructure at the input port.
Related Articles
Error generated when invalid input is given to Server block input port
Server block receives datastructure as input, no other input is valid, If the input isn't a datastructure then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: Input to Smart_Timed_Resource is not a Data Structure ...
Error generated when an invalid input given to pop input of a Queue block
In order to pop a datastructure out, Queue block requires an integer value at the pop input. the following error is generated when a datastructure is given to pop input, "VisualSim.kernel.util.IllegalActionException: Invalid Data Structure ...
Error generated when an invalid datastructure field is set to block parameter
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: ...
Error generated when the SystemResource_Done block is connected invalid output of SystemResource_Extend block
Systemresource_Done needs to be connected to the Task_output port, if SystemResource_Done block is connected to Task_Plot, then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: Input Token is not RecordToken or ...
Error generated when an invalid Input given to Statistics block
Statistics block accepts only double, integer or long values at the Stats_data port. If an invalid data such a datastructure is sent to the input port, following error will be generated. VisualSim.kernel.util.IllegalActionException: Block: ...