Menu

#1 Negative Carrier Sense Delay

open
nobody
None
5
2014-08-15
2008-01-08
dirkmeister
No

I got the following exception during a simulation
"java.lang.IllegalArgumentException: delay of an event should never be negative
at net.sf.shox.simulator.kernel.SimulationManager.enqueueEvent(SimulationManager.java:569)
at net.sf.shox.simulator.kernel.SimulationManager.enqueue(SimulationManager.java:518)
at net.sf.shox.simulator.kernel.SimulationManagerKernel.enqueueEvent(SimulationManagerKernel.java:52)
at net.sf.shox.simulator.node.Layer.sendEventSelf(Layer.java:196)
at net.sf.shox.simulator.node.AirModule.checkCarrierMinFree(AirModule.java:454)
at net.sf.shox.simulator.node.AirModule.processAirPerformCarrierSense(AirModule.java:472)
at net.sf.shox.simulator.node.AirModule.processEvent(AirModule.java:189)
at net.sf.shox.simulator.node.Node.processEvent(Node.java:249)
at net.sf.shox.simulator.kernel.SimulationManager$NodeInternalEnvelope.deliver(SimulationManager.java:764)
at net.sf.shox.simulator.kernel.SimulationManager.runSimulation(SimulationManager.java:209)
at net.sf.shox.simulator.kernel.SimulationRunner.run(SimulationRunner.java:134)
"

The error is reproduceable (configuration file is availabe). And was also observed by other developers using other configurations.

I propose to see this bug as CRICITAL since it seems sot that no simulation runs are possible at the moment.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB