Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006534Openbravo ERPA. Platformpublic2008-12-14 21:142009-03-06 12:34
mtaal 
shuehner 
lowminorhave not tried
closedfixed 
5
pi 
 
Core
No
0006534: Possible Null Pointer Exception in 5 locations in Openbravo code
Here are the five locations:
openbravo/src/org/openbravo/erpCommon/utility/poc/EmailManager.java:79 H C NP: Possible null pointer dereference of configuration in org.openbravo.erpCommon.utility.poc.EmailManager.newMailSession(ConnectionProvider, String)

openbravo/src/org/openbravo/base/secureApp/OrgTree.java:300 M C NP: Possible null pointer dereference of list in org.openbravo.base.secureApp.OrgTree.getDescendantTreeList(String, List, boolean, boolean)

openbravo/src/org/openbravo/erpCommon/ad_reports/ReportAccountingCountDimensionalAnalyses.java:489 H C NP: Possible null pointer dereference of xmlDocument in org.openbravo.erpCommon.ad_reports.ReportAccountingCountDimensionalAnalyses.printPageOpen(HttpServletResponse, VariablesSecureApp, String, String, String, String, String, String, String, String, String, String, String, String, String, String)

openbravo/src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java:241 M C NP: Possible null pointer dereference of myMessageAux in org.openbravo.erpCommon.ad_forms.MaterialReceiptPending.processPurchaseOrder(VariablesSecureApp, String)

openbravo/src/org/openbravo/scheduling/OBScheduler.java:470 M C NP: Possible null pointer dereference of trigger in org.openbravo.scheduling.OBScheduler$TriggerProvider.newInstance(String, ProcessBundle, ConnectionProvider)
Clean-up
related to feature request 0006804 closed rmorley ReportAccountingCountDimensionalAnalyses (Account Dimensional Report) cleanup 
Issue History
2008-12-14 21:14mtaalNew Issue
2008-12-14 21:14mtaalAssigned To => rafaroda
2008-12-14 21:14mtaalsf_bug_id0 => 2429122
2008-12-14 21:14mtaalRegression testing => No
2008-12-18 15:42rafarodaTag Attached: Clean-up
2008-12-18 15:42rafarodaAssigned Torafaroda => shuehner
2008-12-18 15:42rafarodaPrioritynormal => low
2008-12-18 15:42rafarodaStatusnew => acknowledged
2009-01-08 15:02shuehnerRelationship addedrelated to 0006804
2009-01-08 15:03shuehnerNote Added: 0011988
2009-01-08 15:12svnbotCheckin
2009-01-08 15:12svnbotNote Added: 0011990
2009-01-08 15:12svnbotsvn_revision => 11715
2009-01-08 15:56svnbotCheckin
2009-01-08 15:56svnbotNote Added: 0011994
2009-01-08 15:56svnbotsvn_revision11715 => 11716
2009-01-08 17:07svnbotCheckin
2009-01-08 17:07svnbotNote Added: 0011997
2009-01-08 17:07svnbotsvn_revision11716 => 11720
2009-01-08 17:42svnbotCheckin
2009-01-08 17:42svnbotNote Added: 0012000
2009-01-08 17:42svnbotStatusacknowledged => resolved
2009-01-08 17:42svnbotResolutionopen => fixed
2009-01-08 17:42svnbotsvn_revision11720 => 11724
2009-03-06 12:34psarobeStatusresolved => closed

Notes
(0011988)
shuehner   
2009-01-08 15:03   
Set related 6804 as ReportAccountingCountDimensionalAnalyses has to be either checked/removed (deactivated by default) or the broken codepath should be fixed/removed.
(0011990)
svnbot   
2009-01-08 15:12   
Repository: openbravo
Revision: 11715
Author: huehner
Date: 2009-01-08 15:12:46 +0100 (Thu, 08 Jan 2009)

Issue 6534
Initialize a variable to silence compiler warning.

---
U trunk/src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11715&sc=1 [^]
(0011994)
svnbot   
2009-01-08 15:56   
Repository: openbravo
Revision: 11716
Author: anthony.wolski
Date: 2009-01-08 15:56:26 +0100 (Thu, 08 Jan 2009)

Fixes part of issue 6534. Removes possibility of null pointer in Trigger generation

---
U trunk/src/org/openbravo/scheduling/OBScheduler.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11716&sc=1 [^]
(0011997)
svnbot   
2009-01-08 17:07   
Repository: openbravo
Revision: 11720
Author: huehner
Date: 2009-01-08 17:07:03 +0100 (Thu, 08 Jan 2009)

Issue 6534
Fixed NullPointerException when there is not Poc configuration entry
for the currently active client.

---
U trunk/src/org/openbravo/erpCommon/utility/poc/EmailManager.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11720&sc=1 [^]
(0012000)
svnbot   
2009-01-08 17:42   
Repository: openbravo
Revision: 11724
Author: huehner
Date: 2009-01-08 17:42:41 +0100 (Thu, 08 Jan 2009)

Fixed 6534
Fix possible NPE in getDescendantTreeList (but codepath
was always unused)

---
U trunk/src/org/openbravo/base/secureApp/OrgTree.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11724&sc=1 [^]