-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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 FileSystemInfo #14028
Comments
Related: #14019 |
What is |
True, JavaScript has "nullable types" instead of "null pointers", and |
I also have this problem
This looks like a recent webpack update (webpack is imported as a transitive dependency in my Node project). Version 5.51.0 gives the issue. I have resolved by importing a previous dependency directly:
|
It appeared in 5.51.0, so just downgrade to 5.50.0 for now. |
Yep that is a bug. Could one of you give me a stack trace of that? |
|
Bug report
What is the current behavior?
Null pointer errorError due to null object inFileSystemInfo.getContextTimestamp
If the current behavior is a bug, please provide the steps to reproduce.
Call
FileSystemInfo.getContextTimestamp
with an immutable path (immutable path prefixes are provided inFileSystemInfo
constructor).What is the expected behavior?
_readContextTimestamp
(processor forcontextTimestampQueue
) returnsnull
for immutable paths:webpack/lib/FileSystemInfo.js
Lines 3016 to 3020 in bd7cb37
so the queue callback in
getContextTimestamp
should handleentry
possibly being null:webpack/lib/FileSystemInfo.js
Lines 1164 to 1168 in bd7cb37
Other relevant information:
webpack version: 5.51.0
Node.js version: all
Operating System: all
Additional tools: N/A
The text was updated successfully, but these errors were encountered: