Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 14.12.01
    • Fix Version/s: 14.12.01, 16.11.01
    • Component/s: accounting
    • Labels:
      None

      Description

      IncomeStatement page has been broken, it throwing following exception:

      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)
      

      https://localhost:8443/accounting/control/IncomeStatement?organizationPartyId=Company

        Issue Links

          Activity

          Hide
          deepak.dixit Deepak Dixit added a comment -

          Here is the patch for this issue. This is due to typo while converting entity engine method EntityQuery.

          Show
          deepak.dixit Deepak Dixit added a comment - Here is the patch for this issue. This is due to typo while converting entity engine method EntityQuery.
          Hide
          toashishvijay Ashish Vijaywargiya added a comment -

          Thanks Deepak for the contribution. Your changes are committed in trunk(r1658310) and in 14.12(r1658312)

          Show
          toashishvijay Ashish Vijaywargiya added a comment - Thanks Deepak for the contribution. Your changes are committed in trunk(r1658310) and in 14.12(r1658312)
          Hide
          deepak.dixit Deepak Dixit added a comment -

          Thanks Ashish

          Show
          deepak.dixit Deepak Dixit added a comment - Thanks Ashish

            People

            • Assignee:
              toashishvijay Ashish Vijaywargiya
              Reporter:
              deepak.dixit Deepak Dixit
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development