egueli / TraCI4J

A high-level Java library to communicate with SUMO (Simulation of Urban MObility) through its TraCI protocol.
GNU General Public License v3.0
41 stars 27 forks source link

Error with Traas and SUMO version dismatch #32

Open halegreen opened 5 years ago

halegreen commented 5 years ago
Error: tcpip::Storage::readIsSafe: want to read 8 bytes from Storage, but only 4 remaining
java.io.EOFException
    at java.io.DataInputStream.readInt(DataInputStream.java:392)
    at de.tudresden.sumo.util.Query.doSimulationStep(Unknown Source)
    at de.tudresden.sumo.util.CommandProcessor.do_SimulationStep(Unknown Source)
    at it.polito.appeal.traci.SumoTraciConnection.do_timestep(Unknown Source)
    at it.polito.appeal.traci.SumoTraciConnection.do_timestep(Unknown Source)
    at group.simulation.traffic.service.SumoService.sumoDemo(SumoService.java:19)

Error with TraCI and SUMO version , how the the latest version?