You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2001/12/19 00:12:28 UTC

DO NOT REPLY [Bug 5495] New: - Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5495

Problem with FopServlet - missing package from Fop-0.20.1-src.tar.gz

           Summary: Problem with FopServlet - missing package from Fop-
                    0.20.1-src.tar.gz
           Product: Fop
           Version: 0.15
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: ledickin@au1.ibm.com


I have down loaded "Fop-0.20.1-src.tar.gz" and tried to run the sample 
FopServlet and the stack trace below was generated after passing in the 
following parameters "http://localhost:9090/servlet/FopServlet?fo=simple.fo".

I dived into the Fop.jar file and found that within the 
org.apache.fop.extensions.ExtensionElementMapping class the import statement is 
to org.apache.fop.fo.properties.ExtensionPropertyMapping class. This whole 
package ie.org.apache.fop.fo.properties is not include in the Fop.jar file.

Can the missing code be forwarded/avail. for download/inc in the jar in the 
future, etc.

I have successfully created the simple.pdf from simple.fo from the commandline, 
classpath appear to be correct otherwise I wouldnt get this far.
===========================================================
Exception in invoker: null

java.lang.NullPointerException
	at org.apache.fop.svg.SVGElementMapping.addToBuilder
(SVGElementMapping.java, Compiled Code)
	at org.apache.fop.apps.Driver.addElementMapping(Driver.java:373)
	at org.apache.fop.apps.Driver.addElementMapping(Driver.java:384)
	at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java, 
Compiled Code)
	at org.apache.fop.apps.Driver.(Driver.java:189)
	at org.apache.fop.apps.Driver.(Driver.java:193)
	at FopServlet.renderFO(FopServlet.java:71)
	at FopServlet.doGet(FopServlet.java:45)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
	at com.gefionsoftware.server.ServletContextImpl$ServletHandler.call
(ServletContextImpl.java)
	at com.gefionsoftware.server.ServletContextImpl.executeServlet
(ServletContextImpl.java)
	at com.gefionsoftware.server.NamedDispatcherImpl.forward
(NamedDispatcherImpl.java)
	at com.gefionsoftware.server.servlets.InvokerServlet.service
(InvokerServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)
	at com.gefionsoftware.server.ServletContextImpl$ServletHandler.call
(ServletContextImpl.java)
	at com.gefionsoftware.server.ServletContextImpl.executeServlet
(ServletContextImpl.java)
	at com.gefionsoftware.server.ServletContextImpl.execute
(ServletContextImpl.java)
	at com.gefionsoftware.server.GenericServer.execute(GenericServer.java)
	at com.gefionsoftware.server.lws.LiteWebServer$RequestHandler.run
(LiteWebServer.java)
	at se.pureit.util.ThreadPool$WorkThread.startRunnable(ThreadPool.java)
	at se.pureit.util.ThreadPool$WorkThread.run(ThreadPool.java, Compiled 
Code)
===========================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org