error in ej.function.js

tdaeik's icon

js: error calling function onidle
js: ej.function.js: Javascript TypeError: f has no properties, line 3203

i'm just opening the ej.function.maxhelp and mousing over the jsui.
this is just the one used from the ejies_2.0 download from emmanuel jourdan's website.
has anyone any ideas?
cheers,,

Emmanuel Jourdan's icon

I can't reproduce that. Can you post the steps? Just opening the help file and moving the mouse over ej.function's is not sufficient.

Thanks.

tdaeik's icon

ok i think the errors make the post too long as i can't post them, sorry

tdaeik's icon

hi emmanuel,
unfortunately opening the patch and hovering my mouse over the jsui are the only steps i took.
the ej.function.maxhelp is located in /applications/max 5/patches/ejies_2.0/ejies-help
when i open it up for the first time via the file menu item i get a whole bunch of errors (detailed below as there's many). after its open and i move my mouse cursor over the jsui (the one with scripting name ej.function) i get the afore mentioned error. my system is os x 10.4.11 max 5.1.0 (41208). cheers,,

tdaeik's icon

js: ej.function.js: Javascript TypeError: f has no properties, line 2162
js: error calling function SetColor

js: ej.function.js: Javascript TypeError: SketchFunctions has no properties, line 663
js: error calling function fsaa
js: ej.function.js: Javascript TypeError: slowDrawingAll has no properties, line 442
js: error calling function redrawon
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function notifyrecalled
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clickadd
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function autocursor
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function grid
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function numcurvepoints
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function movemode
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clicksustain
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function ghost
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function nbfunction
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function hiddenpoint
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function timedisplay
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function mousereport
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function legend
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function mode
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clickmove
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function bordersync
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function snap2grid
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function autosustain
js: ej.function.js: Javascript ReferenceError: EjiesUtils is not defined, line 14
js: ej.function.js: Javascript TypeError: f has no properties, line 409
js: error calling function CreateNFunctions
js: ej.function.js: Javascript TypeError: f has no properties, line 2162
js: error calling function SetColor

tdaeik's icon

js: ej.function.js: Javascript TypeError: SketchFunctions has no properties, line 663
js: error calling function fsaa
js: ej.function.js: Javascript TypeError: slowDrawingAll has no properties, line 442
js: error calling function redrawon
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function notifyrecalled
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clickadd
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function autocursor
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function grid
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function numcurvepoints
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function movemode
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clicksustain
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function ghost
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function nbfunction
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function hiddenpoint
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function timedisplay
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function mousereport
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function legend
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function mode
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function clickmove
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function bordersync
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function snap2grid
js: ej.function.js: Javascript TypeError: f has no properties, line 704
js: error calling function autosustain
jsui: jpatchline_new: index out of range
jpatchline_plugin: box missing outlet number 2
js: ej.function.js: Javascript ReferenceError: EjiesUtils is not defined, line 14
js: ej.function.js: Javascript TypeError: f has no properties, line 409
js: error calling function CreateNFunctions
js: ej.function.js: Javascript TypeError: f has no properties, line 2162
js: error calling function SetColor

tdaeik's icon

so basically it's those errors over and over again

Emmanuel Jourdan's icon

make sure you don't have an old version of ej.function. The one included in 2.0 (not the beta version) works fine as far as I can tell (tested on 3 different machine using 5.1.1).

Emmanuel Jourdan's icon

Another thing that you might want to check is that the ejies-jsextensions.js file is present in the C74:/jsextensions folder.

tdaeik's icon

[quote="Emmanuel Jourdan"]Another thing that you might want to check is that the ejies-jsextensions.js file is present in the C74:/jsextensions folder.[/quote]

that was it, cheers,,

Emmanuel Jourdan's icon

Awesome. Thanks for confirming.

sousastep's icon

I'm getting a similar error while mousing over ej.function.js with ejies 3.2.5 / max 8.5.3 / mac 13.2

/Users/jbaylies/Documents/Max\ 8/Packages/ejies/jsextensions/ejies-jsextensions.js exists

jsui: ej.function.js: Javascript TypeError: f is undefined, line 3313
jsui: error calling function onidle [ej.function.js]

edit: the answer was to install java: https://cycling74.s3.amazonaws.com/support/java_install.html