Loading ...
Sorry, an error occurred while loading the content.

FopServlet samples from xml.apache.org

Expand Messages
  • tiger tiger
    Hi all Has any one tried out the FopServlet.java sample from xml.apache.org. I tried in vain and it always give the following exceptions. I have verified the
    Message 1 of 1 , Oct 29, 2001
    • 0 Attachment
      Hi all

      Has any one tried out the FopServlet.java sample from
      xml.apache.org. I tried in vain and it always give the
      following exceptions. I have verified the classpath
      and ensure that the relevant jars files are correctly
      installed.

      type Exception report

      message Internal Server Error

      description The server encountered an internal error
      (Internal Server Error) that prevented it from
      fulfilling this request.

      exception

      javax.servlet.ServletException
      at FopServlet.renderXML(FopServlet.java:126)
      at FopServlet.doGet(FopServlet.java:68)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
      at
      org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      at
      org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      at java.lang.Thread.run(Unknown Source)

      root cause

      org.apache.fop.apps.FOPException
      at org.apache.fop.apps.Driver.render(Driver.java:464)
      at FopServlet.renderXML(FopServlet.java:119)
      at FopServlet.doGet(FopServlet.java:68)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
      at
      org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      at
      org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      at java.lang.Thread.run(Unknown Source)

      ---------

      javax.xml.transform.TransformerException
      at
      org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:137)
      at org.apache.fop.apps.Driver.render(Driver.java:459)
      at FopServlet.renderXML(FopServlet.java:119)
      at FopServlet.doGet(FopServlet.java:68)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
      at
      org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      filters.ExampleFilter.doFilter(ExampleFilter.java:149)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
      at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      at
      org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at
      org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at
      org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at
      org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      at
      org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      at java.lang.Thread.run(Unknown Source)
      javax.xml.transform.TransformerException
      at
      org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1212)
      at
      org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
      at java.lang.Thread.run(Unknown Source)
      ---------
      java.lang.NullPointerException
      at
      org.apache.fop.fo.flow.Flow.setFlowName(Flow.java:93)
      at org.apache.fop.fo.flow.Flow.(Flow.java:72)
      at
      org.apache.fop.fo.flow.Flow$Maker.make(Flow.java:28)
      at
      org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:254)
      at
      org.apache.xalan.transformer.QueuedStartElement.flush(QueuedStartElement.java:286)
      at
      org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandler.java:774)
      at
      org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:283)
      at
      org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:749)
      at
      org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
      at
      org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
      at
      org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
      at
      org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
      at
      org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
      at
      org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
      at
      org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
      at java.lang.Thread.run(Unknown Source)



      ____________________________________________________________
      Nokia Game is on again.
      Go to http://uk.yahoo.com/nokiagame/ and join the new
      all media adventure before November 3rd.
    Your message has been successfully submitted and would be delivered to recipients shortly.