Fix NPE when clicking stack trace lines on unopened files