java.lang.reflect.InvocationTargetException

GitHub | qiemem | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. scala.MatchError

    java.lang.ArrayIndexOutOfBoundsException: 1 (of class java.lang.ArrayIndexOutOfBoundsException)

    at org.nlogo.window.SliderData.org$nlogo$window$SliderData$$setError$1()
  2. org.nlogo.window
    SliderData$$anonfun$setSliderConstraint$1$$anonfun$apply$mcZ$sp$2.apply
    1. org.nlogo.window.SliderData.org$nlogo$window$SliderData$$setError$1(SliderData.scala:49)
    2. org.nlogo.window.SliderData$$anonfun$setSliderConstraint$1$$anonfun$apply$mcZ$sp$2.apply(SliderData.scala:60)
    3. org.nlogo.window.SliderData$$anonfun$setSliderConstraint$1$$anonfun$apply$mcZ$sp$2.apply(SliderData.scala:60)
    3 frames
  3. Scala
    Success.foreach
    1. scala.util.Success.foreach(Try.scala:236)
    1 frame
  4. org.nlogo.window
    SliderData$$anonfun$setSliderConstraint$1.apply
    1. org.nlogo.window.SliderData$$anonfun$setSliderConstraint$1.apply$mcZ$sp(SliderData.scala:60)
    2. org.nlogo.window.SliderData$$anonfun$setSliderConstraint$1.apply(SliderData.scala:58)
    3. org.nlogo.window.SliderData$$anonfun$setSliderConstraint$1.apply(SliderData.scala:58)
    3 frames
  5. Scala
    Try.getOrElse
    1. scala.util.Try.getOrElse(Try.scala:79)
    1 frame
  6. org.nlogo.window
    CompilerManager$$anonfun$updateInterfaceGlobalConstraints$1.apply
    1. org.nlogo.window.SliderData.setSliderConstraint(SliderData.scala:58)
    2. org.nlogo.window.AbstractSliderWidget$class.setSliderConstraint(SliderWidget.scala:41)
    3. org.nlogo.window.SliderWidget.setSliderConstraint(SliderWidget.scala:179)
    4. org.nlogo.window.GUIWorkspace.handle(GUIWorkspace.java:915)
    5. org.nlogo.window.Events$AddSliderConstraintEvent.beHandledBy(Events.java:116)
    6. org.nlogo.window.Event.doRaise(Event.java:198)
    7. org.nlogo.window.Event.raise(Event.java:122)
    8. org.nlogo.window.SliderWidget.updateConstraints(SliderWidget.scala:188)
    9. org.nlogo.window.CompilerManager$$anonfun$updateInterfaceGlobalConstraints$1.apply(CompilerManager.scala:245)
    10. org.nlogo.window.CompilerManager$$anonfun$updateInterfaceGlobalConstraints$1.apply(CompilerManager.scala:245)
    10 frames
  7. Scala
    HashSet.foreach
    1. scala.collection.mutable.HashSet.foreach(HashSet.scala:78)
    1 frame
  8. org.nlogo.window
    ReconfigureWorkspaceUI$Loader$$anonfun$loadHelper$1.apply
    1. org.nlogo.window.CompilerManager.updateInterfaceGlobalConstraints(CompilerManager.scala:245)
    2. org.nlogo.window.CompilerManager.compileAll(CompilerManager.scala:188)
    3. org.nlogo.window.CompilerManager.handle(CompilerManager.scala:70)
    4. org.nlogo.window.Events$LoadEndEvent.beHandledBy(Events.java:448)
    5. org.nlogo.window.Event.doRaise(Event.java:198)
    6. org.nlogo.window.Event.raise(Event.java:122)
    7. org.nlogo.window.ReconfigureWorkspaceUI$Loader$$anonfun$loadHelper$1.apply(ReconfigureWorkspaceUI.scala:37)
    8. org.nlogo.window.ReconfigureWorkspaceUI$Loader$$anonfun$loadHelper$1.apply(ReconfigureWorkspaceUI.scala:37)
    8 frames
  9. Scala
    List.foreach
    1. scala.collection.immutable.List.foreach(List.scala:381)
    1 frame
  10. org.nlogo.window
    ReconfigureWorkspaceUI$.apply
    1. org.nlogo.window.ReconfigureWorkspaceUI$Loader.loadHelper(ReconfigureWorkspaceUI.scala:37)
    2. org.nlogo.window.ReconfigureWorkspaceUI$.apply(ReconfigureWorkspaceUI.scala:19)
    2 frames
  11. org.nlogo.app
    FileMenu$$anon$4.run
    1. org.nlogo.app.FileMenu.org$nlogo$app$FileMenu$$runLoad(FileMenu.scala:461)
    2. org.nlogo.app.FileMenu$$anon$4.run(FileMenu.scala:450)
    2 frames
  12. Java RT
    Dialog.setVisible
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    3. java.awt.EventQueue.access$500(EventQueue.java:97)
    4. java.awt.EventQueue$3.run(EventQueue.java:709)
    5. java.awt.EventQueue$3.run(EventQueue.java:703)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    11. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
    12. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
    13. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
    14. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
    17. java.awt.Dialog.show(Dialog.java:1084)
    18. java.awt.Component.show(Component.java:1671)
    19. java.awt.Component.setVisible(Component.java:1623)
    20. java.awt.Window.setVisible(Window.java:1014)
    21. java.awt.Dialog.setVisible(Dialog.java:1005)
    21 frames
  13. org.nlogo.swing
    ModalProgressTask$.apply
    1. org.nlogo.swing.ModalProgressTask$.apply(ModalProgressTask.scala:43)
    1 frame
  14. org.nlogo.app
    FileMenu$$anonfun$openFromURI$1.apply
    1. org.nlogo.app.FileMenu.org$nlogo$app$FileMenu$$openFromModel(FileMenu.scala:453)
    2. org.nlogo.app.FileMenu$$anonfun$openFromURI$1.apply(FileMenu.scala:436)
    3. org.nlogo.app.FileMenu$$anonfun$openFromURI$1.apply(FileMenu.scala:436)
    3 frames
  15. Scala
    Option.foreach
    1. scala.Option.foreach(Option.scala:257)
    1 frame
  16. org.nlogo.app
    App$$anonfun$mainWithAppHandler$1.apply$mcV$sp
    1. org.nlogo.app.FileMenu.openFromURI(FileMenu.scala:436)
    2. org.nlogo.app.FileMenu.openFromPath(FileMenu.scala:432)
    3. org.nlogo.app.App$$anonfun$open$1.apply$mcV$sp(App.scala:787)
    4. org.nlogo.app.App$$anonfun$open$1.apply(App.scala:787)
    5. org.nlogo.app.App$$anonfun$open$1.apply(App.scala:787)
    6. org.nlogo.app.App.dispatchThreadOrBust(App.scala:1059)
    7. org.nlogo.app.App.open(App.scala:787)
    8. org.nlogo.app.App.loadDefaultModel(App.scala:515)
    9. org.nlogo.app.App.org$nlogo$app$App$$finishStartup(App.scala:452)
    10. org.nlogo.app.App$$anonfun$mainWithAppHandler$1.apply$mcV$sp(App.scala:188)
    10 frames
  17. org.nlogo.swing
    Implicits$$anon$17.run
    1. org.nlogo.swing.Implicits$$anon$17.run(Implicits.scala:13)
    1 frame
  18. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    3. java.awt.EventQueue.access$500(EventQueue.java:97)
    4. java.awt.EventQueue$3.run(EventQueue.java:709)
    5. java.awt.EventQueue$3.run(EventQueue.java:703)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    14 frames