Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [atf-dev] An issue with JSLint validator: org.mozilla.javascript.Undefined cannot be cast to java.lang.Double


Mastrella

Are you using the patched version of JSLint pointed to from the download page (http://prdownloads.sourceforge.net/atf-additions/fulljslint-2007-05-20-patched.js)? ATF is running JSLint using Mozilla Rhino, and we are finding that Rhino is not handling certain _javascript_ syntax correctly. Rhino is unable to run the latest versions of JSlint from www.JSLint.com.

The long range plans are to replace JSLint validation. It is also not required to have JSLint configured to use ATF. If you clear the location of JSLint from the preference page, ATF will disable the JSLint validator. The JSLint validator looks for a variety of coding structures that are considered to be bad practice in _javascript_. Checking for illegal _javascript_ syntax is done by a different validator, so syntax validation is done independently of whether JSLint is configured. All other functionality of ATF will work without having JSLint configured.

   Thanks
     Bob

Robert Goodman
goodmanr@xxxxxxxxxx



"MASTRELLA STEFANO" <smastrella@xxxxxxxx>
Sent by: atf-dev-bounces@xxxxxxxxxxx

07/03/2007 03:27 AM

Please respond to
AJAX Toolkit Framework discussion <atf-dev@xxxxxxxxxxx>

To
<atf-dev@xxxxxxxxxxx>
cc
Subject
[atf-dev] An issue with JSLint validator:        org.mozilla._javascript_.Undefined cannot be cast to java.lang.Double





I've installed ATF 0.2.2.v200706071000 on an Eclipse 3.3 and configured
JSLint validator as explained in
http://www.eclipse.org/atf/downloads/index_build.php?plat=all&buildID=0.
2.1-v200704051500&XULPlugin=true but anytime the validation starts I
obtain an error like this

org.mozilla._javascript_.Undefined cannot be cast to java.lang.Double

What's the matter? Is it a bug or I've missed something in my
installation?
_______________________________________________
atf-dev mailing list
atf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/atf-dev


Back to the top