Error generated when invalid input is given to Server block input port

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.