Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006138
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2008-11-20 21:342009-03-02 07:10
Reportertds-peterView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchpiFixed in SCM revision11805
ProjectionnoneETAnoneTarget Version
OSWindowsDatabaseOracleJava version1.5
OS Version2003 ServerDatabase version10.2Ant version1.7.1
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006138: Budget Export to Excel - Index out of bounds exception

DescriptionGo to Financial Management / Budgets
Create a new Budget and save it
Then click Export to Excel
A blank green screen with an arrow is displayed with no other data
Tomcat log shows an index out of bounds exceptions:
java.lang.ArrayIndexOutOfBoundsException: 0
    at org.openbravo.erpCommon.ad_reports.ReportBudgetExportExcel.printPageDataExportExcel(Unknown Source) at org.openbravo.erpCommon.ad_reports.ReportBudgetExportExcel.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(Unknown Source)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Unknown Source)
Steps To ReproduceGo to Financial Management / Budgets
Create a new Budget and save it
Then click Export to Excel
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0006173 closedvmromanos Budget Export to Excel - Index out of bounds exception 

-  Notes
(0010722)
tds-peter (reporter)
2008-11-26 16:53

Update: This problem only occurs if I have a budget header with no lines. If I define a couple of lines, then I can export to XLS successfully.

However, please note a similar issue with the "create Budget Reports in Excel" process. I select it under Financial Management / Accounting / Transactions / Create Budget Reports in Excel
and when I run it I get a javascript error "objFrame is null or not an object"
(0012125)
svnbot (reporter)
2009-01-12 18:33

Repository: openbravo
Revision: 11805
Author: vmromanos
Date: 2009-01-12 18:33:28 +0100 (Mon, 12 Jan 2009)

Fixed bug 6138: Budget Export to Excel - Index out of bounds exception

---
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportBudgetExportExcel.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11805&sc=1 [^]
(0014187)
sureshbabu (reporter)
2009-03-02 07:10

Retested in context http://79.125.56.185/openbravotrunk [^]

- Issue History
Date Modified Username Field Change
2008-11-20 21:34 tds-peter New Issue
2008-11-20 21:34 tds-peter Assigned To => rafaroda
2008-11-20 21:34 tds-peter sf_bug_id 0 => 2318472
2008-11-24 12:26 rafaroda Status new => scheduled
2008-11-24 12:26 rafaroda Assigned To rafaroda => dalsasua
2008-11-24 12:26 rafaroda fix_in_branch => trunk
2008-11-26 16:53 tds-peter Note Added: 0010722
2008-12-03 19:03 pjuvara Priority normal => high
2009-01-12 18:02 vmromanos Assigned To dalsasua => vmromanos
2009-01-12 18:33 svnbot Checkin
2009-01-12 18:33 svnbot Note Added: 0012125
2009-01-12 18:33 svnbot Status scheduled => resolved
2009-01-12 18:33 svnbot Resolution open => fixed
2009-01-12 18:33 svnbot svn_revision => 11805
2009-03-02 07:10 sureshbabu Regression testing => No
2009-03-02 07:10 sureshbabu Status resolved => closed
2009-03-02 07:10 sureshbabu Note Added: 0014187
2009-03-02 07:10 sureshbabu Fixed in Version => trunk


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker