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_Number : Smart_Timed_Resource_03
Possible_Solution : Check incoming Token type, connections
Description : Input to Smart_Timed_Resource is not a Data Structure3
in .Server_Invalid_Input.Server
at VisualSim.actor.lib.Smart_Timed_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 Server block receives only the datastructure at the input port.
Related Articles
Error generated when invalid input is given to Queue block input.
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 : ...
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 multiple Server blocks present with similar name.
Server blocks need to have unique block name, if multiple Server blocks share similar name, then the following error will be generated. "VisualSim.kernel.util.IllegalActionException: VisualSim.actor.util.MemoryException: Block ...
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 ...