javascript - How to fix 'Cannot read property "1.0" from null' jQuery problem? -


i use rhino 1.7r2 run javascript code outside of browser test it. works fine tested code uses jquery error message:

org.mozilla.javascript.ecmaerror: typeerror: cannot read property "1.0" null (jquery.js#6313)     @ org.mozilla.javascript.scriptruntime.constructerror(scriptruntime.java:3557)     @ org.mozilla.javascript.scriptruntime.constructerror(scriptruntime.java:3535)     @ org.mozilla.javascript.scriptruntime.typeerror(scriptruntime.java:3563)     @ org.mozilla.javascript.scriptruntime.typeerror2(scriptruntime.java:3582)     @ org.mozilla.javascript.scriptruntime.undefreaderror(scriptruntime.java:3595)     @ org.mozilla.javascript.scriptruntime.getobjectelem(scriptruntime.java:1343)     @ org.mozilla.javascript.gen.c30._c1(jquery.js:6313) 

at line 6313 of jquery.js don't see code cause such error message:

6313   jquery.extend({ 

anyone knows on object jquery tries access property named "1.0"? need mock object not able find out jquery tries here.

be sure have jquery file included.


Comments