Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4731

XSLT error during transformation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.2, 2.5.8
    • 2.5.10
    • Core, Core Results
    • None

    Description

      I have an issue when I am trying to generate content with xslt.

      During the processing request I have this error :

      15:37:01 ERROR [org.apache.struts2.views.xslt.XSLTResult.execute] - Unable to render XSLT Template, 'null'
      org.apache.struts2.StrutsException: Error transforming result
      	at org.apache.struts2.views.xslt.XSLTResult$1.error(XSLTResult.java:371) ~[struts2-core-2.5.8.jar:2.5.8]
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.postErrorToListener(TransformerImpl.java:811) ~[?:1.7.0_79]
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:754) ~[?:1.7.0_79]
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:359) ~[?:1.7.0_79]
      	at org.apache.struts2.views.xslt.XSLTResult.execute(XSLTResult.java:355) ~[struts2-core-2.5.8.jar:2.5.8]
      	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366) ~[struts2-core-2.5.8.jar:2.5.8]
      	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270) ~[struts2-core-2.5.8.jar:2.5.8]
      
      15:37:01 ERROR [org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler.sendErrorResponse] - Exception occurred during processing request: Error transforming result - [unknown location]
      

      Attachments

        1. continents.xslt
          0.7 kB
          COMBEAU
        2. continentsAction.java
          3 kB
          COMBEAU
        3. struts.xml
          4 kB
          COMBEAU

        Activity

          People

            lukaszlenart Lukasz Lenart
            walkn COMBEAU
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: