Generate Report Uncaught TypeError

Hello,

I made some dynamic components and tried to generate a report in Sketchup. After creating and formatting a new template, I ran report. But this error pops up. anyone know what this is and how to solve it?

ERROR: Uncaught TypeError: Cannot read property ‘toString’ of null @ /compiled.js[155]

without the file, believe that one of the DCs attributes has not been filled, might be 0, but the option value has not be initiated with a 0 or a value

1 Like

You’re right. How did you find out? Would you please teach me how to read that error message?

“null” is a key, that is empty.
I know from experience that uninitiated attributes return an error, I have been caught a few times with the zero, if another attribute references it, that attribute becomes #red
So when this is passed to the web page based Generate Report, the attribute can not be read. Hence an error.

2 Likes

Thank you for your help.