-
Notifications
You must be signed in to change notification settings - Fork 49
V8 config can be null #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
During installation of |
True, but it should still handle the case of the config being null (eg. If Sent from my mobile.
|
If config being null, then will not work a |
True - However you can still create a V8 engine through |
OK. In next release I will fix this error. |
1. In JavaScriptEngineSwitcher.Msie added support of MSIE JavaScript Engine version 1.5.3; 2. In JavaScriptEngineSwitcher.V8 fixed a bug #12 “V8 config can be null”; 3. In JavaScriptEngineSwitcher.Jint added support of Jint version of April 30, 2015.
In the JavaScriptEngineSwitcher.V8 version 1.2.6 was fixed this error. |
GetV8Configuration
returns the value ofConfigurationManager.GetSection("jsEngineSwitcher/v8")
. If this configuration section is not in theWeb.config
orApp.config
, this returnsnull
, resulting in a NullReferenceException in V8JsEngine's constructor:The text was updated successfully, but these errors were encountered: