You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a bug in the GIS-extension: when using "gis:link-dataset" together with a link-set built from a user-defined "undirected-link-breed" with additional properties, the model crashes.
It's not a problem when either the links are not of a own breed or when they don't own additional properties, but in combination of both it doesn't work.
The error was as follows:
Extension exception: null
error while edge 0 1 running GIS:LINK-DATASET
called by procedure TEST
called by Button 'test'
org.nlogo.nvm.EngineException: Extension exception: null
at org.nlogo.agent.World.breedsOwnNameAt(World.java:1036)
at org.myworldgis.netlogo.LinkDataset.reportInternal(LinkDataset.java:68)
at org.myworldgis.netlogo.GISExtension$Reporter.report(GISExtension.java:40)
at org.nlogo.prim._externreport.report(_externreport.java:50)
at org.nlogo.prim._let.perform(_let.java:28)
at org.nlogo.nvm.Context.runExclusive(Context.java:119)
at org.nlogo.nvm.ExclusiveJob.run(ExclusiveJob.java:57)
at org.nlogo.nvm.Context.runExclusiveJob(Context.java:162)
at org.nlogo.prim._asm_proceduretest_ask_0.perform(:1)
at org.nlogo.nvm.Context.stepConcurrent(Context.java:91)
at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.java:82)
at org.nlogo.job.JobThread.org$nlogo$job$JobThread$$runPrimaryJobs(JobThread.scala:143)
at org.nlogo.job.JobThread$$anonfun$run$1.apply$mcV$sp(JobThread.scala:78)
at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:76)
at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:76)
at scala.util.control.Exception$Catch.apply(Exception.scala:88)
at org.nlogo.util.Exceptions$.handling(Exceptions.scala:41)
at org.nlogo.job.JobThread.run(JobThread.scala:75)
NetLogo 5.3
main: org.nlogo.app.AppFrame
thread: JobThread
Java HotSpot(TM) 64-Bit Server VM 1.8.0_65 (Oracle Corporation; 1.8.0_65-b17)
operating system: Windows 10 10.0 (amd64 processor)
Scala version 2.9.2
JOGL: (3D View not initialized)
OpenGL Graphics: (3D View not initialized)
model: link_dataset_issue
01:28:31.892 SwitchedTabsEvent (org.nlogo.app.Tabs) AWT-EventQueue-0
01:28:31.890 RuntimeErrorEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
01:28:31.887 OutputEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
01:28:31.887 AddJobEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
01:28:31.823 InputBoxLoseFocusEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
01:28:31.820 PeriodicUpdateEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
01:28:31.619 PeriodicUpdateEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
01:28:31.418 JobRemovedEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) JobThread
01:28:31.417 PeriodicUpdateEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
01:28:31.417 TickStateChangeEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) JobThread
From the ccl-gis mailing list
The error was as follows:
The model that generated is available here.
The text was updated successfully, but these errors were encountered: