Closed
Bug 419420
Opened 16 years ago
Closed 16 years ago
The javascript runtime errors....
Categories
(Rhino Graveyard :: Compiler, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: ravi_kunduri, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GIS IE 6.0 Build 20060616; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727) Build Identifier: Rhino V.1.5 R3 var temp = new String(APPL._user1); var temp3 = temp.split('^'); APPL.job = temp3[0]; APPL.run_date = temp3[1]; var cycle = temp3[2]; APPL.orgCycle = cycle; hi, when i run this javascript if (cycle != null){ // may need to normalize cycle num1 = Number(cycle); if (num1 > 0) {num1 = num1 -1;} if (isNaN(cycle)) cycle = cycle.toUpperCase(); else { // must be numeric need to convert to alpha letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456"; //cycle = letters.substr(num1,1); } } we get the following stacktrace org.mozilla.javascript.EvaluatorException: The undefined value has no properties. at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source) at org.mozilla.javascript.Context.reportRuntimeError(Unknown Source) at org.mozilla.javascript.Context.reportRuntimeError(Unknown Source) at org.mozilla.javascript.Context.reportRuntimeError0(Unknown Source) at org.mozilla.javascript.Undefined.reportError(Unknown Source) at org.mozilla.javascript.Undefined.getIds(Unknown Source) Reproducible: Always Steps to Reproduce: 1. 2. 3.
hi, I wanted to know whether this problem is a known bug,if so can you please let me know the way out.(apart from upgrading). or else only upgrading is the only way...
thank you for updating me. But what i am looking for is whether this bug is still pertaining in Rhino 1.5v R3 or not. I cannot upgrade,but wanted to confirm whether this type of Evaluator exceptions are present with this release or not.
hi any updates on this issue? Please let me know the details since it is effecting my performance a bit.
Comment 5•16 years ago
|
||
These exceptions are normal for reporting errors in the script. I cannot reproduce your example as it is incomplete (e.g. "APPL" top-level variable).
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•