NPE in some cases when saving Adempiere.properties. Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3051473

This commit is contained in:
usrdno 2011-03-25 23:44:17 -05:00
parent a882c566d1
commit 7735bf804f
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ public final class Ini implements Serializable
try try
{ {
File f = new File(fileName); File f = new File(fileName);
f.getParentFile().mkdirs(); // Create all dirs if not exist - teo_sarca FR [ 2406123 ] f.getAbsoluteFile().getParentFile().mkdirs(); // Create all dirs if not exist - teo_sarca FR [ 2406123 ]
fos = new FileOutputStream(f); fos = new FileOutputStream(f);
s_prop.store(fos, "Adempiere"); s_prop.store(fos, "Adempiere");
fos.flush(); fos.flush();