javax.xml.transform.TransformerException

java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties([ExpressionContext,] #STRING).

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web225

  • via xml-xalan-j-users by Mike Brown, 9 months ago
    java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties([ExpressionContext,] #STRING).
  • via xml-xalan-j-users by Mike Brown, 9 months ago
    java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties([ExpressionContext,] #STRING).
  • java.lang.NoSuchMethodException: For extension function, could not find method java.lang.String.stringLength([ExpressionContext,] ).
  • Stack trace

    • javax.xml.transform.TransformerException: java.lang.NoSuchMethodException: For extension function, could not find method org.apache.xml.serializer.OutputPropertiesFactory.getDefaultMethodProperties([ExpressionContext,] #STRING). at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:420) at org.apache.xalan.extensions.ExtensionHandlerJavaPackage.callFunction(ExtensionHandlerJavaPackage.java:438) at org.apache.xalan.extensions.ExtensionsTable.extFunction(ExtensionsTable.java:220) at org.apache.xalan.transformer.TransformerImpl.extFunction(TransformerImpl.java:473) at org.apache.xpath.functions.FuncExtFunction.execute(FuncExtFunction.java:206) at org.apache.xpath.XPath.execute(XPath.java:335) at org.apache.xalan.templates.ElemVariable.getValue(ElemVariable.java:278) at org.apache.xalan.templates.ElemVariable.execute(ElemVariable.java:246) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262) at org.apache.xalan.xslt.Process.main(Process.java:1046)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.