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

Cannot read properties of null (reading 'get') #69272

Open
junioryono opened this issue Aug 25, 2024 · 0 comments
Open

Cannot read properties of null (reading 'get') #69272

junioryono opened this issue Aug 25, 2024 · 0 comments
Labels
bug Issue was opened via the bug report template. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.

Comments

@junioryono
Copy link
Contributor

Link to the code that reproduces this issue

https://github.com/yehonatanyosefi/parallel-routes-example

To Reproduce

Happens randomly in production with App Router

Current vs. Expected behavior

Happens here: ../src/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.ts in fillLazyItemsTillLeafWithHead at line 153:60:

const existingParallelRoutes = newCache.parallelRoutes.get(key)

Error: Cannot read properties of null (reading 'get')

image

Provide environment information

const nextConfig = {
  output: "standalone",
  reactStrictMode: true,
  poweredByHeader: false,
  skipTrailingSlashRedirect: true,
  ...
}
"next": "^15.0.0-rc.0",


### Which area(s) are affected? (Select all that apply)

Parallel & Intercepting Routes

### Which stage(s) are affected? (Select all that apply)

Other (Deployed)

### Additional context

_No response_
@junioryono junioryono added the bug Issue was opened via the bug report template. label Aug 25, 2024
@github-actions github-actions bot added the Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes. label Aug 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Parallel & Intercepting Routes Related to Parallel and/or Intercepting routes.
Projects
None yet
Development

No branches or pull requests

2 participants
@junioryono and others