With two of the curricular models in the GenEvo group - GenEvo 2 Genetic Drift and GenEvo 3 Genetic Drift and Natural Selection, I get an Internal Error message on launch, I’ve copied the full text of the error message below. It’s way beyond my knowledge to parse what this means and why it’s stopping the models from working, but I thought it would be useful to raise it (NetLogo 7.0.1, Mac Silicon version on an M1 Macbook Pro).
Will.
NetLogo is unable to supply you with more details about this error. Please report the problem at https://github.com/NetLogo/NetLogo/issues or to [email protected] and paste the contents of this window into your report.
Please also include the steps necessary to reproduce the problem. If you need to attach a NetLogo model (i.e. .nlogox file), to ensure it gets through please put it and any accessory files in a zip file. If you cannot reproduce the error then please try to describe what you were doing when it happened.
We recommend that you use the latest version of NetLogo which is available at Redirecting...
java.lang.NumberFormatException: For input string: “number-of-types”
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.base/jdk.internal.math.FloatingDecimal.parseDouble(Unknown Source)
at java.base/java.lang.Double.parseDouble(Unknown Source)
at scala.collection.StringOps$.toDouble$extension(StringOps.scala:951)
at org.nlogo.window.SliderWidget.load(SliderWidget.scala:162)
at org.nlogo.app.interfacetab.WidgetPanel.makeAndLoadWidget(WidgetPanel.scala:1368)
at org.nlogo.app.interfacetab.InterfacePanel.loadWidget(InterfacePanel.scala:207)
at org.nlogo.app.interfacetab.InterfacePanel.loadWidget(InterfacePanel.scala:173)
at org.nlogo.app.interfacetab.WidgetPanel.loadWidgets$$anonfun$1(WidgetPanel.scala:1406)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.nlogo.app.interfacetab.WidgetPanel.loadWidgets(WidgetPanel.scala:1406)
at org.nlogo.app.interfacetab.InterfacePanel.handle(InterfacePanel.scala:235)
at org.nlogo.window.Events$LoadWidgetsEvent.beHandledBy(Events.java:590)
at org.nlogo.window.Event.doRaise(Event.java:206)
at org.nlogo.window.Event.raise(Event.java:122)
at org.nlogo.window.ReconfigureWorkspaceUI$Loader.loadHelper$$anonfun$1(ReconfigureWorkspaceUI.scala:42)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.List.foreach(List.scala:334)
at org.nlogo.window.ReconfigureWorkspaceUI$Loader.loadHelper(ReconfigureWorkspaceUI.scala:42)
at org.nlogo.window.ReconfigureWorkspaceUI$.apply(ReconfigureWorkspaceUI.scala:20)
at org.nlogo.app.FileManager.org$nlogo$app$FileManager$$runLoad(FileManager.scala:404)
at org.nlogo.app.FileManager$$anon$1.run(FileManager.scala:470)
at org.nlogo.swing.ModalProgressTask$.onUIThread$$anonfun$1(ModalProgressTask.scala:57)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at org.nlogo.swing.ModalProgressTask$.display$$anonfun$1(ModalProgressTask.scala:45)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
at org.nlogo.swing.ModalProgress.showModalProgressPanel$$anonfun$1(ModalProgressTask.scala:27)
at scala.Option.foreach(Option.scala:437)
at org.nlogo.swing.ModalProgress.showModalProgressPanel(ModalProgressTask.scala:27)
at org.nlogo.swing.ModalProgress.showModalProgressPanel$(ModalProgressTask.scala:13)
at org.nlogo.app.AppFrame.showModalProgressPanel(AppFrame.scala:16)
at org.nlogo.swing.ModalProgressTask$.display(ModalProgressTask.scala:47)
at org.nlogo.swing.ModalProgressTask$.onUIThread(ModalProgressTask.scala:55)
at org.nlogo.app.FileManager.openFromModel(FileManager.scala:474)
at org.nlogo.app.FileManager.openFromURI$$anonfun$1(FileManager.scala:363)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
at scala.Option.foreach(Option.scala:437)
at org.nlogo.app.FileManager.openFromURI(FileManager.scala:362)
at org.nlogo.app.FileManager.openFromPath(FileManager.scala:342)
at org.nlogo.app.OpenRecentFileAction.open(RecentFilesMenu.scala:64)
at org.nlogo.app.OpenRecentFileAction.actionPerformed(RecentFilesMenu.scala:58)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source)
at java.desktop/java.awt.MenuItem.processActionEvent(Unknown Source)
at java.desktop/java.awt.MenuItem.processEvent(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
NetLogo 7.0.1
main: org.nlogo.app.AppFrame
thread: AWT-EventQueue-0
OpenJDK 64-Bit Server VM 17.0.2 (Oracle Corporation; 17.0.2+8-86)
operating system: Mac OS X 26.0.1 (aarch64 processor)
Scala 3.7.0
JOGL: (3D View not initialized)
OpenGL Graphics: (3D View not initialized)
model: GenEvo 2 Genetic Drift
12:38:23.929 WidgetErrorEvent (org.nlogo.window.PlotWidget) AWT-EventQueue-0
12:38:23.881 WidgetAddedEvent (org.nlogo.window.NoteWidget) AWT-EventQueue-0
12:38:23.863 WidgetAddedEvent (org.nlogo.window.PlotWidget) AWT-EventQueue-0
12:38:23.765 WidgetAddedEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.765 CompileMoreSourceEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.765 RemoveJobEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.765 CompileMoreSourceEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.765 RemoveJobEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.758 WidgetAddedEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0
12:38:23.758 CompileMoreSourceEvent (org.nlogo.window.ButtonWidget) AWT-EventQueue-0