document.javax.xml.transform.TransformerException: The root element is req uired in a well-formed document.

Coderanch | Ritu Kama | 1 decade ago
  1. 0

    Xalan - TransformerException.

    Coderanch | 1 decade ago | Ritu Kama
    document.javax.xml.transform.TransformerException: The root element is req uired in a well-formed document.

    Root Cause Analysis

    1. document.javax.xml.transform.TransformerException

      The root element is req uired in a well-formed document.

      at org.apache.xalan.transformer.TransformerImpl.transform()
    2. Xalan Java
      TransformerImpl.transform
      1. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:686)
      2. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
      3. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
      3 frames
    3. Unknown
      TransformXML.doPost
      1. TransformXML.doPost(TransformXML.java:34)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    5. com.ibm.servlet
      HttpConnection.handleRequest
      1. com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
      2. com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
      3. com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
      4. com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
      5. com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
      6. com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
      7. com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
      8. com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
      9. com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
      10. com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
      11. com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
      12. com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
      13. com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
      14. com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
      15. com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
      16. com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
      16 frames
    6. com.ibm.ws
      CachedThread.run
      1. com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
      2. com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
      3. com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
      3 frames