Posted by
Billy Ng-5 on
URL: http://quantlib.414.s1.nabble.com/Asian-arithmetic-average-strike-option-tp7965p7973.html
Attached is the Java code.
Another question in Debugging SWIG-Java under JNI
I build both the Release and Debug QuantLib.lib QuantLibJNI.lib and dll for the Java JNI, then run the code in debug mode under Eclipse
It seems like the Debug Build make not much help in debugging.
Is there any setup issue/Plugin to debug even under the Native Mode under Eclipse?
Billy Ng
-----Original Message-----
From: Luigi Ballabio [mailto:
[hidden email]]
Sent: Monday, May 21, 2012 5:41 PM
To: Billy Ng
Cc:
[hidden email]
Subject: Re: [Quantlib-users] Asian arithmetic average strike option
On Sun, May 20, 2012 at 2:01 AM, Billy Ng <
[hidden email]> wrote:
> Any idea what's wrong, "empty Handle cannot be dereferenced"?
> I googled and this is quite a common error message in QuantLib
You passed a Handle to an instrument (possibly a Handle to a curve, or
to a quote) and tried to calculate the NPV before linking the handle
to an actual curve/quote. Can you send the code that causes the
error?
Luigi
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users