Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_open Failed , _save Failed and _close Failed error caused by com.jacob.com.ComFailException: A COM exception has been encountered #27

Open
psinha02 opened this issue Mar 27, 2023 · 0 comments

Comments

@psinha02
Copy link

psinha02 commented Mar 27, 2023

It is supposed to open 5 excel.. but i see that in the extended following log there is _open Failed , _save Failed and _close Failed errors.. and it keeps opening numerous excel processes and fails to close it The server is Windows server 2019 Datacenter 64bit. and the Jacob version is 1.19

EXCEL: - Logger initialized.
EXCEL: - starting JacobExcel
EXCEL: - starting JacobExcel pool.
EXCEL:- JacobExcel pool monitor initialized.
EXCEL: - JacobApplication init failed
com.abcd.xls.common.jacob.JacobError: _Open Failed
at com.abcd.xls.common.jacob.JacobObject.requestExecution(JacobObject.java:240)
at com.abcd.xls.common.jacob.Workbooks.Open(Workbooks.java:62)
at com.abcd.xls.common.jacob.Workbooks.Open(Workbooks.java:42)
at com.abcd.xls.common.jacobpool.JacobApplicationLink.(JacobApplicationLink.java:93)
at com.abcd.xls.common.jacobpool.JacobPool$1.run(JacobPool.java:60)
Caused by: com.abcd.xls.common.jacob.JacobError: _Open Failed
at com.abcd.xls.common.jacob.JacobTask.execute(JacobTask.java:48)
at com.abcd.xls.common.jacob.ProxyThread.B(ProxyThread.java:130)
at com.abcd.xls.common.jacob.ProxyThread.run(ProxyThread.java:73)
Caused by: com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: Open
Description: 80010105 / The server threw an exception.

at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:625)
at com.jacob.com.Dispatch.callN(Dispatch.java:453)
at com.jacob.com.Dispatch.call(Dispatch.java:541)
at com.abcd.xls.common.jacob.Workbooks._Open(Workbooks.java:86)
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:498)
at com.abcd.xls.common.jacob.JacobTask.execute(JacobTask.java:29)
... 2 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant