apollo-client-devtools icon indicating copy to clipboard operation
apollo-client-devtools copied to clipboard

ApolloError: Cannot read properties of null (reading 'definitions')

Open cod3master opened this issue 1 year ago • 2 comments

Error on Queries tab:

ApolloError: Cannot read properties of null (reading 'definitions')

ApolloError
    at new t (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:354936)
    at chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:393140
    at i (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:362636)
    at chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:362550
    at new Promise (<anonymous>)
    at Object.then (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:362516)
    at Object.next (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:362646)
    at ht (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:274793)
    at mt (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:275306)
    at t.next (chrome-extension://jdkknkkbebbapilgoeccciglkfbmbnfm/panel.js:1:275846)

Additional details

@apollo/client version

Apollo Client Devtools version

4.18.15 (Chrome)

cod3master avatar Dec 20 '24 10:12 cod3master

Thanks for the report @cod3master! We'll see if we can look into this soon 🙂

jerelmiller avatar Dec 20 '24 16:12 jerelmiller

@cod3master is there a particular query or something you're doing that is causing this issue? I see that we're trying to read definitions from a query when handling queries from the the explorer. Is that what is triggering this error for you?

jerelmiller avatar Dec 20 '24 17:12 jerelmiller

Hello! I'm doing some housekeeping and haven't seen any recent updates here so I'm going to assume this has been fixed. If you see other issues, please provide more detail we'd be happy to dig into this further. Thanks!

jerelmiller avatar Nov 21 '25 00:11 jerelmiller

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better.

github-actions[bot] avatar Nov 21 '25 00:11 github-actions[bot]