jodpreport 2.1.1 error in sample

12 views
Skip to first unread message

Sushant Sarkar

unread,
Aug 17, 2010, 7:47:36 AM8/17/10
to JODConverter
Hi,
I get this stacktrace when i run any of the sample applications -
LetterForm, OrderForm, ReportForm :

com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException:
could not obtain service: com.sun.star.ucb.FileContentProvider

com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection.getService(AbstractOpenOfficeConnection.java:
119)

com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection.getFileContentProvider(AbstractOpenOfficeConnection.java:
129)

com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:
116)

com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:
104)

com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.convertInternal(OpenOfficeDocumentConverter.java:
88)

com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentConverter.convert(AbstractOpenOfficeDocumentConverter.java:
82)

net.sf.jooreports.web.spring.controller.AbstractDocumentGenerator.renderDocument(AbstractDocumentGenerator.java:
103)

net.sf.jooreports.web.spring.controller.AbstractDocumentGenerator.handleRequestInternal(AbstractDocumentGenerator.java:
51)

org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:
153)

org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:
44)

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
723)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
663)

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
394)

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
358)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Thishappens only for pdf, word and rtf. the odt gets created no
problem.
i am on windows 7 pro 64 bit.
OpenOffice.org_3.2_SDK installed on system
Tomcat 6.0
JDK 1.6.0_17-b04

Regards,
Reply all
Reply to author
Forward
0 new messages