geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dondi Imperial <>
Subject (Noob alert) Bug in
Date Thu, 23 Sep 2004 21:04:05 GMT
Hello everyone. I'm new here so please be gentle if I am wrong :). I 
think there is a bug in 
The line:

log.warn("Could not all find java compiler: tools.jar file not found at 
" + toolsJarFile.getAbsolutePath() +
                " or " + toolsJarFile.getParentFile().getAbsolutePath());

this will only be reached if toolsJarFile is null (there is a check to 
see if it is != null and it will return this value)  but here the code 
is calling getAbsolutePat and getParentFile on a null object. This will 
cause a NullPointerException everytime.


Dondi Imperial     

View raw message