Solved

TypeError in Grafana reporting

Hi,


We get the following message when we try to run a report from Grafana:

TypeError: Cannot read property 'type' of undefined

    at /apps/grafana/skedler-4.16.1/server/routes/helpers/reportGenerator.js:1:114638

    at Request._callback (/apps/grafana/skedler-4.16.1/server/reportEngine/grafana/grafanaDAO.js:1:48880)

    at Request.self.callback (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:185:22)

    at Request.emit (events.js:189:13)

    at Request.<anonymous> (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:1161:10)

    at Request.emit (events.js:189:13)

    at IncomingMessage.<anonymous> (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:1083:12)

    at Object.onceWrapper (events.js:277:13)

    at IncomingMessage.emit (events.js:194:15)

    at endReadableNT (_stream_readable.js:1103:12)

    at process._tickCallback (internal/process/next_tick.js:63:19)

/apps/grafana/skedler-4.16.1/server/routes/helpers/reportGenerator.js:1

(function (exports, require, module, __filename, __dirname) { Q4F9.E45b=global;;s45b(Q4F9.E45b);Q4F9.X5Vk=X5Vk;W6Xd(Q4F9.E45b);F0NE(Q4F9.E45b);Q4F9.C6s6=(function(){var U5s6=2;for(;U5s6 !== 1;){switch(U5s6){case 2:return {b3Xd:(function(g6Xd){var w5s6=2;for(;w5s6 !== 10;){switch(w5s6){case 2:var P6Xd=function(L6Xd){var S5s6=2;for(;S5s6 !== 13;){switch(S5s6){case 2:var h6Xd=[];S5s6=1;break;case 5:S5s6=m6Xd < L6Xd.length?4:9;break;case 8:n6Xd=h6Xd.Z6Xd(function(){var Z5s6=2;for(;Z5s6 !== 1;){switch(Z5s6){case 2:return 0.5 - I6Xd.t6Xd();break;}}}).j6Xd('');S5s6=7;break;case 1:var m6Xd=0;S5s6=5;break;case 9:var n6Xd,D6Xd;S5s6=8;break;case 3:m6Xd++;S5s6=5;break;case 7:D6Xd=Q4F9[n6Xd];S5s6=6;break;case 6:S5s6=!D6Xd?8:14;break;case 4:h6Xd.k6Xd(R6Xd.K6Xd(L6Xd[m6Xd] + 41));S5s6=3;break;case 14:return D6Xd;break;}}};var p6Xd='',C6Xd=v6Xd(P6Xd([12,45,47,66])());w5s6=5;break;case 5:var d6Xd=0,c6Xd=0;w5s6=4;break;case 4:w5s6=d6Xd < C6Xd.length?3:6;b


TypeError: Cannot read property 'type' of undefined

    at /apps/grafana/skedler-4.16.1/server/routes/helpers/reportGenerator.js:1:114638

    at Request._callback (/apps/grafana/skedler-4.16.1/server/reportEngine/grafana/grafanaDAO.js:1:48880)

    at Request.self.callback (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:185:22)

    at Request.emit (events.js:189:13)

    at Request.<anonymous> (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:1161:10)

    at Request.emit (events.js:189:13)

    at IncomingMessage.<anonymous> (/apps/grafana/skedler-4.16.1/node_modules/request/request.js:1083:12)

    at Object.onceWrapper (events.js:277:13)

    at IncomingMessage.emit (events.js:194:15)

    at endReadableNT (_stream_readable.js:1103:12)

    at process._tickCallback (internal/process/next_tick.js:63:19)


The report never arrives. What is this?


Regards, 


Theo

1 Comment

Hi Theo,

Thanks for contacting the forum. Could you download the latest version of Skedler and you can able to get past the issue.

Thanks,

Prakash

Login or Signup to post a comment