Help: error message "Comparison method violates its general contract" Thread poster: Floriana Fascritti
|
Hi everyone, I am a new user of OmegaT. I have a problem with uploading a file that I need to translate. The message error is as follows: "Failed to load specified project! java.io.IOException: /Users/floriana/Documents/.../source/bilancio 2015.pdf java.lang.IllegalArgumentException: Comparison method violates its general contract" What does this mean? And how can I solve it? Thanks in advance for your help. Floriana | | | Susan Welsh United States Local time: 15:20 Russian to English + ...
This is a "java" thing, incomprehensible to ordinary mortals such as myself. It doesn't seem to have anything to do with OmegaT itself, which uses java, or with the file you tried to upload. Until an expert replies to you, I suggest updating your java version and trying again. ... See more This is a "java" thing, incomprehensible to ordinary mortals such as myself. It doesn't seem to have anything to do with OmegaT itself, which uses java, or with the file you tried to upload. Until an expert replies to you, I suggest updating your java version and trying again. If you're in a hurry, ask the Yahoo group: https://groups.yahoo.com/neo/groups/OmegaT/conversations/messages ▲ Collapse | | | Didier Briel France Local time: 21:20 English to French + ... More details needed | Oct 31, 2018 |
Floriana Fascritti wrote: I am a new user of OmegaT. I have a problem with uploading a file that I need to translate. The message error is as follows: "Failed to load specified project! java.io.IOException: /Users/floriana/Documents/.../source/bilancio 2015.pdf java.lang.IllegalArgumentException: Comparison method violates its general contract" What does this mean? This is probably a bug, either in OmegaT, or in the library used by OmegaT to load PDF files. Or (in rare cases), it could be a mixed case, where the PDF document is not conform to specifications. And how can I solve it? By giving more details. To start with: version of OmegaT, operating system, version of Java. Once these are checked, you may have to provide the document to the OmegaT development team, so that we can check what is happening. As Susan wrote, it's probably best to subscribe to the Yahoo support group, so that we can follow-up on this. Didier | | | Here are more details | Oct 31, 2018 |
Thanks for both your answers. I have just tried updating my version of Java passing from Java 8 Update 181 to Java 8 Update 191. After this I tried to upload the file again, but it still doesn't work. I have other files which have similar characteristics and for some of them I don't have any problem uploading them on OmegaT. Anyways, here are the details you (Didier) requested (sorry I don't know how to use quote in this forum): Java 8 Update 191 ... See more Thanks for both your answers. I have just tried updating my version of Java passing from Java 8 Update 181 to Java 8 Update 191. After this I tried to upload the file again, but it still doesn't work. I have other files which have similar characteristics and for some of them I don't have any problem uploading them on OmegaT. Anyways, here are the details you (Didier) requested (sorry I don't know how to use quote in this forum): Java 8 Update 191 Mac OSX Mojave 10.14 OmegaT 3.6.0_10 I was wondering if I should download OmegaT latest version. I will try and ask also in the Yahoo Group OmegaT support forum, but maybe you already have an answer with these details. Thanks again a lot! Floriana ▲ Collapse | |
|
|
Didier Briel France Local time: 21:20 English to French + ... Try with OmegaT 4 | Oct 31, 2018 |
Floriana Fascritti wrote: I have just tried updating my version of Java passing from Java 8 Update 181 to Java 8 Update 191. This cannot change anything, as the Mac version provides its own version of the JRE. OmegaT 3.6.0_10 I was wondering if I should download OmegaT latest version. Yes. OmegaT 3.6 uses pdfbox-app (the library used to handle PDF files) 1.8.1, while OmegaT 4.1 uses 2.0.11. In addition, OmegaT now handles correctly password-protected files (which can be a reason for failure). Didier | | |
Thanks Didier, I will try the latest version then. | | | There is no moderator assigned specifically to this forum. To report site rules violations or get help, please contact site staff » Help: error message "Comparison method violates its general contract" Protemos translation business management system | Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!
The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.
More info » |
| TM-Town | Manage your TMs and Terms ... and boost your translation business
Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |