-
Notifications
You must be signed in to change notification settings - Fork 14
Parse of .json report not working #12
Comments
Can you provide the json file by chance? |
Nothing to hide on it :D
|
Ill start looking at it, seems a lot is missing from the report output so at the very least ill add some nullchecks |
I see... tbh I thought that was the standard output, I even added extendedMetrics to see if it improved in detail hehe. This is my test, btw...
|
Ah yeah, I dont have much support for sockets in general, certainly not socketio. I can look into the support required though. |
Since it's reporting the error in summary.tsx, this is what I found corrects the issue. At the bottom of the file near 'Overall Rating' change:
to:
Fill spits out a bunch of the spans, which require keys and fill can't generate keys, so... also, you can use .map() if you want instead of .from() |
Hi kumichou, I will give it a shot tonight... I guess this would be in Extended plugin source code, in file summary.tsx Thanks so much for looking into this :) |
I just ran into the same basic problem as you :) I fixed it in src/components/summary.tsx |
Getting a few errors when uploading the file.
`
react-jsx-dev-runtime.development.js:117 Warning: Each child in a list should have a unique "key" prop.
Check the render method of
Summary
. See https://reactjs.org/link/warning-keys for more information.at i
at Summary (http://localhost:3000/static/js/bundle.js:3078:68)
at ReportProvider (http://localhost:3000/static/js/bundle.js:3860:5)
at PageHome
at Routes (http://localhost:3000/static/js/bundle.js:68400:5)
at Routing
at div
at div
at div
at div
at Layout (http://localhost:3000/static/js/bundle.js:4541:5)
at ThemeProvider (http://localhost:3000/static/js/bundle.js:3994:5)
at Router (http://localhost:3000/static/js/bundle.js:68333:15)
at BrowserRouter (http://localhost:3000/static/js/bundle.js:67809:5)
at HostRouter
printWarning @ react-jsx-dev-runtime.development.js:117
summary.tsx:97 Uncaught TypeError: Cannot read properties of undefined (reading 'mean')
at Summary (summary.tsx:97:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
at workLoopSync (react-dom.development.js:22707:1)
latency.tsx:16 Uncaught TypeError: Cannot read properties of undefined (reading 'min')
at Latency (latency.tsx:16:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
at workLoopSync (react-dom.development.js:22707:1)
codes.tsx:15 Uncaught TypeError: Cannot convert undefined or null to object
at Function.getOwnPropertyNames ()
at Codes (codes.tsx:15:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
errors.tsx:14 Uncaught TypeError: Cannot convert undefined or null to object
at Function.getOwnPropertyNames ()
at Errors (errors.tsx:14:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
phases.tsx:11 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at Phases (phases.tsx:11:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
at workLoopSync (react-dom.development.js:22707:1)
graph-latency.tsx:25 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
at graph-latency.tsx:25:1
at Array.forEach ()
at mapChartData (graph-latency.tsx:24:1)
at GraphLatency (graph-latency.tsx:85:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
graph-reqload.tsx:19 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
at graph-reqload.tsx:19:1
at Array.forEach ()
at mapChartData (graph-reqload.tsx:18:1)
at GraphReqLoad (graph-reqload.tsx:55:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
graph-codes.tsx:26 Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
at graph-codes.tsx:26:1
at Array.forEach ()
at mapChartData (graph-codes.tsx:25:1)
at GraphCodes (graph-codes.tsx:110:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
graph-totalcodes.tsx:65 Uncaught TypeError: Cannot convert undefined or null to object
at Function.getOwnPropertyNames ()
at GraphTotalCodes (graph-totalcodes.tsx:65:1)
at renderWithHooks (react-dom.development.js:14985:1)
at updateFunctionComponent (react-dom.development.js:17356:1)
at beginWork (react-dom.development.js:19063:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at beginWork$1 (react-dom.development.js:23964:1)
at performUnitOfWork (react-dom.development.js:22776:1)
react-dom.development.js:20085 The above error occurred in the
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:20085 The above error occurred in the component:
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:20085
react-dom.development.js:67 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
at ReportProvider (http://localhost:3000/static/js/bundle.js:3860:5)
at PageHome
at Routes (http://localhost:3000/static/js/bundle.js:68400:5)
at Routing
at div
at div
at div
at div
at Layout (http://localhost:3000/static/js/bundle.js:4541:5)
at ThemeProvider (http://localhost:3000/static/js/bundle.js:3994:5)
at Router (http://localhost:3000/static/js/bundle.js:68333:15)
at BrowserRouter (http://localhost:3000/static/js/bundle.js:67809:5)
at HostRouter
printWarning @ react-dom.development.js:67
react-dom.development.js:67 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
at LoaderPayload (http://localhost:3000/static/js/bundle.js:2421:68)
at ReportProvider (http://localhost:3000/static/js/bundle.js:3860:5)
at PageHome
at Routes (http://localhost:3000/static/js/bundle.js:68400:5)
at Routing
at div
at div
at div
at div
at Layout (http://localhost:3000/static/js/bundle.js:4541:5)
at ThemeProvider (http://localhost:3000/static/js/bundle.js:3994:5)
at Router (http://localhost:3000/static/js/bundle.js:68333:15)
at BrowserRouter (http://localhost:3000/static/js/bundle.js:67809:5)
at HostRouter
printWarning @ react-dom.development.js:67
`
The text was updated successfully, but these errors were encountered: