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

XSLT error during transformation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.2, 2.5.8
    • Fix Version/s: 2.5.10
    • Component/s: Core, Core Results
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: