Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002257Openbravo ERPZ. Otherspublic2007-11-12 15:482008-11-26 14:01
user71 
jpabloae 
normalminoralways
closedfixed 
5
 
2.40alpha-r2 
No
Core
No
0002257: NPE because of wrong boolean operator
Hi,

attached patch avoids an NPE in FormatUtilities.truncate by correcting && to || which currently is mixed up and causes a NPE on s == null

Regards,
Stefan
No tags attached.
depends on backport 0003512 closed jpabloae NPE because of wrong boolean operator 
Issue History
2008-11-26 14:01psarobeRegression testing => No
2008-11-26 14:01psarobeStatusresolved => closed

Notes
(0005846)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1830470 [^]
(0002649)
jpabloae   
2007-11-22 12:48   
(edited on: 2008-06-12 09:23)
Logged In: YES
user_id=1603191
Originator: NO

Patch applied. Thank you Stefan.