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?
From: Luigi Ballabio [mailto:luigi.ballabio@...]
Sent: Monday, May 21, 2012 5:41 PM
To: Billy Ng
Cc: quantlib-users@... Subject: Re: [Quantlib-users] Asian arithmetic average strike option
On Sun, May 20, 2012 at 2:01 AM, Billy Ng <mail.billy@...> 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