Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0019062 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | critical | always | 2011-11-14 16:56 | 2011-11-15 17:04 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | jonalegriaesarte | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | f063ce238a94 | ||||
Projection | none | ETA | none | Target Version | 3.0MP5 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||
OS Version | Debian 5.0 | Database version | 8.3.8 | Ant version | 1.7.0 | |||
Product Version | 3.0MP5 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0019062: Report General Ledger shows a NullPointerException | |||||||
Description | If 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 Reproduce | Run the General Ledger Report with dates from 01-01-2000 to 01-01-2222 for the Accounting Schema F&B International | |||||||
Proposed Solution | xmlDocument object must be initialized before using it | |||||||
Tags | Regression | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2011-11-15 10:46 |
Fixed and working fine. The NullPointerException does not appear in the same scenario |
(0042845) hudsonbot (viewer) 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 |
![]() |
|||
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 | OBNetwork customer | => No |
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 |