This project is read-only.


Unhandled exception in CreateFunctionTemplate<t>(classname)


I am trying to create a function template from the overloaded version of createfunctiontemplate. The code that i have is

SamplePointFunctionTemplate funcTemplate = v8engine.CreateFunctionTemplate<SamplePointFunctionTemplate>("SamplePoint"); // An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll is throw at this line

the class code is as follows,

public class SamplePointFunctionTemplate : FunctionTemplate
public SamplePointFunctionTemplate () {}

protected override void OnInitialized()


jamesnw wrote Nov 15, 2013 at 11:24 PM

Hi, I found a bug, fixing it now ... :)

jamesnw wrote Nov 16, 2013 at 11:14 PM

Ok, it's fixed, and I uploaded the changes to the dev branch (release binaries). Let me know how it goes. :)

karthipt wrote Nov 18, 2013 at 6:10 AM


thanks for the fix! It went well and works as expected :-)

Karthikeyan Karuppanan