JQuery parse problem

Dec 3, 2009 at 2:21 AM
Edited Dec 3, 2009 at 8:24 AM

Hi

 

I'm using Jint to parse jquery. There throw Exception.

Could you help me? I use jQuery 1.2.6.

Here is link of javascript file http://www.mediafire.com/?nikya2zztkg.

 

Thanks for any help.

 

 

Coordinator
Dec 4, 2009 at 1:26 PM

We currently parse jquery correctly as of the latest version. Though I will check with the file you provided. Please note that we can't run jQuery currently as we don't have a browser environment on the server (for the moment)

Dec 11, 2009 at 2:31 AM
Edited Dec 11, 2009 at 2:36 AM

hi sebastienros,

Is there any new?

Here is detail of error.

Thanks,

Specified method is not supported.
   at ES3Parser.withStatement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 9048
   at ES3Parser.statementTail() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6886
   at ES3Parser.statement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6683
   at ES3Parser.ifStatement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 7584
   at ES3Parser.statementTail() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6816
   at ES3Parser.statement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6683
   at ES3Parser.sourceElement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10478
   at ES3Parser.functionBody() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10284
   at ES3Parser.functionExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10059
   at ES3Parser.memberExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2507
   at ES3Parser.leftHandSideExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2800
   at ES3Parser.postfixExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2947
   at ES3Parser.unaryExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3152
   at ES3Parser.multiplicativeExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3481
   at ES3Parser.additiveExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3649
   at ES3Parser.shiftExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3801
   at ES3Parser.relationalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3977
   at ES3Parser.equalityExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4403
   at ES3Parser.bitwiseANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4770
   at ES3Parser.bitwiseXORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4976
   at ES3Parser.bitwiseORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5182
   at ES3Parser.logicalANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5388
   at ES3Parser.logicalORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5594
   at ES3Parser.conditionalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5804
   at ES3Parser.assignmentExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6010
   at ES3Parser.assignmentExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6044
   at ES3Parser.expression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6291
   at ES3Parser.expressionStatement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 7486
   at ES3Parser.statementTail() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6802
   at ES3Parser.statement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6683
   at ES3Parser.sourceElement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10478
   at ES3Parser.functionBody() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10284
   at ES3Parser.functionExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10059
   at ES3Parser.memberExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2507
   at ES3Parser.leftHandSideExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2800
   at ES3Parser.postfixExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2947
   at ES3Parser.unaryExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3152
   at ES3Parser.multiplicativeExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3481
   at ES3Parser.additiveExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3649
   at ES3Parser.shiftExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3801
   at ES3Parser.relationalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3977
   at ES3Parser.equalityExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4403
   at ES3Parser.bitwiseANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4770
   at ES3Parser.bitwiseXORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4976
   at ES3Parser.bitwiseORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5182
   at ES3Parser.logicalANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5388
   at ES3Parser.logicalORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5594
   at ES3Parser.conditionalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5804
   at ES3Parser.assignmentExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6010
   at ES3Parser.expression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6291
   at ES3Parser.primaryExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 1802
   at ES3Parser.memberExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2493
   at ES3Parser.leftHandSideExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2800
   at ES3Parser.postfixExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 2947
   at ES3Parser.unaryExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3152
   at ES3Parser.multiplicativeExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3481
   at ES3Parser.additiveExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3649
   at ES3Parser.shiftExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3801
   at ES3Parser.relationalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 3977
   at ES3Parser.equalityExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4403
   at ES3Parser.bitwiseANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4770
   at ES3Parser.bitwiseXORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 4976
   at ES3Parser.bitwiseORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5182
   at ES3Parser.logicalANDExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5388
   at ES3Parser.logicalORExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5594
   at ES3Parser.conditionalExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 5804
   at ES3Parser.assignmentExpression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6010
   at ES3Parser.expression() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6291
   at ES3Parser.expressionStatement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 7486
   at ES3Parser.statementTail() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6802
   at ES3Parser.statement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 6683
   at ES3Parser.sourceElement() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10478
   at ES3Parser.program() in C:\Users\tuan.pham\Desktop\jint\Jint\Parser\ES3Parser.cs:line 10380
   at Jint.JintEngine.Compile(String source) in C:\Users\tuan.pham\Desktop\jint\Jint\JintEngine.cs:line 83

Coordinator
Dec 14, 2009 at 1:34 PM

We are now able to parse jQuery 1.2.6, even minified. This is only available from the host SVN server, not yet released.

FWI: https://svn.evaluant.com:8443/svn/jint

l/p: svnuser/svnuser

Jul 20, 2010 at 8:03 AM

Hello,

I am having some problems parsing JQuery (tried 1.2.6 1.31 and 1.4.3 all not minified).  I get error messages like ..

Object expected: toLowerCase Line: 1221 Char: 0 No source code available

does anyone have any idea what I am missing? Do I need to create my own toLowerCase function?

Thanks!

Doug

 

Apr 26, 2011 at 6:20 PM

Hello,

I was wondering if there was a work around to this problem? 

I am also experiencing this error when trying to run jQuery 1.4.2 (minified)

JintException: Method isn't defined: toLowerCase

I am using the jint-0.9.0-binary version.