javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.

Pentaho BI Platform Tracking | Ramaiz Mansoor | 8 years ago
  1. 0

    files-list.xsl is referencing the PluginSettings instead of PluginManager and the method signatures have changed on couple of methods Error at xsl:value-of on line 387 of : XPST0003: XPath syntax error at char 50 on line 387 in {...neratorIdForType( $extensio...}: Cannot find a matching 1-argument function named {org.pentaho.platform.plugin.services.pluginmgr.PluginManager}getContentGeneratorIdForType() Error at xsl:value-of on line 389 of : XPST0003: XPath syntax error at char 51 on line 389 in {...eratorUrlForType( $extensio...}: Cannot find a matching 1-argument function named {org.pentaho.platform.plugin.services.pluginmgr.PluginManager}getContentGeneratorUrlForType() 11:36:08,156 ERROR [Logger] Error: Pentaho 11:36:08,156 ERROR [Logger] misc-org.pentaho.platform.util.xml.XmlHelper: XmlHelper.ERROR_0006 - transformXml error: Failed to compile stylesheet. 2 errors detected. using transformation: files-list.xsl javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected. at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:132) at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:133) at net.sf.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:88) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:426) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:393) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:357) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:318) at org.pentaho.platform.uifoundation.component.xml.XmlComponent.getContent(XmlComponent.java:64) at org.apache.jsp.jsp.Navigate_jsp._jspService(Navigate_jsp.java:128) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) files-list.xsl error lines <xsl:variable name="defaulthandler"><xsl:value-of select="plugins:getContentGeneratorIdForType( $extension )"/></xsl:variable> <xsl:variable name="defaulturl"><xsl:value-of select="plugins:getContentGeneratorUrlForType( $extension )"/></xsl:variable> the new methods needs IPentahoSession variable as a second parameter

    Pentaho BI Platform Tracking | 8 years ago | Ramaiz Mansoor
    javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.
  2. 0

    files-list.xsl is referencing the PluginSettings instead of PluginManager and the method signatures have changed on couple of methods Error at xsl:value-of on line 387 of : XPST0003: XPath syntax error at char 50 on line 387 in {...neratorIdForType( $extensio...}: Cannot find a matching 1-argument function named {org.pentaho.platform.plugin.services.pluginmgr.PluginManager}getContentGeneratorIdForType() Error at xsl:value-of on line 389 of : XPST0003: XPath syntax error at char 51 on line 389 in {...eratorUrlForType( $extensio...}: Cannot find a matching 1-argument function named {org.pentaho.platform.plugin.services.pluginmgr.PluginManager}getContentGeneratorUrlForType() 11:36:08,156 ERROR [Logger] Error: Pentaho 11:36:08,156 ERROR [Logger] misc-org.pentaho.platform.util.xml.XmlHelper: XmlHelper.ERROR_0006 - transformXml error: Failed to compile stylesheet. 2 errors detected. using transformation: files-list.xsl javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected. at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:132) at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:133) at net.sf.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:88) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:426) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:393) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:357) at org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:318) at org.pentaho.platform.uifoundation.component.xml.XmlComponent.getContent(XmlComponent.java:64) at org.apache.jsp.jsp.Navigate_jsp._jspService(Navigate_jsp.java:128) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) files-list.xsl error lines <xsl:variable name="defaulthandler"><xsl:value-of select="plugins:getContentGeneratorIdForType( $extension )"/></xsl:variable> <xsl:variable name="defaulturl"><xsl:value-of select="plugins:getContentGeneratorUrlForType( $extension )"/></xsl:variable> the new methods needs IPentahoSession variable as a second parameter

    Pentaho BI Platform Tracking | 8 years ago | Ramaiz Mansoor
    javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.
  3. 0

    if condition for making hide some part of xml(WSDL) file in .xslt in mule

    Stack Overflow | 4 years ago | brelian
    org.mule.module.launcher.DeploymentStartException: TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Feedback for - YAMJ To Mede8er V2.0.0 By Shizzl Yamj r2943 18 Feb2012

    mede8erforum.com | 7 months ago
    javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.
  6. 0

    Logging for YAMJ to Mede8er

    mede8erforum.com | 7 months ago
    javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 2 errors detected.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerConfigurationException

      Failed to compile stylesheet. 2 errors detected.

      at net.sf.saxon.PreparedStylesheet.prepare()
    2. Saxon HE
      TransformerFactoryImpl.newTransformer
      1. net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:132)
      2. net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:133)
      3. net.sf.saxon.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:88)
      3 frames
    3. org.pentaho.platform
      XmlComponent.getContent
      1. org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:426)
      2. org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:393)
      3. org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:357)
      4. org.pentaho.platform.util.xml.XmlHelper.transformXml(XmlHelper.java:318)
      5. org.pentaho.platform.uifoundation.component.xml.XmlComponent.getContent(XmlComponent.java:64)
      5 frames
    4. org.apache.jsp
      Navigate_jsp._jspService
      1. org.apache.jsp.jsp.Navigate_jsp._jspService(Navigate_jsp.java:128)
      1 frame
    5. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      1 frame