<?xml version="1.0" encoding="UTF-8"?>
<NetLayer
class="org.peerfact.impl.network.modular.ModularNetLayerFactory"
useRegionGroups="false"
useInOrderDelivery="false"
preset="PingEr">
<MeasurementDB class="org.peerfact.impl.network.modular.db.NetMeasurementDB"
file="config/data/mod_measured_data.xml" />
<BandwidthDetermination class="org.peerfact.impl.network.bandwidthdetermination.OECDReportBandwidthDetermination" />
<PacketSizing class="org.peerfact.impl.network.modular.st.packetSizing.IPv4Header" />
<TrafficControl class="org.peerfact.impl.network.modular.st.trafCtrl.BoundedTrafficQueue" />
<PLoss class="org.peerfact.impl.network.modular.st.ploss.PingErPacketLoss" />
<Latency class="org.peerfact.impl.network.modular.st.latency.PingErLatency" />
<Positioning class="org.peerfact.impl.network.modular.st.positioning.GeographicalPositioning" />
<Fragmenting class="org.peerfact.impl.network.modular.st.fragmenting.IPv4Fragmenting" />
<Jitter class="org.peerfact.impl.network.modular.st.jitter.PingErJitter" />
</NetLayer>
my action file is very simple:
# action file for FileSharing
all 1s-150m FileSharingApplication:join
all 150m-300m FileSharingApplication:publishResourcesFromSet files 100
all 300m-500m FileSharingApplication:lookupResourceFromSetPeriodically files 10m
the Peers number is 100 and the simulation´s time has been set to 800m and i use the already defined Filesharing configuration File. The Simulation will run for a while but then i get the NullPointerException and the following errors:
at org.peerfact.impl.overlay.dht.can.operations.StoreOperation.execute(StoreOperation.java:99)
at org.peerfact.impl.common.AbstractOperation.eventOccurred(AbstractOperation.java:204)
at org.peerfact.impl.simengine.Scheduler.processNextEvent(Scheduler.java:240)
at org.peerfact.impl.simengine.Scheduler.start(Scheduler.java:162)
at org.peerfact.impl.simengine.Simulator.start(Simulator.java:216)
at org.peerfact.impl.util.guirunner.impl.SimulationThread.run(SimulationThread.java:71)