Quantcast
Channel: Javascript .NET
Viewing all articles
Browse latest Browse all 137

Commented Issue: An unhandled exception of type 'System.StackOverflowException' occurred in Noesis.Javascript.dll [11487]

$
0
0
I got this error when compile my project, could you please give me some advises?
I have attached my JS file, and my codes are very simple as bellow:

using (JavascriptContext context = new JavascriptContext())
{
context.SetParameter("window", new SystemConsole());

string spath = @"D:\Workshop\Noesis.Javascript v0.7 - Binaries\Sample\WindowsFormsApplication1\WindowsFormsApplication1\JS\sjcl.rsa.core.js";
sJs = System.IO.File.ReadAllText(spath);
context.Run(sJs);
}
Comments: ** Comment from web user: Viamo **

This code also throw System.StackOverflowException
```
Object.prototype.Set = function(){};
```

And this
```
var a = {};
var b = {};
a.b = b;
b.a = a;
```

And this
```
var a = {};
a.a = a;
```


Viewing all articles
Browse latest Browse all 137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>