XeroAPI / Xero-Java

Official Java client for use with Xero API
MIT License
78 stars 88 forks source link

StackOverflow error thrown on Invoices toString() #289

Open jawad-r3 opened 3 years ago

jawad-r3 commented 3 years ago

Method threw 'java.lang.StackOverflowError' exception. Cannot evaluate com.xero.models.accounting.Invoices.toString()

@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Invoices {\n"); sb.append(" invoices: ").append(toIndentedString(invoices)).append("\n"); sb.append("}"); return sb.toString(); }

/**