State:Closed|icon_bug|icon_nuke|database:public|Resolution:Fixed|TargetRelease:13.0v1|BugID:137121|
Problem summary
Nuke crashes at launch when the DiskCachePath knob is set to an empty string.
Customer reported version
Nuke12.1v2
Customer reported platform
CentOS 7
Steps to reproduce
1) From Nuke, open the Preferences.. dialog and select Performance > Cache.
2) Delete any existing location for the diskcachepath knob.
3) Press OK to save the settings, then exit Nuke.
4) Launch Nuke and observe the performance.
Expected behavior
Nuke should launch without issue or give an error for the DiskCachePath knob having an empty string.
Actual behavior
Nuke crashes on launch when a valid location is not set for the diskcachepath knob. Nuke 11.0v1 produces an error message in the console: "QDir::mkpath: Empty or null file name"

Workaround
Setting a valid directory does not have the crashing occur. Additionally, delete the preferences(version).nk file from the .nuke directory to launch without crashing.
Reproduced by Support in:
Nuke 12.2v1 - Windows 10, CentOS 7
Nuke 12.0v1 - Windows 10
Nuke 11.0v1 - Windows 10
Nuke 10.0v1 - Windows 10
Nuke 9.0v1 - Windows 10, CentOS 7
Unable to reproduce bug in:
Nuke 8.0v7 Windows 10
Earliest version tested
Nuke8.0v7 - This issue doesn't appear in this version and has regressed
We're sorry to hear that
Please tell us why