{"action":"opened","issue":{"url":"https://api.github.com/repos/arthurhjorth/LevelSpaceXWGUI/issues/37","labels_url":"https://api.github.com/repos/arthurhjorth/LevelSpaceXWGUI/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/arthurhjorth/LevelSpaceXWGUI/issues/37/comments","events_url":"https://api.github.com/repos/arthurhjorth/LevelSpaceXWGUI/issues/37/events","html_url":"https://github.com/arthurhjorth/LevelSpaceXWGUI/issues/37","id":72898398,"number":37,"title":"Arguments totally broken","user":{"login":"qiemem","id":28215,"avatar_url":"https://avatars.githubusercontent.com/u/28215?v=3","gravatar_id":"","url":"https://api.github.com/users/qiemem","html_url":"https://github.com/qiemem","followers_url":"https://api.github.com/users/qiemem/followers","following_url":"https://api.github.com/users/qiemem/following{/other_user}","gists_url":"https://api.github.com/users/qiemem/gists{/gist_id}","starred_url":"https://api.github.com/users/qiemem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qiemem/subscriptions","organizations_url":"https://api.github.com/users/qiemem/orgs","repos_url":"https://api.github.com/users/qiemem/repos","events_url":"https://api.github.com/users/qiemem/events{/privacy}","received_events_url":"https://api.github.com/users/qiemem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T01:56:24Z","updated_at":"2015-05-04T01:56:24Z","closed_at":null,"body":"First, command arguments are appearing where agent arguments should be.\r\n\r\nNext, whenever you try to save a relationship with command arguments, you get the following exception (`amount` is the name of the argument).\r\n\r\n```\r\nNetLogo is unable to supply you with more details about this error.  Please report the problem\r\nat https://github.com/NetLogo/NetLogo/issues, or to bugs@ccl.northwestern.edu, and paste the\r\ncontents of this window into your report.\r\n\r\njava.util.NoSuchElementException: key not found: amount\r\n at scala.collection.MapLike$class.default(MapLike.scala:225)\r\n at scala.collection.immutable.Map$EmptyMap$.default(Map.scala:88)\r\n at scala.collection.MapLike$class.apply(MapLike.scala:135)\r\n at scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:88)\r\n at org.levelspace.LSArgumentSelector$$anonfun$selectedArgumentIndices_$eq$1.apply(LSArgumentSelector.scala:31)\r\n at scala.collection.Iterator$class.foreach(Iterator.scala:772)\r\n at scala.collection.immutable.VectorIterator.foreach(Vector.scala:648)\r\n at org.levelspace.LSArgumentSelector.selectedArgumentIndices_$eq(LSArgumentSelector.scala:27)\r\n at org.levelspace.RelationshipKind$$anonfun$42.apply(RelationshipWidget.scala:77)\r\n at org.levelspace.RelationshipKind$$anonfun$42.apply(RelationshipWidget.scala:77)\r\n at uk.ac.surrey.xw.api.Property$$anonfun$set$1.apply(Property.scala:37)\r\n at uk.ac.surrey.xw.api.Property$$anonfun$set$1.apply(Property.scala:37)\r\n at scala.Option.foreach(Option.scala:197)\r\n at uk.ac.surrey.xw.api.Property.set(Property.scala:37)\r\n at uk.ac.surrey.xw.api.ExtraWidget$$anonfun$setProperty$1.apply(ExtraWidget.scala:26)\r\n at uk.ac.surrey.xw.api.ExtraWidget$$anonfun$setProperty$1.apply(ExtraWidget.scala:25)\r\n at scala.Option.foreach(Option.scala:197)\r\n at uk.ac.surrey.xw.api.ExtraWidget$class.setProperty(ExtraWidget.scala:25)\r\n at org.levelspace.Relationship.setProperty(RelationshipWidget.scala:107)\r\n at uk.ac.surrey.xw.gui.GUI$$anonfun$uk$ac$surrey$xw$gui$GUI$$setProperty$1.apply(GUI.scala:76)\r\n at uk.ac.surrey.xw.gui.GUI$$anonfun$uk$ac$surrey$xw$gui$GUI$$setProperty$1.apply(GUI.scala:76)\r\n at scala.Option.foreach(Option.scala:197)\r\n at uk.ac.surrey.xw.gui.GUI.uk$ac$surrey$xw$gui$GUI$$setProperty(GUI.scala:75)\r\n at uk.ac.surrey.xw.gui.GUI$$anonfun$notify$2.apply$mcV$sp(GUI.scala:49)\r\n at uk.ac.surrey.xw.gui.GUI$$anonfun$notify$2.apply(GUI.scala:49)\r\n at uk.ac.surrey.xw.gui.GUI$$anonfun$notify$2.apply(GUI.scala:49)\r\n at uk.ac.surrey.xw.api.package$$anon$1.run(package.scala:28)\r\n at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)\r\n at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)\r\n at java.awt.EventQueue.access$400(EventQueue.java:82)\r\n at java.awt.EventQueue$2.run(EventQueue.java:676)\r\n at java.awt.EventQueue$2.run(EventQueue.java:674)\r\n at java.security.AccessController.doPrivileged(Native Method)\r\n at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)\r\n at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)\r\n at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)\r\n at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)\r\n at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)\r\n at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)\r\n at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)\r\n at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)\r\n\r\nNetLogo 5.2.0\r\nmain: org.nlogo.lite.InterfaceComponent\r\nthread: AWT-EventQueue-0\r\nJava HotSpot(TM) 64-Bit Server VM 1.6.0_65 (Apple Inc.; 1.6.0_65-b14-462-11M4609)\r\noperating system: Mac OS X 10.9.5 (x86_64 processor)\r\nScala version 2.9.2\r\nJOGL: (3D View not initialized)\r\nOpenGL Graphics: (3D View not initialized)\r\nmodel: /Users/bryan/Development/NetLogo/lsxwgui/Wolf Sheep Predation.nlogo\r\n\r\n08:52:23.267 JobRemovedEvent (org.nlogo.app.App$$anon$1 (org.nlogo.window.GUIWorkspace)) JobThread\r\n08:52:23.267 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.267 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.267 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.267 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.266 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.266 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.266 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0\r\n08:52:23.266 InterfaceGlobalEvent (org.nlogo.window.SliderWidget) AWT-EventQueue-0\r\n08:52:23.266 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0\r\n```"}}