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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019062
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementcriticalalways2011-11-14 16:562011-11-15 17:04
ReportervmromanosView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionf063ce238a94
ProjectionnoneETAnoneTarget Version3.0MP5
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionDebian 5.0Database version8.3.8Ant version1.7.0
Product Version3.0MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019062: Report General Ledger shows a NullPointerException

DescriptionIf you run the Report General Ledger, it shows a NullPointerException.

In line 271 of the ReportGeneralLedger.java class, the xmlDocument object is always null, that's the cause of the Exception.

2199367 [http-8080-1] ERROR org.openbravo.erpCommon.ad_reports.ReportGeneralLedger - Error captured:
java.lang.NullPointerException
    at org.openbravo.erpCommon.ad_reports.ReportGeneralLedger.printPageDataSheet(ReportGeneralLedger.java:271)
    at org.openbravo.erpCommon.ad_reports.ReportGeneralLedger.doPost(ReportGeneralLedger.java:143)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:443)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:662)

Steps To ReproduceRun the General Ledger Report with dates from 01-01-2000 to 01-01-2222 for the Accounting Schema F&B International
Proposed SolutionxmlDocument object must be initialized before using it
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00188673.0MP5 closedjonalegriaesarte The General Ledger Report does not show properly data depending of the organization, when the organization is * 

-  Notes
(0042813)
hgbot (developer)
2011-11-14 18:52

Repository: erp/devel/pi
Changeset: f063ce238a941c378ae02b9f05a6ebb2bf671f12
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Mon Nov 14 18:51:04 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f063ce238a941c378ae02b9f05a6ebb2bf671f12 [^]

Fixes issue 0019062: Report General Ledger shows a NullPointerException
The null pointer exception is solved. In html format, a warning is shown when
the fiscal year initial date can not be found regarding the date from selected
in the filter.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger.java
---
(0042816)
vmromanos (manager)
2011-11-15 10:46

Fixed and working fine. The NullPointerException does not appear in the same scenario
(0042845)
hudsonbot (developer)
2011-11-15 17:04

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/22d704d9f2e8 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-11-14 16:56 vmromanos New Issue
2011-11-14 16:56 vmromanos Assigned To => jonalegriaesarte
2011-11-14 16:56 vmromanos Modules => Core
2011-11-14 16:56 vmromanos Relationship added related to 0018867
2011-11-14 16:56 vmromanos Tag Attached: Regression
2011-11-14 16:57 vmromanos Summary Report General Ledger shows a NullPointer => Report General Ledger shows a NullPointerException
2011-11-14 18:52 hgbot Checkin
2011-11-14 18:52 hgbot Note Added: 0042813
2011-11-14 18:52 hgbot Status new => resolved
2011-11-14 18:52 hgbot Resolution open => fixed
2011-11-14 18:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f063ce238a941c378ae02b9f05a6ebb2bf671f12 [^]
2011-11-14 19:10 shuehner Issue Monitored: shuehner
2011-11-15 10:46 vmromanos Note Added: 0042816
2011-11-15 10:46 vmromanos Status resolved => closed
2011-11-15 17:04 hudsonbot Checkin
2011-11-15 17:04 hudsonbot Note Added: 0042845


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker