Alguém pode me ajudar estou tentando gerar um bean que busca os dados gera a planilha salva os dados na planilha e faz o download da planilha porem esta dando este erro, alguém consegue me dar um help?
15:28:27,673 ERROR [stderr] (default task-45) java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
15:28:27,674 ERROR [stderr] (default task-45) at java.util.ArrayList.rangeCheck(Unknown Source)
15:28:27,674 ERROR [stderr] (default task-45) at java.util.ArrayList.get(Unknown Source)
15:28:27,674 ERROR [stderr] (default task-45) at jxl.write.biff.WritableWorkbookImpl.getSheet(WritableWorkbookImpl.java:408)
15:28:27,674 ERROR [stderr] (default task-45) at jxl.write.biff.WritableWorkbookImpl.write(WritableWorkbookImpl.java:794)
15:28:27,674 ERROR [stderr] (default task-45) at com.cad.beans.digitalizacaoNf.RelatorioTituloMeiBean.gerarRelatorio(RelatorioTituloMeiBean.java:115)
15:28:27,674 ERROR [stderr] (default task-45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:28:27,674 ERROR [stderr] (default task-45) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
15:28:27,674 ERROR [stderr] (default task-45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:28:27,674 ERROR [stderr] (default task-45) at java.lang.reflect.Method.invoke(Unknown Source)
15:28:27,674 ERROR [stderr] (default task-45) at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)
15:28:27,674 ERROR [stderr] (default task-45) at com.sun.el.parser.AstValue.invoke(AstValue.java:289)
15:28:27,674 ERROR [stderr] (default task-45) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
15:28:27,674 ERROR [stderr] (default task-45) at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
15:28:27,674 ERROR [stderr] (default task-45) at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
15:28:27,674 ERROR [stderr] (default task-45) at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
15:28:27,674 ERROR [stderr] (default task-45) at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:149)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:814)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.component.UICommand.broadcast(UICommand.java:300)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
15:28:27,674 ERROR [stderr] (default task-45) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
15:28:27,674 ERROR [stderr] (default task-45) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
15:28:27,674 ERROR [stderr] (default task-45) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
15:28:27,675 ERROR [stderr] (default task-45) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
15:28:27,675 ERROR [stderr] (default task-45) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658)
15:28:27,675 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
15:28:27,675 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
15:28:27,675 ERROR [stderr] (default task-45) at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:78)
15:28:27,675 ERROR [stderr] (default task-45) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
15:28:27,675 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:168)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
15:28:27,675 ERROR [stderr] (default task-45) at com.spring.infra.FilterLogin.doFilter(FilterLogin.java:91)
15:28:27,675 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
15:28:27,676 ERROR [stderr] (default task-45) at com.spring.infra.FilterLogin.doFilter(FilterLogin.java:91)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
15:28:27,676 ERROR [stderr] (default task-45) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
15:28:27,676 ERROR [stderr] (default task-45) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
15:28:27,676 ERROR [stderr] (default task-45) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
15:28:27,677 ERROR [stderr] (default task-45) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
15:28:27,678 ERROR [stderr] (default task-45) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
15:28:27,678 ERROR [stderr] (default task-45) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
15:28:27,678 ERROR [stderr] (default task-45) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
15:28:27,678 ERROR [stderr] (default task-45) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
15:28:27,678 ERROR [stderr] (default task-45) at java.lang.Thread.run(Unknown Source)
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-3) Trigger COMERCIAL.Confirmar NFs estoquista Dealer Workflow fired job COMERCIAL.Confirmar NFs estoquista Dealer Workflow next: 15:35:00 05/15/2018
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-4) Trigger COMERCIAL.Atualizar Produto Anúncio fired job COMERCIAL.Atualizar Produto Anúncio next: 16:00:00 05/15/2018
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-2) Trigger NFE.Baixa Cte fired job NFE.Baixa Cte next: 16:00:00 05/15/2018
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-2) Baixa Cte InÃcio
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-4) Atualizar Produto Anúncio InÃcio
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-3) Confirmar NFs estoquista Dealer Workflow InÃcio
15:30:00,003 INFO [stdout] (ScheduleCad2Testes_Worker-4) NORMAL
15:30:00,003 INFO [stdout] (ScheduleCad2Testes_Worker-3) NORMAL
15:30:00,003 INFO [stdout] (ScheduleCad2Testes_Worker-2) NORMAL
15:30:00,003 INFO [com.cad.batchs.BatchAtualizarProdutoAnuncio] (ScheduleCad2Testes_Worker-4) Atualizar Produto Anúncio - JBOSS NODE: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchBaixaCteDfe] (ScheduleCad2Testes_Worker-2) Baixa Cte - JBOSS NODE: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchConfirmaNotasEstoquistaDealerWorkflow] (ScheduleCad2Testes_Worker-3) Confirmar NFs estoquista Dealer Workflow - JBOSS NODE: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchAtualizarProdutoAnuncio] (ScheduleCad2Testes_Worker-4) Atualizar Produto Anúncio - HOST NAME: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchBaixaCteDfe] (ScheduleCad2Testes_Worker-2) Baixa Cte - HOST NAME: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchConfirmaNotasEstoquistaDealerWorkflow] (ScheduleCad2Testes_Worker-3) Confirmar NFs estoquista Dealer Workflow - HOST NAME: go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchAtualizarProdutoAnuncio] (ScheduleCad2Testes_Worker-4) Execução cancelada. - go01vwdes09 - go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchBaixaCteDfe] (ScheduleCad2Testes_Worker-2) Execução cancelada. - go01vwdes09 - go01vwdes09
15:30:00,003 INFO [com.cad.batchs.BatchConfirmaNotasEstoquistaDealerWorkflow] (ScheduleCad2Testes_Worker-3) Execução cancelada. - go01vwdes09 - go01vwdes09
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-4) Trigger COMERCIAL.Atualizar Produto Anúncio completed next 16:00:00 05/15/2018
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-2) Trigger NFE.Baixa Cte completed next 16:00:00 05/15/2018
15:30:00,003 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] (ScheduleCad2Testes_Worker-3) Trigger COMERCIAL.Confirmar NFs estoquista Dealer Workflow completed next 15:35:00 05/15/2018
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-2) Finalizado com sucesso Web Service de Distribuição de DF - e de Interesse dos Atores da CT-e (PF ou PJ) NOOP
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-4) Finalizado com sucesso Atualiza informações dos produtos anunciados NOOP
15:30:00,003 INFO [com.cad.infra.batchs.TriggerListenerImpl] (ScheduleCad2Testes_Worker-3) Finalizado