Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
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
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0019062: Report General Ledger shows a NullPointerException

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

In line 271 of the 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:
    at org.openbravo.erpCommon.ad_reports.ReportGeneralLedger.printPageDataSheet(
    at org.openbravo.erpCommon.ad_reports.ReportGeneralLedger.doPost(
    at javax.servlet.http.HttpServlet.service(
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.utils.SessionExpirationFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.utils.CharsetFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.client.kernel.KernelFilter$1.doAction(
    at org.openbravo.client.kernel.KernelFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(
    at org.openbravo.dal.core.DalRequestFilter.doFilter(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.apache.catalina.core.StandardWrapperValve.invoke(
    at org.apache.catalina.core.StandardContextValve.invoke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke(
    at org.apache.catalina.core.StandardEngineValve.invoke(
    at org.apache.catalina.connector.CoyoteAdapter.service(
    at org.apache.coyote.http11.Http11Processor.process(
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

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
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
hgbot (developer)
2011-11-14 18:52

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

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/
vmromanos (developer)
2011-11-15 10:46

Fixed and working fine. The NullPointerException does not appear in the same scenario
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: [^]

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 => [^]
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