Struts Problem Report

Struts has detected an unhandled exception:

Messages:
  • No row with the given identifier exists: [br.gov.mg.pmmg.entity.portal.Destaque#12761]
  • File: org/hibernate/impl/SessionFactoryImpl.java
    Line number: 377

    Stacktraces

    org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [br.gov.mg.pmmg.entity.portal.Destaque#12761]
        org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
        org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
        org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:68)
        org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
        org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
        br.gov.mg.pmmg.entity.portal.Destaque$$EnhancerByCGLIB$$54f47c09.toString(<generated>)
        java.lang.String.valueOf(String.java:2849)
        java.lang.StringBuilder.append(StringBuilder.java:128)
        br.gov.mg.pmmg.app.aop.LoggerInterceptor.tracedInvocationByInfo(LoggerInterceptor.java:98)
        br.gov.mg.pmmg.app.aop.LoggerInterceptor.invoke(LoggerInterceptor.java:35)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
        br.gov.mg.pmmg.app.persistencia.hib.HibernateDAO$$EnhancerByCGLIB$$ac8a3e29.findByPrimaryKey(<generated>)
        br.gov.mg.pmmg.patterns.persistencia.CrudDAO.findByPrimaryKey(CrudDAO.java:74)
        br.gov.mg.pmmg.dao.itemmenu.ItemMenuDAO.recuperarDestaquePorId(ItemMenuDAO.java:36)
        br.gov.mg.pmmg.business.itemmenu.ItemMenuBD.recuperarDestaquePorId(ItemMenuBD.java:32)
        br.gov.mg.pmmg.business.itemmenu.ItemMenuBD$$FastClassByCGLIB$$6c81c463.invoke(<generated>)
        net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        br.gov.mg.pmmg.app.aop.LoggerInterceptor.normalInvocation(LoggerInterceptor.java:48)
        br.gov.mg.pmmg.app.aop.LoggerInterceptor.tracedInvocationByInfo(LoggerInterceptor.java:91)
        br.gov.mg.pmmg.app.aop.LoggerInterceptor.invoke(LoggerInterceptor.java:35)
        org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)
        br.gov.mg.pmmg.business.ConteudoBD$$EnhancerByCGLIB$$b4bd41ce.recuperarDestaquePorId(<generated>)
        br.gov.mg.pmmg.struts.portal.itemmenu.ItemMenuAction.gerarMigalhaPaoDestaque(ItemMenuAction.java:88)
        br.gov.mg.pmmg.struts.portal.itemmenu.ItemMenuAction.load(ItemMenuAction.java:195)
        br.gov.mg.pmmg.struts.portal.itemmenu.ConteudoAction.load(ConteudoAction.java:102)
        sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:606)
        org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:162)
        br.gov.mg.pmmg.app.struts.MethodUtilsWrapper.invokeMethod(MethodUtilsWrapper.java:43)
        br.gov.mg.pmmg.app.struts.BaseAppAction.execute(BaseAppAction.java:117)
        sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        java.lang.reflect.Method.invoke(Method.java:606)
        ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:892)
        ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1294)
        ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
        com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:117)
        com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:108)
        ognl.OgnlRuntime.callMethod(OgnlRuntime.java:1370)
        ognl.ASTMethod.getValueBody(ASTMethod.java:91)
        ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
        ognl.SimpleNode.getValue(SimpleNode.java:258)
        ognl.Ognl.getValue(Ognl.java:467)
        ognl.Ognl.getValue(Ognl.java:431)
        com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:352)
        com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:404)
        com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:350)
        com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:430)
        com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:290)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:251)
        com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:229)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:245)
        org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:575)
        org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:434)
        io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
        io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
        br.gov.mg.pmmg.app.filter.ISO88591Filter.doFilter(ISO88591Filter.java:25)
        io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
        io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
        org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
        io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
        br.gov.mg.pmmg.struts.UnidadeFiltro.doFilter(UnidadeFiltro.java:113)
        io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)
        io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
        io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
        io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
        io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
        io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
        io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
        io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
        io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
        io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
        io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
        io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
        io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
        java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        java.lang.Thread.run(Thread.java:745)