This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patches-own[delay base_delay road_type last_here] | |
turtles-own[birth_tick ticks_here route] | |
globals[travel_time top bottom middle spawn_time middle_prev avg cars_spawned dynamic_roads top_prob bottom_prob middle_prob] | |
to setup | |
clear-all | |
setup-roads | |
reset-ticks | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------------- | |
// MESSAGE POST HANDLER START | |
//------------------------------------------------------------- | |
/************************************************************** | |
Set the origin is the parent window | |
**************************************************************/ | |
var origin = null; | |
var id = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] java.lang.NullPointerException | |
[error] at org.nlogo.nvm.Context.getLet(Context.java:281) | |
[error] at org.nlogo.prim._asm_proceduresetup_patchvariableof_17.report(:2) | |
[error] at org.nlogo.nvm.AnonymousReporter.report(AnonymousProcedure.scala:89) | |
[error] at org.nlogo.nvm.AnonymousReporter.report(AnonymousProcedure.scala:78) | |
[error] at view25d.view.PatchView.updateValueArray(PatchView.java:109) | |
[error] at view25d.view.PatchView.manuallyRefreshReporterView(PatchView.java:135) | |
[error] at view25d.prims.MakePatchView$1.run(MakePatchView.java:63) | |
[error] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) | |
[error] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) |