Error message "method call called on invalid object"

Ullstein's icon

When starting a standalone app that I just built, I get this message "method call called on invalid object" Can anyone tell me what this means?
Thanks

Source Audio's icon

it means nothing …
missing database or node.js
recent max versions seem to try to talk
to such things even if one removes any trace
of it
I remove max console from my standalones
and ignore such messages, if you need max console, you can wipe it on app load

Ullstein's icon

Hi, thanks for the info. And how do you remove max console from the standalones, it annoys me for years and I cannot find where to turn it off,can you give me a hint, many thanks...

Source Audio's icon

post your os and max version

Ullstein's icon

OS 13.2.1 resp 13.3.1
Max 8.5.3

Thanks

Source Audio's icon

ok, I will post the file to be replaced tomorrow.
maxinterfaces.json file is a bit diffrent in max 8.5.x
from older versions.

Ullstein's icon

thanks, very friendly

all the best

Hans Peter

Source Audio's icon

here is maxinterface.json file from Max854 mac version.
( it is exactly same as 853)
it has only max console and help menu removed.
in fact, from what I can see,
if you do not use any custom menus, and enable overdrive
using max message or standalone inspector,
you can delete it completely from standalone.
in previous max versions one had to keep color settings in it.
now that is no more part of that file.

maxinterface.json854Mac.zip
application/zip 15.44 KB

if you need it for older max8 versions :
this one works for all pre 8.5 mac and win versions, everything removed ...

maxinterface.json8MacWin.zip
application/zip 5.08 KB

this files are ONLY for standalone
I compared 854 mac-win file and there are some differences,
I had no time to look into it

If you need any further help, just post, or if you want more stuff removed


Ullstein's icon

Hi,
I replaced the maxinterface.json in my standalone with yours but Max console is still there, now with this error message
jmenu: maxwindow: reference to undefined command or submenu

then I activated overdrive and deactivated Status window when opening the app
Now the max console disappeared

Thanks