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:
parent
a882c566d1
commit
7735bf804f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue