This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252029 - jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "a" is not defined
Summary: jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "a" is not defined
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-23 15:35 UTC by Martin Entlicher
Modified: 2015-04-29 02:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216937


Attachments
stacktrace (5.10 KB, text/plain)
2015-04-23 15:35 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-04-23 15:35:23 UTC
Build: NetBeans IDE Dev (Build 20150423-855d82a1ab66)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b12, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b12
OS: Linux

User Comments:
mentlicher: Trying to evaluate an undefined variable in Nashorn debugger.




Stacktrace: 
jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "a" is not defined
   at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
   at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:319)
   at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:291)
   at jdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:278)
   at jdk.nashorn.internal.runtime.ScriptObject.noSuchProperty(ScriptObject.java:2379)
   at jdk.nashorn.internal.runtime.ScriptObject.findGetMethod(ScriptObject.java:1989)
Comment 1 Martin Entlicher 2015-04-23 15:35:24 UTC
Created attachment 153332 [details]
stacktrace
Comment 2 Martin Entlicher 2015-04-27 17:03:18 UTC
Fixed by changeset:   287266:cf42ba2e1045
http://hg.netbeans.org/core-main/rev/cf42ba2e1045
Comment 3 Quality Engineering 2015-04-29 02:32:11 UTC
Integrated into 'main-silver', will be available in build *201504290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cf42ba2e1045
User: mentlicher@netbeans.org
Log: #252029: Do not report evaluation exception as IDE exception, report the exception message.