[
https://issues.apache.org/jira/browse/OFBIZ-5952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashish Vijaywargiya reassigned OFBIZ-5952:
------------------------------------------
Assignee: Ashish Vijaywargiya
> IncomeStatement page broken
> ---------------------------
>
> Key: OFBIZ-5952
> URL: https://issues.apache.org/jira/browse/OFBIZ-5952
> Project: OFBiz
> Issue Type: Bug
> Components: accounting
> Affects Versions: Trunk, 14.12.01
> Reporter: Deepak Dixit
> Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-5952.patch
>
>
> IncomeStatement page has been broken, it throwing following exception:
> {code}
> ERROR rendering error page [/error/error.jsp], but here is the error text:
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://accounting/widget/ReportFinancialSummaryScreens.xml#IncomeStatement]:
> java.lang.IllegalArgumentException: Error running script at location
> [component://accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy]:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object '[[GenericEntity:GlAccountClass][createdStamp,2015-01-08
> 03:08:36.933(java.sql.Timestamp)][createdTxStamp,2015-01-08
> 03:08:35.054(java.sql.Timestamp)][description,Selling, General, and
> Administrative
> Expense(java.lang.String)][glAccountClassId,SGA_EXPENSE(java.lang.String)][isAssetClass,null()][lastUpdatedStamp,2015-01-08
> 03:08:36.933(java.sql.Timestamp)][lastUpdatedTxStamp,2015-01-08
> 03:08:35.054(java.sql.Timestamp)][parentClassId,CASH_EXPENSE(java.lang.String)]]'
> with class 'java.util.LinkedList' to class 'org.ofbiz.entity.GenericValue'
> due to: java.lang.IllegalStateException: [GenericEntity.getModelEntity] could
> not find modelEntity for entityName null (Error running script at location
> [component://accounting/webapp/accounting/WEB-INF/actions/reports/IncomeStatement.groovy]:
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
> object '[[GenericEntity:GlAccountClass][createdStamp,2015-01-08
> 03:08:36.933(java.sql.Timestamp)][createdTxStamp,2015-01-08
> 03:08:35.054(java.sql.Timestamp)][description,Selling, General, and
> Administrative
> Expense(java.lang.String)][glAccountClassId,SGA_EXPENSE(java.lang.String)][isAssetClass,null()][lastUpdatedStamp,2015-01-08
> 03:08:36.933(java.sql.Timestamp)][lastUpdatedTxStamp,2015-01-08
> 03:08:35.054(java.sql.Timestamp)][parentClassId,CASH_EXPENSE(java.lang.String)]]'
> with class 'java.util.LinkedList' to class 'org.ofbiz.entity.GenericValue'
> due to: java.lang.IllegalStateException: [GenericEntity.getModelEntity] could
> not find modelEntity for entityName null)
> {code}
> https://localhost:8443/accounting/control/IncomeStatement?organizationPartyId=Company
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)