Closed Bug 1074657 Opened 11 years ago Closed 11 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)

defect

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 "
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
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
I'm getting this with "intermittent-failure" classifications too.
Assignee: nobody → jeads
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.