Bond example: Review and translate(if required)

Bug #1209976 reported by Zahid Hussain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JQuantLib
In Progress
High
Richard Gomes

Bug Description

Bond example is failing with below error msg, review and fix any translation issue.
====== ERROR MSG =====
Settlement date: Thursday, September 18, 2008
ERROR: first date (December 19, 2010) out of [effective (March 15, 2005), termination (August 31, 2010)] date range
first date (December 19, 2010) out of [effective (March 15, 2005), termination (August 31, 2010)] date range
org.jquantlib.lang.exceptions.LibraryException: first date (December 19, 2010) out of [effective (March 15, 2005), termination (August 31, 2010)] date range
 at org.jquantlib.lang.exceptions.LibraryException.fillInStackTrace(LibraryException.java:98)

=========================

Tags: samples
Revision history for this message
Q Boiler (q.boiler) wrote :

When you get a chance, please update this ticket.
Just a quick status is all.

Revision history for this message
Zahid Hussain (zahidh) wrote :

Fully translated Bond example but is failing (NullPointerException) during run time.It is dependent on PiecewiseYieldCurve, VanillaSwap, index, etc. classes. Many of these classes don't match QL097 code, this issue is now dependent on review of all these classes.

The new can be enabled for debugging using DEBUG_BOND_EXAMPLE property
===

        if ( System.getProperty("DEBUG_BOND_EXAMPLE") == null ) {
         System.out.println("Still in PROGRESS!");
         return;
        }
===

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.