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

TikaOnDotNet crashes on one machine, but not another #135

Open
zackeezy opened this issue Jun 17, 2019 · 1 comment
Open

TikaOnDotNet crashes on one machine, but not another #135

zackeezy opened this issue Jun 17, 2019 · 1 comment

Comments

@zackeezy
Copy link

zackeezy commented Jun 17, 2019

I am trying to extract text from a PDF. On my machine where I compiled the DLL, it runs and extracts perfectly, but when I move it to another machine where it is meant to live, it errors out with the following error:

6/14/2019 2:00:08 PM
The program encountered unexpected behavior with this file. Moving to error folder.
Error information: 
Extraction of text from the file 'C:\path\to\pdf\file\350143_06142019_15400.pdf' failed.
Stack Trace: 
   at TikaOnDotNet.TextExtraction.TextExtractor.Extract[TExtractionResult](String filePath, Func`3 extractionResultAssembler)
   at FileProcessor_vAPI.FileProcessor.ParseFile(FileInfo fileInfo)
   at File_Processor.mainForm.uploaderThread_DoWork(Object sender, DoWorkEventArgs e) in 
D:\path\to\cs\file\MainForm.cs:line 539

I'm not sure what could be causing this. Is it a missing dependency? The machines are in a lab so the less I can go back and forth for testing the better. lol

@KevM
Copy link
Owner

KevM commented Jul 16, 2019

Likely you are not distributing all of the IKVM dependencies you need.

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

2 participants