Internal error occurred within the program:
Path cannot be the empty string or all whitespace.
Parameter name: path
Stack trace:
at System.IO.Directory.CreateDirectory(String path)
at Landis.Extension.BaseBDA.MetadataHandler.InitializeMetadata(Int32 Timestep, String severityMapFileName, String srdMapFileName, String nrdMapFileName, String logFileName, IEnumerable`1 manyAgentParameters, ICore mCore)
at Landis.Extension.BaseBDA.PlugIn.Initialize()
at Landis.Model.InitExtensions(ExtensionMain[] extensions)
at Landis.Model.Run(String scenarioPath, IUserInterface ui)
at Landis.App.Main(String[] args) in D:\CGAProjects\Rob\LANDIS_FINAL\GitHubRepo\Core-Model-v7\Tool-Console\src\App.cs:line 99
I think this line of code causes the issue (in the MetadataHandler.cs):
I have following in the BDA config file:
And this causes me an error:
I think this line of code causes the issue (in the MetadataHandler.cs):
if
System.IO.Path.GetDirectoryName(logFileName)
just returns empty string or all whitespaces, the directory should not be created.