09:38:05,525 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.jdbc.datasource.ConnectionHolder@1df5c9fc] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] to thread [http-bio-8080-exec-9] 09:38:05,525 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.orm.hibernate4.SessionHolder@739fcec1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] to thread [http-bio-8080-exec-9] 09:38:05,525 DEBUG TransactionSynchronizationManager:222 - Initializing transaction synchronization 09:38:05,526 DEBUG TransactionInterceptor:282 - Getting transaction for [com.plexus.gong.services.informes.IInformesService.getInformeVOById] 09:38:05,526 DEBUG TransactionSynchronizationManager:140 - Retrieved value [org.springframework.orm.hibernate4.SessionHolder@739fcec1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] bound to thread [http-bio-8080-exec-9] Hibernate: /* load com.plexus.gong.model.informes.InformeVO */ select informevo0_.id as id1_6_0_, informevo0_.id_proyecto as id2_6_0_, informevo0_.periodo as periodo3_6_0_, informevo0_.tipo_periodo as tipo4_6_0_, informevo0_.nombre as nombre5_6_0_, informevo0_.fecha_creacion as fecha6_6_0_, informevo0_.fecha_modificacion as fecha7_6_0_, informevo0_.estado as estado8_6_0_, (select count(*) from informes_generados inf where inf.id_informe = informevo0_.id ) as formula0_0_, (SELECT EXISTS(SELECT inf_zip.id FROM informes_zip inf_zip where inf_zip.id_informe = informevo0_.id)) as formula1_0_ from gongr_tama.informes informevo0_ where informevo0_.id=? 09:38:05,527 DEBUG TransactionInterceptor:312 - Completing transaction for [com.plexus.gong.services.informes.IInformesService.getInformeVOById] 09:38:05,527 DEBUG TransactionSynchronizationManager:276 - Clearing transaction synchronization 09:38:05,528 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.orm.hibernate4.SessionHolder@739fcec1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] from thread [http-bio-8080-exec-9] 09:38:05,528 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@1df5c9fc] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] from thread [http-bio-8080-exec-9] 09:38:05,528 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.jdbc.datasource.ConnectionHolder@7c0f8200] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] to thread [http-bio-8080-exec-9] 09:38:05,528 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.orm.hibernate4.SessionHolder@5e200da1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] to thread [http-bio-8080-exec-9] 09:38:05,529 DEBUG TransactionSynchronizationManager:222 - Initializing transaction synchronization 09:38:05,529 DEBUG TransactionInterceptor:282 - Getting transaction for [com.plexus.gong.services.excels.IExcelService.descargaFicheroDocAsociada] 09:38:05,529 DEBUG TransactionSynchronizationManager:140 - Retrieved value [org.springframework.orm.hibernate4.SessionHolder@5e200da1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] bound to thread [http-bio-8080-exec-9] Hibernate: /* criteria query */ select this_.id as id1_7_0_, this_.id_informe as id2_7_0_, this_.id_pestanya as id3_7_0_, this_.fecha as fecha4_7_0_, this_.version as version5_7_0_, this_.version_final as version6_7_0_, this_.nombre as nombre7_7_0_, this_.tipo as tipo8_7_0_ from gongr_tama.informes_generados this_ where this_.id_informe=? Hibernate: /* criteria query */ select this_.id as id1_7_0_, this_.id_informe as id2_7_0_, this_.id_pestanya as id3_7_0_, this_.fecha as fecha4_7_0_, this_.version as version5_7_0_, this_.version_final as version6_7_0_, this_.nombre as nombre7_7_0_, this_.tipo as tipo8_7_0_ from gongr_tama.informes_generados this_ where this_.id_informe=? and this_.id_pestanya=? Hibernate: /* criteria query */ select this_.id as id1_7_0_, this_.id_informe as id2_7_0_, this_.id_pestanya as id3_7_0_, this_.fecha as fecha4_7_0_, this_.version as version5_7_0_, this_.version_final as version6_7_0_, this_.nombre as nombre7_7_0_, this_.tipo as tipo8_7_0_ from gongr_tama.informes_generados this_ where this_.id_informe=? and this_.id_pestanya=? and this_.version=? Hibernate: /* criteria query */ select this_.id as id1_7_0_, this_.id_informe as id2_7_0_, this_.id_pestanya as id3_7_0_, this_.fecha as fecha4_7_0_, this_.version as version5_7_0_, this_.version_final as version6_7_0_, this_.nombre as nombre7_7_0_, this_.tipo as tipo8_7_0_ from gongr_tama.informes_generados this_ where this_.id_informe=? and this_.id_pestanya=? and this_.version=? order by this_.version desc limit ? 09:38:05,532 DEBUG TransactionInterceptor:312 - Completing transaction for [com.plexus.gong.services.excels.IExcelService.descargaFicheroDocAsociada] 09:38:05,532 DEBUG TransactionSynchronizationManager:276 - Clearing transaction synchronization 09:38:05,533 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.orm.hibernate4.SessionHolder@5e200da1] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] from thread [http-bio-8080-exec-9] 09:38:05,533 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@7c0f8200] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] from thread [http-bio-8080-exec-9] 09:38:05,635 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.jdbc.datasource.ConnectionHolder@e0269a6] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] to thread [http-bio-8080-exec-9] 09:38:05,635 DEBUG TransactionSynchronizationManager:168 - Bound value [org.springframework.orm.hibernate4.SessionHolder@40661879] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] to thread [http-bio-8080-exec-9] 09:38:05,635 DEBUG TransactionSynchronizationManager:222 - Initializing transaction synchronization 09:38:05,635 DEBUG TransactionInterceptor:282 - Getting transaction for [com.plexus.gong.services.pestanyas.IPestanyasService.getPestanyaById] 09:38:05,636 DEBUG TransactionSynchronizationManager:140 - Retrieved value [org.springframework.orm.hibernate4.SessionHolder@40661879] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] bound to thread [http-bio-8080-exec-9] Hibernate: /* load com.plexus.gong.model.pestanyas.PestanyaVO */ select pestanyavo0_.id as id1_2_0_, pestanyavo0_.codigo as codigo2_2_0_, pestanyavo0_.descripcion as descripc3_2_0_, pestanyavo0_.abreviatura as abreviat4_2_0_, pestanyavo0_.tipo as tipo5_2_0_, pestanyavo0_.nombre_excel as nombre6_2_0_, pestanyavo0_.final as final7_2_0_, pestanyavo0_.carpeta as carpeta8_2_0_, pestanyavo0_.orden as orden9_2_0_ from gongr_tama.contenidos_informes pestanyavo0_ where pestanyavo0_.id=? Hibernate: /* load one-to-many com.plexus.gong.model.pestanyas.PestanyaVO.informesGeneradoses */ select informesge0_.id_pestanya as id3_2_1_, informesge0_.id as id1_7_1_, informesge0_.id as id1_7_0_, informesge0_.id_informe as id2_7_0_, informesge0_.id_pestanya as id3_7_0_, informesge0_.fecha as fecha4_7_0_, informesge0_.version as version5_7_0_, informesge0_.version_final as version6_7_0_, informesge0_.nombre as nombre7_7_0_, informesge0_.tipo as tipo8_7_0_ from gongr_tama.informes_generados informesge0_ where informesge0_.id_pestanya=? 09:38:05,638 DEBUG TransactionInterceptor:312 - Completing transaction for [com.plexus.gong.services.pestanyas.IPestanyasService.getPestanyaById] 09:38:05,639 DEBUG TransactionSynchronizationManager:276 - Clearing transaction synchronization 09:38:05,639 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.orm.hibernate4.SessionHolder@40661879] for key [org.hibernate.internal.SessionFactoryImpl@67f9969] from thread [http-bio-8080-exec-9] 09:38:05,639 DEBUG TransactionSynchronizationManager:193 - Removed value [org.springframework.jdbc.datasource.ConnectionHolder@e0269a6] for key [org.apache.commons.dbcp.BasicDataSource@75908eeb] from thread [http-bio-8080-exec-9] java.lang.NullPointerException at com.plexus.gong.controller.AplicacionController.error(AplicacionController.java:64) at sun.reflect.GeneratedMethodAccessor498.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:479) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:453) at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:324) at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:191) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701)