Page 1 of 1

jquery 1.4.1 fails to be added as library

Posted: Mon Mar 01, 2010 8:28 pm
by chrismarx
Hi,
I'm using the eclipse plugin, win32, I added the latest jquery file to the library profile, and the I get:

An internal error occurred during: "Loading Context".
!STACK 0
java.lang.NullPointerException
at com.spket.js.profile.JQueryVisitor.visit(Unknown Source)
at com.spket.as.internal.compiler.ast.InvokeExpression.traverse(Unknown Source)
at com.spket.js.profile.JSVisitor.visit(Unknown Source)
at com.spket.as.internal.compiler.ast.ExpressionStatement.traverse(Unknown Source)
at com.spket.js.profile.JSVisitor.visit(Unknown Source)
at com.spket.js.profile.JQueryVisitor.visit(Unknown Source)
at com.spket.as.internal.compiler.ast.InvokeExpression.traverse(Unknown Source)
at com.spket.js.profile.JSVisitor.visit(Unknown Source)
at com.spket.as.internal.compiler.ast.ExpressionStatement.traverse(Unknown Source)
at com.spket.as.internal.compiler.ast.CompilationUnitDeclaration.traverse(Unknown Source)
at com.spket.js.profile.JSVisitor.parse(Unknown Source)
at com.spket.js.profile.JSVisitor.visit(Unknown Source)
at com.spket.js.profile.ProfileLoader.load(Unknown Source)
at com.spket.js.profile.ProfileLoader.load(Unknown Source)
at com.spket.js.profile.ProfileContext.loadClasses(Unknown Source)
at com.spket.js.model.Context$2.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

is this a problem only with the latest release?

Posted: Tue Mar 02, 2010 6:55 am
by eric_suen
Thanks for report this bugs, try to download file http://www.agpad.com/downloads/com.spket.js_1.6.18.jar and replace the old one.

Posted: Tue Mar 02, 2010 2:26 pm
by chrismarx
hi, i'm using spket as an eclipse plugin, where would this jar go?

Posted: Tue Mar 02, 2010 3:57 pm
by eric_suen
The plugins folder.

Posted: Wed Mar 03, 2010 3:20 pm
by chrismarx
thanks, that worked great!