View Issue Details

IDProjectCategoryView StatusLast Update
0000659HeurekaGeneralpublic2024-02-28 08:28
Reporteradmin Assigned Tocilwan  
Status assignedResolutionopen 
Product Version2.22.0 
Target Version2.22.1 
Summary0000659: StandWise fails to load textures
DescriptionEmail from: Bugtracker Heureka <>

Originally sent by: Thies Eggers<>

Start av StandWise

--- Exception ---
System.IO.DirectoryNotFoundException: Det gick inte att hitta en del av sökvägen C:\Windows\system32\Textures\Dead.

--- Stack Trace ---
   vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   vid System.IO.FileSystemEnumerableIterator`1.CommonInit()
   vid System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   vid System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   vid Slu.Heureka.ApplicationLayer.StandVis.UI.GraphicalView.gatherAvailableTextures()
   vid Slu.Heureka.ApplicationLayer.StandVis.UI.GraphicalView..ctor(TreatmentManager treatmentManager, VisualForestManager visualForestManager)
   vid Slu.Heureka.ApplicationLayer.StandVis.MainForm.get3DView()
   vid Slu.Heureka.BaseLayer.UICommands.OpenTabPageCommand.Do()
   vid Slu.Heureka.DomainLayer.Applications.MainFormBase.ExecuteCommand(ICommand command)
   vid Slu.Heureka.ApplicationLayer.StandVis.MainForm.changeProject()
Steps To ReproduceStandWise fails to load textures if a project file is opened directly.
TagsNo tags attached.



2024-02-28 08:22

administrator   ~0000607

Last edited: 2024-02-28 08:28

L391 in GraphicalView.cs. Directory.GetFiles uses a relative path, which returns the wrong path if StandWise has been opened by clicking a project file.

Directory.SetCurrentDirectory(String) might work with Assembly.GetExecutingAssembly().Location

Issue History

Date Modified Username Field Change
2024-01-30 13:00 admin New Issue
2024-01-31 08:28 jonare Assigned To => cilwan
2024-01-31 08:28 jonare Status new => assigned
2024-01-31 08:28 jonare Product Version => 2.22.0
2024-01-31 08:28 jonare Target Version => 2.22.1
2024-01-31 08:28 jonare Summary User Submitted Report => StandWise fails to load textures
2024-01-31 08:28 jonare Description Updated
2024-01-31 08:28 jonare Steps to Reproduce Updated
2024-01-31 08:28 jonare Product General => StandWise
2024-02-28 08:22 jonare Note Added: 0000607
2024-02-28 08:28 jonare Note Edited: 0000607