Closed
Bug 1074657
Opened 10 years ago
Closed 10 years ago
Error: $log is not a function and Error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Categories
(Tree Management :: Treeherder, defect, P1)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cbook, Assigned: jeads)
References
Details
Was trying to do tree sheriff duty when treeherder told me that classification failed with GET https://treeherder.mozilla.org/api/project/mozilla-inbound/note/ [0ms] GET https://treeherder.mozilla.org/api/project/mozilla-inbound/bug-job-map/ [0ms] GET https://treeherder.mozilla.org/ui/#/jobs [HTTP/1.1 304 Not Modified 1375ms] "Error: $log is not a function saveClassification/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:23824 $http/promise.error/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:1637 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7 "Error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data fromJson@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:5:4648 resultSetResponseTransformer@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:26569 transformData@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:30036 transformResponse@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:31241 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7 "Error: $log is not a function saveClassification/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:23824 $http/promise.error/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:1637 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7 "Error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data fromJson@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:5:4648 resultSetResponseTransformer@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:26569 transformData@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:30036 transformResponse@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:31241 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7 "Error: $log is not a function saveClassification/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:23824 $http/promise.error/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:1637 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7 "Error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data fromJson@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:5:4648 resultSetResponseTransformer@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:26569 transformData@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:30036 transformResponse@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:31241 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 "Error: $log is not a function saveClassification/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:23824 $http/promise.error/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:1637 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 " "Error: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data fromJson@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:5:4648 resultSetResponseTransformer@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:16:26569 transformData@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:30036 transformResponse@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:6:31241 qFactory/defer/deferred.promise.then/wrappedErrback@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:26621 qFactory/createInternalRejectedPromise/<.then/<@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:28153 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4393 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:2247 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:8:4818 done@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:2339 completeRequest@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:6224 createHttpBackend/</xhr.onreadystatechange@https://treeherder.mozilla.org/ui/js/index.min-9ff94a6e8cf266d8643e48130fee89d1.js:7:7168 "
Reporter | ||
Comment 1•10 years ago
|
||
Steps to reproduce: -> Have a bustage like https://treeherder.mozilla.org/ui/#/jobs?repo=mozilla-inbound&revision=9dc808ef69a4 and a backout like https://treeherder.mozilla.org/ui/#/jobs?repo=mozilla-inbound&revision=028a7ba5a4ce now i star/classify the failed/red builds with "fixed by commit" and enter 028a7ba5a4ce as cset -> Error message like above but classification is made in treeherder
Updated•10 years ago
|
Comment 2•10 years ago
|
||
I'm getting this with "intermittent-failure" classifications too.
Comment 3•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-ui https://github.com/mozilla/treeherder-ui/commit/6dc27e4fee5ce61f316cab5bf61fb1a8d816834f Bug 1074657 - Changed to .debug()
Updated•10 years ago
|
Assignee: nobody → jeads
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 4•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/766f8d3b177d26fcc44158dcc379e7d9a2ab67b2 Bug 1074657 - Changed to .debug()
You need to log in
before you can comment on or make changes to this bug.
Description
•