[jira] Created: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
"Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
------------------------------------------------------------------------

                 Key: OFBIZ-2662
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Release Branch 9.04, SVN trunk
            Reporter: Ashish Vijaywargiya
             Fix For: Release Branch 9.04, SVN trunk


-- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
I have created a single transaction on demo server and it is giving the same error there as well.

If we have few posted and few unposted transaction on the system then this error doesn't come.
Creating jira issue so that I could track my work.

Steps to reproduce:

-- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company

-- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company


2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
---- exception report ----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
---- exception report ----------------------------------------------------------
Error in request handler:
Exception: org.ofbiz.widget.screen.ScreenRenderException
Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
---- cause ---------------------------------------------------------------------
Exception: java.lang.IndexOutOfBoundsException
Message: index: 0
---- stack trace ---------------------------------------------------------------
java.lang.IndexOutOfBoundsException: index: 0
javolution.util.FastList.get(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
TransactionTotals.run(TransactionTotals.groovy:73)
org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
 

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724509#action_12724509 ]

Sumit Pandit commented on OFBIZ-2662:
-------------------------------------

I am on it.

--
Sumit Pandit

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Ashish Vijaywargiya
>             Fix For: Release Branch 9.04, SVN trunk
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Pandit updated OFBIZ-2662:
--------------------------------

    Attachment: OFBiz_2662.patch

Attached patch resolved this issue.

Thanks And Regards
Sumit Pandit

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Ashish Vijaywargiya
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBiz_2662.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya reassigned OFBIZ-2662:
------------------------------------------

    Assignee: Ashish Vijaywargiya

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 9.04, SVN trunk
>            Reporter: Ashish Vijaywargiya
>            Assignee: Ashish Vijaywargiya
>             Fix For: Release Branch 9.04, SVN trunk
>
>         Attachments: OFBiz_2662.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya updated OFBIZ-2662:
---------------------------------------

    Affects Version/s:     (was: Release Branch 9.04)
        Fix Version/s:     (was: Release Branch 9.04)

Will not be applied on the release branch as it is working fine there.

--
Ashish

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Ashish Vijaywargiya
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBiz_2662.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Vijaywargiya closed OFBIZ-2662.
--------------------------------------

    Resolution: Fixed

Thanks Sumit!
Done at r788697.

--
Ashish Vijaywargiya

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Ashish Vijaywargiya
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBiz_2662.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-2662) "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724817#action_12724817 ]

Sumit Pandit commented on OFBIZ-2662:
-------------------------------------

Thank you Ashish for your comments in commit notification.

--
Sumit Pandit

> "Transaction Totals" report throwing java.lang.IndexOutOfBoundsException
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-2662
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2662
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Ashish Vijaywargiya
>            Assignee: Ashish Vijaywargiya
>             Fix For: SVN trunk
>
>         Attachments: OFBiz_2662.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> -- This error is observed in case of only single transaction that has been posted to General Ledger accounts.
> I have created a single transaction on demo server and it is giving the same error there as well.
> If we have few posted and few unposted transaction on the system then this error doesn't come.
> Creating jira issue so that I could track my work.
> Steps to reproduce:
> -- Create one manual transaction with credit and debit entiry and post this transaction. - https://localhost:8443/accounting/control/CreateAcctgTransAndEntries?organizationPartyId=Company
> -- Come to the Transaction Totals report and provide only from-date and submit the form. It will give following error:
> https://localhost:8443/accounting/control/TransactionTotals?organizationPartyId=Company
> 2009-06-26 18:04:52,288 (http-0.0.0.0-8443-1) [      ScreenFactory.java:129:INFO ] Got 12 screens in 0.013s from: file:/home/ashish/ofbiz_dev/hwm/applications/accounting/widget/ReportFinancialSummaryScreens.xml
> 2009-06-26 18:04:52,407 (http-0.0.0.0-8443-1) [        ModelScreen.java:398:ERROR] Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0. Rolling back transaction.
> 2009-06-26 18:04:52,410 (http-0.0.0.0-8443-1) [    TransactionUtil.java:285:ERROR]
> ---- exception report ----------------------------------------------------------
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:284)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:401)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,411 (http-0.0.0.0-8443-1) [    TransactionUtil.java:295:INFO ] [TransactionUtil.rollback] transaction rolled back
> 2009-06-26 18:04:52,412 (http-0.0.0.0-8443-1) [    TransactionUtil.java:219:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6)
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:214:ERROR]
> ---- exception report ----------------------------------------------------------
> Error in request handler:
> Exception: org.ofbiz.widget.screen.ScreenRenderException
> Message: Error rendering screen [component://accounting/widget/ReportFinancialSummaryScreens.xml#TransactionTotals]: java.lang.IndexOutOfBoundsException: index: 0 (index: 0)
> ---- cause ---------------------------------------------------------------------
> Exception: java.lang.IndexOutOfBoundsException
> Message: index: 0
> ---- stack trace ---------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: index: 0
> javolution.util.FastList.get(Unknown Source)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:43)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)
> TransactionTotals.run(TransactionTotals.groovy:73)
> org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:134)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction.java:408)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:220)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:130)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:93)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
> 2009-06-26 18:04:52,413 (http-0.0.0.0-8443-1) [     ControlServlet.java:228:ERROR] An error occurred, going to the errorPage: /error/error.jsp
> 2009-06-26 18:04:52,422 (http-0.0.0.0-8443-1) [     ControlServlet.java:235:ERROR] Including errorPage: /error/error.jsp
> 2009-06-26 18:04:52,551 (http-0.0.0.0-8443-1) [     ControlServlet.java:309:INFO ] [[[TransactionTotals] Request Done- total:0.416,since last([TransactionTotal...):0.416]]
>  

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.