[Solved] LibreOffice throwing a exception on start up

Creating a macro - Writing a Script - Using the API

[Solved] LibreOffice throwing a exception on start up

Postby zmotiwala » Fri Mar 03, 2017 7:44 pm

I have Libre office portable version 5.3 for windows and jdk 8.

On windows 10 using jod it starts up great, but on a windows 2012 server it does not startup.

It fails as follows.

Caused by: org.artofsolving.jodconverter.office.OfficeException: failed to start and connect
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:58)
at org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:96)
at org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:56)
at com.docfinity.converter.openoffice.jod.OpenOfficeJODManagerImpl.initialize(OpenOfficeJODManagerImpl.java:319)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1694)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562)
... 371 more
Caused by: java.util.concurrent.ExecutionException: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:56)
... 381 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:136)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:25)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:52)
... 5 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: office process died with exit code -1073740791
at org.artofsolving.jodconverter.office.ManagedOfficeProcess$6.attempt(ManagedOfficeProcess.java:130)
at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:34)
at org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:24)
at org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:114)
... 7 more

03-Mar-2017 12:19:30.929 SEVERE [localhost-startStop-1]

Searching over the internet I have not found an reason as a result I am hoping someone on this forum could provide more insight on what the error code -1073740791 means?
Last edited by Hagar Delest on Sun Mar 12, 2017 1:38 pm, edited 1 time in total.
Reason: tagged [Solved].
Open Office 3.0
Windows
zmotiwala
 
Posts: 36
Joined: Wed Dec 28, 2011 5:34 pm

Re: Office throwing a exception on start up

Postby JeJe » Sat Mar 04, 2017 11:06 pm

Openoffice 4.1.2
Windows 8
JeJe
 
Posts: 122
Joined: Wed Mar 09, 2016 2:40 pm

Re: Office throwing a exception on start up

Postby zmotiwala » Wed Mar 08, 2017 6:19 pm

I downgraded to Libre office 5.2.5 and it started fine.

So my current solution is to use that.
Open Office 3.0
Windows
zmotiwala
 
Posts: 36
Joined: Wed Dec 28, 2011 5:34 pm


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 9 guests