Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTERNAL VALIDATION ERROR on jquery.mobile-1.1.0.min.js #78

Open
GoogleCodeExporter opened this issue Mar 29, 2016 · 7 comments
Open

INTERNAL VALIDATION ERROR on jquery.mobile-1.1.0.min.js #78

GoogleCodeExporter opened this issue Mar 29, 2016 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.create new project phonegap with phonegap 1.6.1 and jquerymobile-1.1.0
2.target android 4.0.1, minimum android 2.3.3
3.finish

What is the expected output? What do you see instead?
Error on element:jquery.mobile-1.1.0.min.js
Location : line 0

MESSAGE ERROR:
"Internal validation error
java.lang.ArrayIndexOutOfBoundsException: 9
at org.eclipse.wst.jsdt.internal.compiler.ast.CaseStatement.resolveCase"

What version of the product are you using? On what operating system?
Eclipse Indigo Service Release 2 On Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Apr 2012 at 5:28

Attachments:

@GoogleCodeExporter
Copy link
Author

You're running into an Eclipse JSDT bug - 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=376809.

There are two options.
1. Use the JSDT I included with the 1.2.9 release that puts in a patch to avoid 
the failure. That means using Indigo Eclipse Classic or any other version that 
does not come with JSDT.
2. You can disable JavaScript validation on the jQuery.  Right click on project 
-> Properties -> JavaScript -> Include Path ->  -> Source -> Exclude -> Edit .

More details at 
http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap/
issues/detail?id=73

Original comment by [email protected] on 19 Apr 2012 at 6:01

@GoogleCodeExporter
Copy link
Author

Use the exclude string **/jquery.mobile/*

Original comment by [email protected] on 20 May 2012 at 5:26

@GoogleCodeExporter
Copy link
Author

Issue 79 has been merged into this issue.

Original comment by [email protected] on 20 May 2012 at 5:26

@GoogleCodeExporter
Copy link
Author

Issue 104 has been merged into this issue.

Original comment by [email protected] on 20 Jul 2013 at 3:04

@GoogleCodeExporter
Copy link
Author

thanks...saved my day figuring it out...

Original comment by [email protected] on 1 Oct 2013 at 12:14

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 29 Apr 2014 at 9:01

Attachments:

@GoogleCodeExporter
Copy link
Author

 All .js and .css files in the jQuery Mobile directory D:\eclipse-jee-juno-SR2-win32\jquery.mobile-1.4.2 must have the same version number of the form jquery.mobile-{version}.*


see the images while adding new jQuery Mobile source to phonegap project

Original comment by [email protected] on 29 Apr 2014 at 9:05

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant