Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.6.1
-
None
Description
In private EndpointReference calculateEndpoint(String protocol, String serviceName, String ip) method in /org.apache.axis2.osgi/src/org/apache/axis2/osgi/core/web/WebApp.java
There is if statement like this,
if (contextRoot.equals("/") || contextRoot == null)
{ contextRoot = ""; }here contextroot==null is useless because contextRoot.equals("/") will throw a null pointer exception if contextRoot is null.