-
Notifications
You must be signed in to change notification settings - Fork 250
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
NullPointerException #431
Comments
Hi @jheinecke , I had a null pointer exception with a very similar stack, and looking into it the reason was I had Tesseract 4.x installed and Audiveris is not compatible with 4.x data files. To fix this, I downloaded the eng, fra and deu files from https://github.com/tesseract-ocr/tessdata/tree/074c37215b01ab8cc47a0e06ff7356383883d775 (the commit for the last tesseract data 3.x) and placed them in a folder named |
Hi @hallvors, this is exactly what I did (see my initial posting above), I use tesseract 3.04 (as the log says) but it still crashes. Which Java-version do you use ? |
Ah, apologies @jheinecke - I should have noticed that. Do you have TESSDATA_PREFIX set to make absolutely sure the Tesseract bundled with Audiveris finds the 3.x data files? I did test your file with and without this setting before commenting, so it still seems like an issue with the Tesseract configuration to me. In any case I happen to use the |
@jheinecke You simply need to use the "development" branch rather than the default "master" branch.
Then proceed to build with gradlew as usual. |
Note that to build development branch you need to use JDK version 11, not 8. I was clearly led astray here by the fact much of this crash stack is in fairly generic code and will probably be similar for many crashes. Apologies again. |
Hi, |
I still have NullPointerException when trying to process page 3 of https://imslp.eu/files/imglnks/euimg/f/fb/IMSLP637118-PMLP126416-Vivaldi-Concerto_Grosso_op3_no11_Arr_Klengel-violin_2.pdf (on the other hand, page 2 passes well). I'm well aware of the Tesseract v4 problem, so I use Tesseract 3.04 and the data which go with it (English, French, Italian, German). I cloned the git repository and ran:
I use the following configuration on Ubuntu 18.04:
processing always terminates with
So I'm stuck and cannot use this great piece of software. Is there a workaround?
The text was updated successfully, but these errors were encountered: