if((contextPath != null) && (!this.resourceRef.toString(false, false).startsWith(contextPath)))
if(this.resourceRef == null)
   public void setContextPath(String contextPath)   {      if((contextPath != null) && (!this.resourceRef.toString(false, false).startsWith(contextPath)))      {         logger.warning("Context path doesn't match the start of the resource URI: " + contextPath);      }      this.contextPath = contextPath;   }