Argument is neither class nor type?

In an app that is now too big to share here, I made some changes and now get this error message on making the connection to the ai2 companion: "Argument is neither Class nor Type." I get no indication as to where the problem may be, and would like to avoid having to go through the entire code and attempting trial and error. Any thoughts on why this error occurs, and if there is some way to localize it?
Thanks,
Arun

Could you please try and debug to find from where the issue is coming?
Live Development, Testing and Debugging (mit.edu)

thanks for that, Nishyanth. I am hoping that there is some way to localize the fault, e.g. in which function the error occurred. In the absence of that, I will have to read the entire code. App Inventor really fails when it comes to providing debugging information. Or is there some debugger that I can use?
arun

I was able to solve the problem by upgrading the companion. Sorry for this
warmly
arun

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.