Knowledge Base

This section contains miscellaneous information about YajHFC not included in the FAQ or other documentation.

If you did not find the answer you were looking for here, please also see the FAQ and the yajhfc-user mailing list archive.

Problem

If you are using YajHFC 0.5.2 or higher with the PDF plugin you may get the following (or a similar) exception when trying to view a received fax:

An error occured displaying the fax "faxNNNNNNNNN.tif":
All fill bits preceding EOL code must be 0.

java.lang.RuntimeException: All fill bits preceding EOL code must be 0.
    at com.itextpdf.text.pdf.codec.TIFFFaxDecoder.readEOL(TIFFFaxDecoder.java:1307)
    at com.itextpdf.text.pdf.codec.TIFFFaxDecoder.decode2D(TIFFFaxDecoder.java:797)
    at com.itextpdf.text.pdf.codec.TiffImage.getTiffImage(TiffImage.java:237)
    at com.itextpdf.text.pdf.codec.TiffImage.getTiffImage(TiffImage.java:106)
    at yajhfc.file.pdf.ITextTIFFFileConverter.convertToHylaFormat(ITextTIFFFileConverter.java:65)
    at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:102)
    at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:187)
    at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:162)
    at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:491)
    at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189)

When your mail server has a self signed certificate, you may get an exception like the following when trying to send a mail using the YajHFC mailer plugin:

javax.mail.MessagingException: Could not convert socket to TLS;
  nested exception is:
  javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

[...]

Page 1 of 2