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: 11: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: 16: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: 16: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" Trados Business Manager Lite | Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.
More info » |
| CafeTran Espresso | You've never met a CAT tool this clever!
Translate faster & easier, using a sophisticated CAT tool built by a translator / developer.
Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools.
Download and start using CafeTran Espresso -- for free
Buy now! » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |