java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.escapeString([ExpressionContext,] ).

xml-xalan-dev | Gary L Peskin | 2 decades ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: extension functions in Xalan-Java 2.0.1 (using TraX/JAXP)

    xml-xalan-dev | 2 decades ago | Gary L Peskin
    java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.escapeString([ExpressionContext,] ).

    Root Cause Analysis

    1. java.lang.NoSuchMethodException

      For extension function, could not find method java.lang.String.escapeString([ExpressionContext,] ).

      at org.apache.xalan.extensions.MethodResolver.getMethod()
    2. Xalan Java
      TransformerImpl.run
      1. org.apache.xalan.extensions.MethodResolver.getMethod(MethodResolver.java:307)
      2. org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:368)
      3. org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:253)
      4. org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:141)
      5. org.apache.xpath.XPath.execute(XPath.java:269)
      6. org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:250)
      7. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)
      8. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
      9. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)
      10. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
      11. org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:498)
      12. org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
      13. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)
      14. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:739)
      15. org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:498)
      16. org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
      17. org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:498)
      18. org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
      19. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2202)
      20. org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2085)
      21. org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1219)
      22. org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2942)
      22 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:479)
      1 frame