If you see this error in JavaScript (for example in a BIRT report):
org.mozilla.javascript.EvaluatorException: error instantiating (): class java.sql.Array is interface or abstract
then don’t include the package java.sql
(as in importPackage(Packages.java.sql);
) because if you do, new Array()
will find the SQL class first and it will fail.
[…] Error creating array in JavaScript « Dark Views […]
This looks a lot like spam
Be careful when you follow this link.