Fix NPE when running GenerateModel
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2977050
This commit is contained in:
parent
aaa75baf0b
commit
b7f64013c8
|
@ -760,7 +760,8 @@ public final class Ini implements Serializable
|
|||
context = new InitialContext();
|
||||
env = (String) context.lookup("java:comp/env/"+ADEMPIERE_HOME);
|
||||
} catch (NamingException e) {
|
||||
log.fine( "Not found 'java:comp/env/"+ADEMPIERE_HOME+"' in Initial Context. " +e.getMessage());
|
||||
// teo_sarca: if you uncomment the line below you will get an NPE when generating models
|
||||
//log.fine( "Not found 'java:comp/env/"+ADEMPIERE_HOME+"' in Initial Context. " +e.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue