NPE in FileSystemInfo
See original GitHub issueBug report
What is the current behavior?
Null pointer error Error due to null object in FileSystemInfo.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 in FileSystemInfo constructor).
What is the expected behavior?
_readContextTimestamp (processor for contextTimestampQueue) returns null for immutable paths:
so the queue callback in getContextTimestamp should handle entry possibly being null: https://github.com/webpack/webpack/blob/bd7cb37f1c0d872cfff9fc27c7db52a25e1ba6a3/lib/FileSystemInfo.js#L1164-L1168
Other relevant information: webpack version: 5.51.0 Node.js version: all Operating System: all Additional tools: N/A
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)

Top Related StackOverflow Question
It appeared in 5.51.0, so just downgrade to 5.50.0 for now.
What is
Null pointer? It is not Java