Glimpse / Home

Project Glimpse: Node Edition - Spend less time debugging and more time developing.
http://node.getglimpse.com
Other
252 stars 9 forks source link

[ClientHttp] Error when selecting Web Services tab with large data sets #1

Closed philliphoff closed 7 years ago

philliphoff commented 8 years ago

The Glimpse Client shows error when selecting Web Services tab:

TypeError: Cannot read property 'duration' of undefined
eval
/Users/avanderhoorn/Projects/Glimpse.Client.Strawman/src/client/routes/requests/details/service/ServiceView.tsx
Array.forEach
(native)
ServiceTab.getMinMaxTime
webpack:///./src/client/routes/requests/details/service/ServiceView.tsx?:414:23
ServiceTab.getHeaderText
webpack:///./src/client/routes/requests/details/service/ServiceView.tsx?:301:39
ServiceTab.renderMaster
webpack:///./src/client/routes/requests/details/service/ServiceView.tsx?:109:26
ServiceTab.render
webpack:///./src/client/routes/requests/details/service/ServiceView.tsx?:94:22
ServiceTab.tryRender
webpack:///./~/react-transform-catch-errors/lib/index.js?:34:31
ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext
webpack:///./~/react/lib/ReactCompositeComponent.js?:785:34
ReactCompositeComponentWrapper._renderValidatedComponent
webpack:///./~/react/lib/ReactCompositeComponent.js?:811:32
ReactCompositeComponentWrapper.performInitialMount
webpack:///./~/react/lib/ReactCompositeComponent.js?:353:30

This application makes a large number of web service calls. The Debug tab appears to show the responses containing a duration property.

avanderhoorn commented 8 years ago

@philliphoff what counts as a large data set? I did some request with 20+ http client requests and had no issue.

philliphoff commented 8 years ago

It was several dozen requests (as it used the GitHub API to request stats about pending PRs across a number of repos). Perhaps it was just coincidence, but at the time I believe we only saw that issue on requests which made the many service requests vs. fewer.

avanderhoorn commented 8 years ago

No worries. Flipping to product review before calling this one closed for the time being.

davidkpiano commented 7 years ago

No errors found with large number of web service calls:

screen shot 2017-05-03 at 2 19 24 pm