Hi Sashika, Which billing engine version did you check? Can you check on the following[1] if not already. *invoice* table is empty because invoice generation is failed. Also in the billing capp, it take time to generate summary tables and please wait bit longer or execute the script manually to generate data. If you observed this again, can you please attached the full log as well?
[1] https://github.com/ruks/wso2-am-billing-engine/releases/tag/am-2.1.0 Thanks and Regards On Wed, Nov 29, 2017 at 2:14 PM, Sashika Wijesinghe <[email protected]> wrote: > Hi All, > > I have tried to generate an invoice for the monetized APIs as documented > in [1]. > > When I select the 'invoice' tab in the sample billing engine to generate > the invoices observed the following error from the billing engine deployed > in tomcat server. > > *HTTP Status 500 - Request processing failed; nested exception is > org.springframework.webflow.execution.ActionExecutionException: Exception > thrown executing [AnnotatedAction@3fa06082 targetAction = > [EvaluateAction@274d6a91 expression = invoiceService.createInvoice(user), > resultExpression = viewScope.invoice], attributes = map[[empty]]] in state > 'invoiceHome' of flow 'account' -- action execution attributes were > 'map[[empty]]'* > > After verifying the 'billing' database observed that there are no records > in the "*invoice*" table. However, as per the API statistics, there are > 20 API calls for that particular API. > > May I know how to solve this issue? > > > [1] https://docs.wso2.com/display/AM210/Enabling+Monetization+of+APIs > > > -- > > *Sashika WijesingheSoftware Engineer - QA Team* > Mobile : +94 (0) 774537487 > [email protected] > -- Rukshan Chathuranga. Software Engineer. WSO2, Inc. +94711822074
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
