wso2/carbon4-kernel — pull request #50 by denuwanthi (2014-10-20 10:51:25+00:00)
Title: Handle NPE

NullPointer Exception thrown when using GD in ESB, AS-6.0.0 (mgtconsole not loaded) due to GAppTenant Axis2service getfilename() returns null.
The earlier patches also had the same issue, yet NP was not thrown as they had the check condition as
if (service.getFileName() != null && service.getFileName().getPath()
.equals(absoluteFilePath)) {

Since, I did
File serviceFilePathUrlToFile = new File(service.getFileName().getPath());
check before checking for NP, the exception got thrown by the JVM.
Now it is handled as in the updated diff