eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.51k stars 1.42k forks source link

Error with Traas and SUMO version dismatch #4893

Closed halegreen closed 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 Traas and SUMO version dismatch,have solved this problems?

namdre commented 5 years ago

http://sumo.dlr.de/wiki/FAQ#Error:_tcpip::Storage::readIsSafe:_want_to_read_8_bytes_from_Storage.2C_but_only_4_remaining

Just use the version of TraaS that comes included with your SUMO release.