You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError [ERR_INVALID_ARG_TYPE]: The \"data\" argument must be one of type string, TypedArray, or DataView. Received type object
at Hash.update (internal/crypto/hash.js:58:11)
at Object.hashIdAttr (~/my-amazing-project/node_modules/bull-arena/src/server/views/helpers/handlebars.js:44:40)
at eval (eval at createFunctionContext (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:257:23), <anonymous>:8:78)
at prog (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/runtime.js:221:12)
at execIteration (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js:51:19)
at Object.<anonymous> (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js:61:13)
at Object.eval [as main] (eval at createFunctionContext (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:257:23), <anonymous>:86:31)
at main (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/runtime.js:175:32)
at ret (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/runtime.js:178:12)
at ret (~/my-amazing-project/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:526:21)
at ExpressHandlebars._renderTemplate (~/my-amazing-project/node_modules/express-handlebars/lib/express-handlebars.js:250:12)
at ExpressHandlebars.<anonymous> (~/my-amazing-project/node_modules/express-handlebars/lib/express-handlebars.js:173:21)
at process._tickCallback (internal/process/next_tick.js:68:7)
Does someone know how to fix this ?
It's really annoying and blocking because I can't restart failed jobs through UI
The text was updated successfully, but these errors were encountered:
Hi there! This looks like the hashIdAttr handlebars helper isn't super happy with what's being passed in, however, it's a bit interesting how it's being surfaced.
Can you provide the following information to help us debug:
Are you using Bull or Bee-queue?
Which version of the above?
Which version of Arena are you on?
Can you provide the structure of the job data that that jobs has (i.e. the key names and field types, please redact sensitive information as needed)?
I'am using bull ^3.10.0 and bull-arena ^2.6.3, the job data is simple, a single string field uid.
After investigation, when I retrieve failed jobs, I got some that are equals to null.
So, obviously, when browsing failed jobs through arena, it crashes.
Does someone know how to fix this ?
It's really annoying and blocking because I can't restart failed jobs through UI
The text was updated successfully, but these errors were encountered: