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

NPE in Epoch fixed #1425

Merged
merged 1 commit into from
Oct 21, 2022
Merged

NPE in Epoch fixed #1425

merged 1 commit into from
Oct 21, 2022

Conversation

petervdonovan
Copy link
Collaborator

@petervdonovan petervdonovan commented Oct 21, 2022

Recently, I fixed a bug in Windows error reporting in which the drive prefix (e.g., C:) was being excluded from the path (offending PR: #1391). I suspect that the reason why this caused NPEs in Epoch is that Epoch uses special URIs that are not file system paths, even in local development. Relevant documentation:

toFileString()           If this URI may refer directly to a locally accessible file, as determined by isFile, decodes and formats the URI as a pathname to that file; returns null otherwise.

Closes #1424.

Recently, I fixed a bug in Windows error reporting in which the drive
prefix (e.g., C:) was being excluded from the path. I suspect that the
reason why this caused NPEs in Epoch is that Epoch uses special URIs
that are not file system paths, even in local development.
@petervdonovan petervdonovan marked this pull request as ready for review October 21, 2022 22:40
@lhstrh
Copy link
Member

lhstrh commented Oct 21, 2022

Thanks for the super quick fix, @petervdonovan!

@lhstrh lhstrh changed the title Fix NPE in Epoch. Fixed NPE in Epoch Oct 21, 2022
@lhstrh lhstrh added the bugfix label Oct 21, 2022
@lhstrh lhstrh merged commit 1b9c894 into master Oct 21, 2022
@lhstrh lhstrh changed the title Fixed NPE in Epoch NPE in Epoch fixed Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when using Epoch IDE
2 participants