Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time:create-with-format Extension could not parse input: and Some(dd-MMM-yyyy) #61

Open
platipodium opened this issue Jun 7, 2023 · 0 comments

Comments

@platipodium
Copy link

Given this input show time:create-with-format "01-Jan-2022" "dd-MMM-yyyy" the extension fails

Extension exception: Extension could not parse input:  and Some(dd-MMM-yyyy)
error while observer running TIME:CREATE-WITH-FORMAT
  called by Command Center

org.nlogo.nvm.WrappedExtensionException: Extension exception: Extension could not parse input:  and Some(dd-MMM-yyyy)
 at org.nlogo.prim._externreport.report(_externreport.java:35)
 at org.nlogo.prim.etc._show.perform(_show.scala:12)
 at org.nlogo.nvm.Context.stepConcurrent(Context.java:107)
 at org.nlogo.nvm.ConcurrentJob.step(ConcurrentJob.scala:65)
 at org.nlogo.job.JobThread.runPrimaryJobs(JobThread.scala:133)
 at org.nlogo.job.JobThread.$anonfun$run$1(JobThread.scala:68)
 at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
 at scala.util.control.Exception$Catch.apply(Exception.scala:228)
 at org.nlogo.api.Exceptions$.handling(Exceptions.scala:41)
 at org.nlogo.job.JobThread.run(JobThread.scala:66)
Caused by: org.nlogo.api.ExtensionException: Extension could not parse input:  and Some(dd-MMM-yyyy)
 at org.nlogo.extensions.time.datatypes.LogoTime.<init>(LogoTime.scala:112)
 at org.nlogo.extensions.time.primitives.TimePrimitives$CreateWithFormat.report(TimePrimitives.scala:86)
 at org.nlogo.prim._externreport.report(_externreport.java:31)
 ... 9 more

NetLogo 6.3.0
main: org.nlogo.app.AppFrame
thread: JobThread
OpenJDK 64-Bit Server VM 17.0.3 (Azul Systems, Inc.; 17.0.3+7-LTS)
operating system: Mac OS X 13.4 (aarch64 processor)
Scala version 2.12.16
JOGL: (3D View not initialized)
OpenGL Graphics: (3D View not initialized)
model: vinos

08:44:08.082 RuntimeErrorEvent (org.nlogo.app.App$$anon$4 (org.nlogo.window.GUIWorkspace)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.window.ChooserWidget) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.app.interfacetab.InterfacePanel$$anon$1 (org.nlogo.window.SliderWidget)) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
08:44:08.080 InterfaceGlobalEvent (org.nlogo.widget.SwitchWidget) AWT-EventQueue-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant