java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1988#201105812
    via GitHub by clockfly
    ,
  • replaceWithContext troubles
    via GitHub by gebner
    ,
  • GitHub comment 20209#205896543
    via GitHub by hochgi
    ,
  • GitHub comment 20642#222111584
    via GitHub by kstokoz
    ,
  • GitHub comment 20642#223772154
    via GitHub by abrighton
    ,
  • GitHub comment 2#222986551
    via GitHub by ovidiubuligan
    ,
    • java.lang.IllegalArgumentException: requirement failed: not event thread: Thread[JobThread,4,main] at scala.Predef$.require(Predef.scala:224) at org.nlogo.awt.EventQueue$.mustBeEventDispatchThread(EventQueue.scala:23) at org.nlogo.awt.EventQueue.mustBeEventDispatchThread(EventQueue.scala) at org.nlogo.window.Event.doRaise(Event.java:128) at org.nlogo.window.Event.raise(Event.java:122) at org.nlogo.window.Widget.addNotify(Widget.scala:172) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at java.awt.Container.addNotify(Container.java:2773) at javax.swing.JComponent.addNotify(JComponent.java:4740) at javax.swing.JRootPane.addNotify(JRootPane.java:757) at java.awt.Container.addNotify(Container.java:2773) at java.awt.Window.addNotify(Window.java:770) at java.awt.Frame.addNotify(Frame.java:487) at java.awt.Window.show(Window.java:1031) at java.awt.Component.show(Component.java:1673) at java.awt.Component.setVisible(Component.java:1625) at java.awt.Window.setVisible(Window.java:1014) at org.nlogo.ls.GUIChildModel$RunGUIChildModel$.run(GUIChildModel.scala:38) at org.nlogo.ls.GUIChildModel$RunGUIChildModel$.run(GUIChildModel.scala:26) at org.nlogo.headless.HeadlessWorkspace.waitForResult(HeadlessWorkspace.scala:152) at org.nlogo.ls.GUIChildModel.<init>(GUIChildModel.scala:23) at org.nlogo.ls.LevelSpace$LoadModel.perform(LevelSpace.java:182) at org.nlogo.prim._extern.perform(_extern.java:38) at org.nlogo.nvm.Context.stepConcurrent(Context.java:91) at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.java:83) at org.nlogo.job.JobThread.org$nlogo$job$JobThread$$runPrimaryJobs(JobThread.scala:133) at org.nlogo.job.JobThread$$anonfun$run$1.apply$mcV$sp(JobThread.scala:68) at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:66) at org.nlogo.job.JobThread$$anonfun$run$1.apply(JobThread.scala:66) at scala.util.control.Exception$Catch.apply(Exception.scala:103) at org.nlogo.api.Exceptions$.handling(Exceptions.scala:41) at org.nlogo.job.JobThread.run(JobThread.scala:65)

    Users with the same issue

    tyson925
    16 times, last one,
    gehel
    2 times, last one,
    melezov
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    43 more bugmates