etay
Posts: 3
Joined: Thu Dec 22, 2022 3:20 pm

Unknown uncaught error - can't repreduce or find root cause

Hi guys,
We are using the Gantt, and sometimes, we get this error:
"TypeError -Cannot read properties of undefined (reading 'end')"

According our bug tracking tool, it happes here:
{snip} z[0].start.y]);for(var R=0;R<z.length;++R)K.push(["L",z[R].end.x,z[R].end.y])}return K}function de(z,K){z.yMin=te(z.yMin,K.yMin),z.yMax=ye(z {snip}

However, it's really random, and not sure what is the user action/input that causes everything to break.

Anyone got any idea?

Thanks!
jedrzej.r
Posts: 700
Joined: Tue Jan 24, 2023 11:21 am

Re: Unknown uncaught error - can't repreduce or find root cause

Hello,

Thanks for contacting us with your problem!

Based on this code snippet I'm not able to determine what action is causing the error. If you could provide a demo with your solution, e.g. in jsFiddle, than it'll be easier for me to precisely identify error cause.

Best regards!
Jędrzej Ruta
Highcharts Developer

Return to “Highcharts Gantt”