-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.0.0 DXP FP88, 7.0.10.13 DXP SP13, 7.0.X, 7.1.10 DXP FP15, 7.1.X, 7.2.10 DXP FP1, 7.2.1 CE GA2, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Core Infrastructure, Documents & Media
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Story Points:0.25
-
Fix Priority:3
-
Git Pull Request:
Thumbnails and Previews are not generated and an error is thrown with some PDFs generated from scanned documents
Steps to reproduce
- Go to Document library
- Upload one of the attached PDFs, for example: A04871-04872.pdf
or sigice9_172.Adobe.pdf
- Check document thumbnail and preview:
- Expected behavior: thumbnail and preview are correctly generated
- Wrong behavior: thumbnail and preview are not correctly generated, a blank page is displayed
- Expected behavior: thumbnail and preview are correctly generated
- Check log file:
- Expected behavior: no error is written to log file
- Wrong behavior: some "Cannot read JBIG2 image" errors are written to log file
Jun 14, 2019 10:31:02 AM com.liferay.portal.kernel.log.Jdk14LogImpl info INFO: Detected server tomcat 2019-06-14 10:31:03.425 ERROR [main][PDFStreamEngine:211] Cannot read JBIG2 image: jbig2-imageio is not installed 2019-06-14 10:31:04.699 INFO [main][PropsUtil:385] Global shared lib directory /C:/Liferay/Bundles_Builds/portal-master/tomcat-9.0.17/lib/ 2019-06-14 10:31:04.702 INFO [main][PropsUtil:396] Global lib directory /C:/Liferay/Bundles_Builds/portal-master/tomcat-9.0.17/lib/ext/ 2019-06-14 10:31:04.704 INFO [main][PropsUtil:419] Portal lib directory /C:/Liferay/Bundles_Builds/portal-master/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/ Loading jar:file:/C:/Liferay/Bundles_Builds/portal-master/tomcat-9.0.17/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties 2019-06-14 10:31:05.297 ERROR [main][PDFStreamEngine:211] Cannot read JBIG2 image: jbig2-imageio is not installed
- Expected behavior: no error is written to log file
- Discovered while testing
-
LPS-96651 FileUtil.extractText is not working correctly in case of configuring text.extraction.fork.process.enabled=true
- Closed