-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
During an attempt to upload a pdf file (37 MB size), it seems that the virusScan failed with no error message.
We saw that the failure was in io.sensesecure.clamav4j.ClamAV class at
scan(InputStream inputStream, InetSocketAddress address, int timeout) method.
com.eurodyn.qlack.util.av.api.exception.VirusScanException: Could not check file for virus
at com.eurodyn.qlack.util.clamav.service.impl.ClamAvServiceImpl.virusScan(ClamAvServiceImpl.java:71)
[...]
2022-01-11 15:50:27.225 ERROR 18360 --- [io-8080-exec-10] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.eurodyn.qlack.common.exception.QExceptionWrapper: Could not validate pdf.] with root cause
[...]
com.eurodyn.qlack.common.exception.QExceptionWrapper: Could not validate pdf.
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
Regards,
Dimitris