New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalStateException in dry-run generation #1095

pierre opened this Issue Feb 11, 2019 · 0 comments


None yet
1 participant
Copy link

pierre commented Feb 11, 2019

Scenario: trigger dry run invoice generation with a target date that is after the subscription (in-arrear usage) cancellation date.

java.lang.IllegalStateException: null
	at org.killbill.billing.invoice.usage.RawUsageOptimizer.getOptimizedRawUsageStartDate(
	at org.killbill.billing.invoice.usage.RawUsageOptimizer.getInArrearUsage(
	at org.killbill.billing.invoice.generator.UsageInvoiceItemGenerator.generateItems(
	at org.killbill.billing.invoice.generator.DefaultInvoiceGenerator.generateInvoice(
	at org.killbill.billing.invoice.InvoiceDispatcher.generateKillBillInvoice(
	at org.killbill.billing.invoice.InvoiceDispatcher.processAccountWithLockAndInputTargetDate(
	at org.killbill.billing.invoice.InvoiceDispatcher.processDryRun_TARGET_DATE_Invoice(
	at org.killbill.billing.invoice.InvoiceDispatcher.processAccountWithLock(
	at org.killbill.billing.invoice.InvoiceDispatcher.processAccount(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment