Skip to content

Instantly share code, notes, and snippets.

@KaeruCT
Created April 26, 2014 22:42
Show Gist options
  • Save KaeruCT/11333134 to your computer and use it in GitHub Desktop.
Save KaeruCT/11333134 to your computer and use it in GitHub Desktop.
javax.persistence.EntityNotFoundException: Unable to find com.gangfive.sima.ejb.Nutricionista with id 88org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:155)org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:261)org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:175)org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:285)org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:185)com.gangfive.sima.ejb.Nutricionista_$$_javassist_7.getId(Nutricionista_$$_javassist_7.java)com.gangfive.sima.pojo.UsuarioPOJO.<init>(UsuarioPOJO.java:28)com.gangfive.sima.pojo.NutricionistaPOJO.<init>(NutricionistaPOJO.java:26)com.gangfive.sima.pojo.RetoPOJO.setNutricionista(RetoPOJO.java:161)com.gangfive.sima.pojo.RetoPOJO.<init>(RetoPOJO.java:48)com.gangfive.sima.controllers.RetosController.findByUsuario(RetosController.java:213)com.gangfive.sima.controllers.RetosController$$FastClassByCGLIB$$970455e2.invoke(<generated>)org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)com.gangfive.sima.controllers.RetosController$$EnhancerByCGLIB$$5d146b9c.findByUsuario(<generated>)sun.reflect.GeneratedMethodAccessor305.invoke(Unknown Source)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:606)com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)javax.servlet.http.HttpServlet.service(HttpServlet.java:722)org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)com.gangfive.sima.config.WSFilter.doFilter(WSFilter.java:54)org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)com.gangfive.sima.config.PassthroughFilter.doFilter(PassthroughFilter.java:33)com.gangfive.sima.config.WSFilter.doFilter(WSFilter.java:54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment