Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-18139

Upload of Server license file without extension fails

    XMLWordPrintable

    Details

    • Story Points:
      3
    • QA Testing:
      UNDECIDED
    • Steps to reproduce:
      Hide

      1) Start a Server with clean DB
      2) On the login page, click the Activate Server link
      3) Click Upload file button and select a valid license with a file that does not have an extension (e.g. license) -> the upload fails, there is an error in the all.log

      Show
      1) Start a Server with clean DB 2) On the login page, click the Activate Server link 3) Click Upload file button and select a valid license with a file that does not have an extension (e.g. license ) -> the upload fails, there is an error in the all.log
    • Additional information:
      Hide

      It also fails when I try to upload the license without an extension via Setup->License, but no error page is shown, just no response from the GUI. The same exception is logged in all.log.

      Show
      It also fails when I try to upload the license without an extension via Setup->License, but no error page is shown, just no response from the GUI. The same exception is logged in all.log.
    • Sprint:
      Green Sprint 102, Green Sprint 103

      Description

      2019-12-17 17:12:10,359[nio-8083-exec-9] context          INFO      javax.faces.FacesException: File must have an extension
      javax.faces.FacesException: File must have an extension
      	at org.primefaces.util.FileUploadUtils.getValidFilename(FileUploadUtils.java:88) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.model.DefaultUploadedFile.getFileName(DefaultUploadedFile.java:58) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.isValidFile(CommonsFileUploadDecoder.java:102) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decodeAdvanced(CommonsFileUploadDecoder.java:94) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decode(CommonsFileUploadDecoder.java:65) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.FileUploadRenderer.decode(FileUploadRenderer.java:74) ~[primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.decode(UIInput.java:771) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1227) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.processDecodes(UIInput.java:676) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1689) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIForm.visitTree(UIForm.java:371) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) [jsf-impl-2.2.15.jar:2.2.15]
      	at org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:63) [primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927) [jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) [jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.15.jar:2.2]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:108) [primefaces-7.0.jar:7.0]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.GzipOutputFilter.doFilter(Main:754) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.SecurityFilter.doFilter(Main:36) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.2.Final.jar:3.4.2.Final]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.CookieFilter.doFilter(Main:37) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.RedirectXmlToJsfFilter.doFilter(Main:45) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.AuthenticationFilter.doFilter(Main:61) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.InitCheckFilter.doFilter(Main:54) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ReverseProxyFilter.doFilter(Main:77) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ClientTrackingFilter.doFilter(Main:47) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.22]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.22]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.22]
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.22]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_231]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_231]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.22]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
      2019-12-17 17:12:10,369[nio-8083-exec-9] lifecycle        WARN      javax.faces.FacesException: File must have an extension
      javax.faces.FacesException: javax.faces.FacesException: File must have an extension
      	at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:273) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:63) ~[primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) [jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.15.jar:2.2]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:108) [primefaces-7.0.jar:7.0]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.GzipOutputFilter.doFilter(Main:754) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.SecurityFilter.doFilter(Main:36) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.2.Final.jar:3.4.2.Final]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.CookieFilter.doFilter(Main:37) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.RedirectXmlToJsfFilter.doFilter(Main:45) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.AuthenticationFilter.doFilter(Main:61) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.InitCheckFilter.doFilter(Main:54) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ReverseProxyFilter.doFilter(Main:77) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ClientTrackingFilter.doFilter(Main:47) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.22]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.22]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.22]
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.22]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_231]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_231]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.22]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
      Caused by: javax.faces.FacesException: File must have an extension
      	at org.primefaces.util.FileUploadUtils.getValidFilename(FileUploadUtils.java:88) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.model.DefaultUploadedFile.getFileName(DefaultUploadedFile.java:58) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.isValidFile(CommonsFileUploadDecoder.java:102) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decodeAdvanced(CommonsFileUploadDecoder.java:94) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decode(CommonsFileUploadDecoder.java:65) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.FileUploadRenderer.decode(FileUploadRenderer.java:74) ~[primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.decode(UIInput.java:771) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1227) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.processDecodes(UIInput.java:676) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1689) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIForm.visitTree(UIForm.java:371) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) ~[jsf-impl-2.2.15.jar:2.2.15]
      	... 68 more
      2019-12-17 17:12:10,372[nio-8083-exec-9] ExceptionHandler ERROR     File must have an extension
      javax.faces.FacesException: File must have an extension
      	at org.primefaces.util.FileUploadUtils.getValidFilename(FileUploadUtils.java:88) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.model.DefaultUploadedFile.getFileName(DefaultUploadedFile.java:58) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.isValidFile(CommonsFileUploadDecoder.java:102) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decodeAdvanced(CommonsFileUploadDecoder.java:94) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.CommonsFileUploadDecoder.decode(CommonsFileUploadDecoder.java:65) ~[primefaces-7.0.jar:7.0]
      	at org.primefaces.component.fileupload.FileUploadRenderer.decode(FileUploadRenderer.java:74) ~[primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:832) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.decode(UIInput.java:771) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1227) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIInput.processDecodes(UIInput.java:676) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:573) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1689) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIForm.visitTree(UIForm.java:371) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:403) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:266) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at org.primefaces.context.PrimePartialViewContext.processPartial(PrimePartialViewContext.java:63) ~[primefaces-7.0.jar:7.0]
      	at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:927) ~[jsf-api-2.2.15.jar:2.2]
      	at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) ~[jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.15.jar:2.2.15]
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.15.jar:2.2.15]
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.15.jar:2.2]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:108) [primefaces-7.0.jar:7.0]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.GzipOutputFilter.doFilter(Main:754) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.SecurityFilter.doFilter(Main:36) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-websocket.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.2.Final.jar:3.4.2.Final]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.CookieFilter.doFilter(Main:37) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.RedirectXmlToJsfFilter.doFilter(Main:45) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.AuthenticationFilter.doFilter(Main:61) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-5.1.2.RELEASE.jar:5.1.2.RELEASE]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.InitCheckFilter.doFilter(Main:54) [cs.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ReverseProxyFilter.doFilter(Main:77) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at com.cloveretl.server.filter.ClientTrackingFilter.doFilter(Main:47) [cs.jar:?]
      	at com.cloveretl.server.worker.commons.filter.HttpFilterBase.doFilter(Main:41) [cloveretl.server.worker.commons.jar:?]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [catalina.jar:9.0.22]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [catalina.jar:9.0.22]
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678) [catalina.jar:9.0.22]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.22]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.22]
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-coyote.jar:9.0.22]
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) [tomcat-coyote.jar:9.0.22]
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote.jar:9.0.22]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_231]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_231]
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.22]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_231]
      

        Attachments

          Activity

            People

            Assignee:
            botkar Roland Botka
            Reporter:
            hajekt Tomas Hajek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: