java.lang.IllegalArgumentException: requirement failed: not event thread: Thread[JobThread,4,main]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by qiemem
, 1 year ago
requirement failed: not event thread: Thread[JobThread,4,main]
via GitHub by jamesmcclain
, 2 months ago
requirement failed: Either PARTITION_COUNT or PARTITION_SIZE option may be set
via Google Groups by debasish kaushik, 1 year ago
requirement failed: viewEvents in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
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.(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 org.nlogo.api.Exceptions$.handling(Exceptions.scala:41)
at org.nlogo.job.JobThread.run(JobThread.scala:65)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 3 weeks ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
46 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.