The resolveFunction does not handle the className variable correctly resulting in possible NPEs
For instance className is unitialized in the else, but used none the less.
String className = null;
String methodName = null;
if (uri.startsWith("
http://exslt.org"))
{
className = getEXSLTClassName(uri);
methodName = qname.getLocalPart();
}
else if (!uri.equals(ExtensionNamespaceContext.JAVA_EXT_URI))
{
int lastSlash = className.lastIndexOf("/");
if (-1 != lastSlash)
className = className.substring(lastSlash + 1);
}