GitHub PushEvent at 2014-08-25 13:03:04
Repository: repcurso
Actor: githubaalvarez
Payload: {"shas":[["e20b1f5f730bc5c701e15b405a447db0d4e27f87","275d9afef4ce86a5dbd107d1a8068190c540a520@tcpsi.es","TRas esta entrega no inserta ni actualiza, ni borra\nel borrado ademas lanza \nGRAVE: Servlet.service() para servlet ControladorLibros lanzó excepción\norg.springframework.dao.InvalidDataAccessApiUsageException: Removing a\ndetached instance com.arquitecturajava.aplicacion.bo.Libro#233; nested\nexception is java.lang.IllegalArgumentException: Removing a detached\ninstance com.arquitecturajava.aplicacion.bo.Libro#233\n\tat\norg.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:286)\n\tat\norg.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:104)\n\tat\norg.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)\n\tat\norg.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:152)\n\tat\norg.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:188)\n\tat org.springframework.orm.jpa.JpaTemplate.remove(JpaTemplate.java:279)\n\tat\ncom.arquitecturajava.dao.jpa.GenericDAOJPAImpl.borrar(GenericDAOJPAImpl.java:30)\n\tat\ncom.arquitecturajava.dao.jpa.LibroDAOJPAImpl.borrar(LibroDAOJPAImpl.java:1)\n\tat\ncom.arquitecturajava.aplicacion.servicios.impl.ServicioLibrosImpl.borrarLibro(ServicioLibrosImpl.java:54)\n\tat\ncom.arquitecturajava.aplicacion.controlador.acciones.BorrarLibroAccion.ejecutar(BorrarLibroAccion.java:14)\n\tat\ncom.arquitecturajava.aplicacion.controlador.ControladorLibros.doGet(ControladorLibros.java:27)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:620)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:727)\n\tat\norg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat\norg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat\norg.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat\norg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat\norg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat\norg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat\norg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat\norg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)\n\tat\norg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)\n\tat\norg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\n\tat\norg.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\n\tat\norg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat\norg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)\n\tat\norg.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)\n\tat\norg.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)\n\tat\norg.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\n\tat\norg.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Unknown Source)\nCaused by: java.lang.IllegalArgumentException: Removing a detached\ninstance com.arquitecturajava.aplicacion.bo.Libro#233\n\tat\norg.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeletionCheck(EJB3DeleteEventListener.java:65)\n\tat\norg.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:107)\n\tat\norg.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73)\n\tat org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:956)\n\tat org.hibernate.impl.SessionImpl.delete(SessionImpl.java:934)\n\tat\norg.hibernate.ejb.AbstractEntityManagerImpl.remove(AbstractEntityManagerImpl.java:869)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n\tat java.lang.reflect.Method.invoke(Unknown Source)\n\tat\norg.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:365)\n\tat com.sun.proxy.$Proxy13.remove(Unknown Source)\n\tat\norg.springframework.orm.jpa.JpaTemplate$7.doInJpa(JpaTemplate.java:281)\n\tat\norg.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:183)","githubaalvarez",true]],"size":1,"ref":"refs/heads/master","head":"e20b1f5f730bc5c701e15b405a447db0d4e27f87"}