Score Board loading stuck from null pointer error
bkimminich opened this issue · 0 comments
bkimminich commented
- Launch MultiJuicer v3.3.0
- Create a new instance
- Visit the
/#/score-board
page of that instance - Loading animation is shown endlessly which the console spills out
vendor-es2015.js:1 ERROR TypeError: Cannot read property 'showFlagsInNotifications' of null
at h._next (main-es2015.js:formatted:7467)
at h.__tryOrUnsub (vendor-es2015.js:1)
at h.next (vendor-es2015.js:1)
at c._next (vendor-es2015.js:1)
at c.next (vendor-es2015.js:1)
at a._next (vendor-es2015.js:1)
at a.next (vendor-es2015.js:1)
at a._next (vendor-es2015.js:1)
at a.next (vendor-es2015.js:1)
at a._next (vendor-es2015.js:1)
vn @ vendor-es2015.js:1
handleError @ vendor-es2015.js:1
next @ vendor-es2015.js:1
i @ vendor-es2015.js:1
__tryOrUnsub @ vendor-es2015.js:1
next @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
emit @ vendor-es2015.js:1
(anonymous) @ vendor-es2015.js:1
invoke @ polyfills-es2015.js:1
run @ polyfills-es2015.js:1
runOutsideAngular @ vendor-es2015.js:1
onHandleError @ vendor-es2015.js:1
handleError @ polyfills-es2015.js:1
runTask @ polyfills-es2015.js:1
invokeTask @ polyfills-es2015.js:1
invoke @ polyfills-es2015.js:1
n.args.<computed> @ polyfills-es2015.js:1
setTimeout (async)
a @ polyfills-es2015.js:1
scheduleTask @ polyfills-es2015.js:1
onScheduleTask @ polyfills-es2015.js:1
scheduleTask @ polyfills-es2015.js:1
scheduleTask @ polyfills-es2015.js:1
scheduleMacroTask @ polyfills-es2015.js:1
u @ polyfills-es2015.js:1
(anonymous) @ polyfills-es2015.js:1
i.<computed> @ polyfills-es2015.js:1
i @ vendor-es2015.js:1
__tryOrUnsub @ vendor-es2015.js:1
next @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
notifyNext @ vendor-es2015.js:1
_next @ vendor-es2015.js:1
next @ vendor-es2015.js:1
a @ vendor-es2015.js:1
invokeTask @ polyfills-es2015.js:1
onInvokeTask @ vendor-es2015.js:1
invokeTask @ polyfills-es2015.js:1
runTask @ polyfills-es2015.js:1
invokeTask @ polyfills-es2015.js:1
f @ polyfills-es2015.js:1
p @ polyfills-es2015.js:1
This is the line where the null pointer happens in Juice Shop:
this.allowRepeatNotifications = t.challenges.showSolvedNotifications && t.ctf.showFlagsInNotifications
I think this might happen due to the way the values.yaml
overwrites the configuration by default: The ctf
property is probably null
after this config is applied, overwriting the default settings of Juice Shop itself. The fix is probably to just also comment out the line with ctf:
because then I'd expect the Juice Shop's own defaults to load.
I'll send a PR with that change, but I can't really test it due to Kubernetes incompetence... :-D