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 property 'timestamp' of undefined #1776

Closed
lhsm opened this issue Nov 3, 2017 · 5 comments
Closed

Cannot read property 'timestamp' of undefined #1776

lhsm opened this issue Nov 3, 2017 · 5 comments
Labels

Comments

@lhsm
Copy link

lhsm commented Nov 3, 2017

Hi.
Zipkin UI starts with error
error_handler.js?934c:54 EXCEPTION: Cannot read property 'timestamp' of undefined ErrorHandler.handleError @ error_handler.js?934c:54 error_handler.js?934c:59 ORIGINAL STACKTRACE: ErrorHandler.handleError @ error_handler.js?934c:59 error_handler.js?934c:60 TypeError: Cannot read property 'timestamp' of undefined at eval (webpack-internal:///165:117:70) at Array.sort (native) at Array.sort (webpack-internal:///875:21:15) at Trace.sortTrace (webpack-internal:///165:117:23) at eval (webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at Trace.sortTrace (webpack-internal:///165:119:27) at eval (webpack-internal:///165:120:23) at Array.forEach (<anonymous>) at Trace.sortTrace (webpack-internal:///165:119:27) at Trace.getSortedSpans (webpack-internal:///165:80:14) at new Trace (webpack-internal:///165:55:32) at eval (webpack-internal:///165:157:65) at Array.map (<anonymous>)
If i understand correctly expected structure of traces (response of api/v1/traces) is ..{"traceId": "trace", ..., "**annotations**"} .. - annotations is mandatory.
But in my case trace looks like [ [ { "traceId": "fca49abacae88255", "id": "fca49abacae88255", "name": "", "timestamp": 1509704101447000, "duration": 55875, "annotations": [ { "timestamp": 1509704101502875, "value": "ss", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } } ] }, { "traceId": "fca49abacae88255", "id": "8382a3fc6365f507", "name": "", "parentId": "fca49abacae88255", "timestamp": 1509704101455000, "duration": 22310, "binaryAnnotations": [ { "key": "OUTPUT_MESSAGE", "value": "", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } }, { "key": "lc", "value": "unknown", "endpoint": { "serviceName": "", "ipv4": "", "port": 8080 } } ] } ] ]
"Traditional" ui works fine with that trace

@codefromthecrypt
Copy link
Member

codefromthecrypt commented Nov 4, 2017 via email

@asyd
Copy link

asyd commented Nov 13, 2017

Same issue here with the latest version of openzipkin/zipkin-ui docker image

@codefromthecrypt
Copy link
Member

codefromthecrypt commented Nov 14, 2017 via email

@codefromthecrypt
Copy link
Member

oh you are referring to https://github.com/openzipkin/zipkin-ui

someone can fix the bug, but the project is likely to be canceled because no one has been maintaining it.. see also #1577 and openzipkin-attic/docker-zipkin#160

At any rate, this issue should be moved to https://github.com/openzipkin/zipkin-ui

@lhsm
Copy link
Author

lhsm commented Nov 14, 2017

Sorry, i mixed up the target project. Create one openzipkin-attic/zipkin-ui#42 just in case
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants