I’ve made a series of changes to a .js file in a project, and suddenly the project is generating gazillions (to be exact: 2988) error messages stating "jsobject: bad number". The Max Window Object column is blank for these messages, there’s just the text in the Message column.
It’s not the .js file I’ve been working on that’s generating the error messages — I can drop it into an archived copy of my project and all is well. But the project has a dozen-and-a-half .js files, some of which are triggered by plain-vanilla Max objects that are triggered by the .js in question.
And, yes, I do know what "bad number" means, but I don’t see any bad numbers anywhere. Just lots of good numbers.-|
It’s a big project (>100 individual files), so not so easy to strip down to a single patch that demonstrates the issue.
did you found the source of your issue? This is just to share information – and maybe others will have the issue in the future: I ran into the same error message. In my case it was related to getvalueof() and the related [pattr] object. pattr couldn’t handle when the return value of getvalueof() was null (in the meaning of undefined, not zero).