Skip to main content

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

Dear Robert,

I've installed the patched one, downloaded from sourceforge, but now I've found something new in the issue. The alert with the text "org.mozilla.javascript.Undefined cannot be cast to java.lang.Double" came out when the JSLint Validator tries to validate a script within an html or in a jsp, but everything works fine when it tries to validate a normal JavaScript module (.js).

I don't know if this is a normal behaviour.

Thanks
Stefano

________________________________________
Da: atf-dev-bounces@xxxxxxxxxxx [mailto:atf-dev-bounces@xxxxxxxxxxx] Per conto di Robert Goodman
Inviato: martedì 3 luglio 2007 17.49
A: AJAX Toolkit Framework discussion
Oggetto: 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