An internal error may occur in the Excel file generated by jxl. jar.

Source: Internet
Author: User

If you use Excel generated by calling jxl. jar and then using SWT to call Ole, an error is reported. The error is as follows: (unsolved)

 

Org. Eclipse. SWT. swtexception: file does not exist, is not accessible to user or does not have the correct format. Result =-2147286775
At org. Eclipse. SWT. Ole. win32.ole. Error (OLE. Java: 307)
At org. Eclipse. SWT. Ole. win32.oleclientsite. olecreate (oleclientsite. Java: 387)
At org. Eclipse. SWT. Ole. win32.oleclientsite. <init> (oleclientsite. Java: 299)
At com. geocompass. geosearch. Views. filecyclerview. createpartcontrol (filecyclerview. Java: 49)
At org. Eclipse. UI. Internal. viewreference. createparelper (viewreference. Java: 375)
At org. Eclipse. UI. Internal. viewreference. createpart (view reference. Java: 229)
At org. Eclipse. UI. Internal. workbenchpartreference. getpart (workbenchpartreference. Java: 595)
At org. Eclipse. UI. Internal. viewreference. getview (viewreference. Java: 198)
At org. Eclipse. UI. Internal. workbenchpage. findview (workbenchpage. Java: 1989)
At com. geocompass. geosearch. showviewaction. windowopened (showviewaction. Java: 98)
At org. Eclipse. UI. Internal. workbench $ 12.run( workbench. Java: 960)
At org. Eclipse. Core. runtime. saferunner. Run (saferunner. Java: 42)
At org. Eclipse. UI. Internal. workbench. firewindowopened (workbench. Java: 958)
At org. Eclipse. UI. Internal. workbenchwindow. firewindowopened (workbenchwindow. Java: 1357)
At org. Eclipse. UI. Internal. workbenchwindow. Open (workbenchwindow. Java: 826)
At org. Eclipse. UI. Internal. workbench $24. runwithexception (workbench. Java: 1238)
At org. Eclipse. UI. Internal. startupthreading $ startuprunnable. Run (startupthreading. Java: 31)
At org. Eclipse. SWT. Widgets. runnablelock. Run (runnablelock. Java: 35)
At org. Eclipse. SWT. Widgets. synchronizer. runasyncmessages (synchronizer. Java: 135)
At org. Eclipse. SWT. Widgets. display. runasyncmessages (display. Java: 4140)
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 3757)
At org. Eclipse. UI. application. workbenchadvisor. openwindows (workbenchadvisor. Java: 803)
At org. Eclipse. UI. Internal. workbench $33. runwithexception (workbench. Java: 1595)
At org. Eclipse. UI. Internal. startupthreading $ startuprunnable. Run (startupthreading. Java: 31)
At org. Eclipse. SWT. Widgets. runnablelock. Run (runnablelock. Java: 35)
At org. Eclipse. SWT. Widgets. synchronizer. runasyncmessages (synchronizer. Java: 135)
At org. Eclipse. SWT. Widgets. display. runasyncmessages (display. Java: 4140)
At org. Eclipse. SWT. Widgets. display. readanddispatch (display. Java: 3757)
At org. Eclipse. UI. Internal. workbench. runui (workbench. Java: 2604)
At org. Eclipse. UI. Internal. workbench. Access $4 (workbench. Java: 2494)
At org. Eclipse. UI. Internal. workbench $ 7.run( workbench. Java: 674)
At org. Eclipse. Core. databinding. observable. realm. runwithdefault (realm. Java: 332)
At org. Eclipse. UI. Internal. workbench. createandrunworkbench (workbench. Java: 667)
At org. Eclipse. UI. platformui. createandrunworkbench (platformui. Java: 149)
At com. geocompass. geosearch. application. Start (application. Java: 63)
At org. Eclipse. Equinox. Internal. App. eclipseapphandle. Run (eclipseapphandle. Java: 196)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. runapplication (eclipseapplauncher. Java: 110)
At org. Eclipse. Core. runtime. Internal. adaptor. eclipseapplauncher. Start (eclipseapplauncher. Java: 79)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 344)
At org. Eclipse. Core. runtime. adaptor. eclipsestarter. Run (eclipsestarter. Java: 179)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 597)
At org. Eclipse. Equinox. launcher. Main. invokeframework (main. Java: 622)
At org. Eclipse. Equinox. launcher. Main. basicrun (main. Java: 577)
At org. Eclipse. Equinox. launcher. Main. Run (main. Java: 1410)
At org. Eclipse. Equinox. launcher. Main. Main (main. Java: 1386)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.