Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004883Openbravo ERPA. Platformpublic2008-09-09 16:422008-12-15 18:45
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
pi 
 
Core
No
0004883: In some places the code is not safe regarding a null argument
Some of the code (mostly in error cases) is not safe regarding null values leading to NullPointerException in these cases.
Add !=null checks
No tags attached.
depends on backport 0004884 closed shuehner In some places the code is not safe regarding a null argument 
Issue History
2008-09-09 16:42shuehnerNew Issue
2008-09-09 16:42shuehnerAssigned To => shuehner
2008-09-09 16:42shuehnersf_bug_id0 => 2102160
2008-09-09 16:42shuehnerRegression testing => No
2008-09-09 16:43shuehnerStatusnew => scheduled
2008-09-09 16:43shuehnerNote Added: 0008942
2008-09-09 16:43shuehnerfix_in_branch => trunk
2008-09-09 16:56svnbotCheckin
2008-09-09 16:56svnbotNote Added: 0008946
2008-09-09 16:56svnbotStatusscheduled => resolved
2008-09-09 16:56svnbotResolutionopen => fixed
2008-09-09 16:56svnbotsvn_revision => 7102
2008-12-15 18:45psarobeStatusresolved => closed

Notes
(0008942)
shuehner   
2008-09-09 16:43   
Backport, as this fixes some bugs leading to possible NPE
(0008946)
svnbot   
2008-09-09 16:56   
Repository: openbravo
Revision: 7102
Author: huehner
Date: 2008-09-09 16:56:42 +0200 (Tue, 09 Sep 2008)

Fixed 4883
Add some != null checks to prevent possible NPE
Patch by Ville Lindfors

---
U trunk/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U trunk/src-core/src/org/openbravo/xmlEngine/XmlDocument.java
U trunk/src-trl/src/org/openbravo/translate/CommandLine_CopyFiles.java
U trunk/src-trl/src/org/openbravo/translate/Translate.java
U trunk/src-wad/src/org/openbravo/wad/Wad.java
---

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