javax.ejb.EJBException

javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu rTx(Ejb3TxPolicy.java:77) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli cy.java:83) at org.jboss.aspects.tx.TxInterceptor$RequiresNew.inv oke(TxInterceptor.java:252) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPropagationInterceptor.invo ke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.BASExceptionStackInterceptor.invok e(BASExceptionStackInterceptor.java:85) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.remoting.ReplicantsManagerInterc eptor.invoke(ReplicantsManagerInterceptor.java:52) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RunAsSecurityInterceptorv2 .invoke(RunAsSecurityInterceptorv2.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.securitymanager.BASEJB3UserRoleCle anupInterceptor.invoke(BASEJB3UserRoleCleanupInter ceptor.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInte rceptorv2.invoke(RoleBasedAuthorizationInterceptor v2.java:201) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.securitymanager.BASEJB3SecurityInt erceptor.invoke(BASEJB3SecurityInterceptor.java:14 4) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationIntercep torv2.invoke(Ejb3AuthenticationInterceptorv2.java: 182) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.BASRemoteExceptionHandlerIntercept or.invoke(BASRemoteExceptionHandlerInterceptor.jav a:130) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(EN CPropagationInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.i nvoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.core.context.CurrentInvocationConte xtInterceptor.invoke(CurrentInvocationContextInter ceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocat ionInterceptor.invoke(CurrentInvocationInterceptor .java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.inv oke(EJB3TCCLInterceptor.java:86) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.session.SessionSpecContainer.invoke (SessionSpecContainer.java:193) at org.jboss.ejb3.session.SessionSpecContainer.invoke (SessionSpecContainer.java:250) at org.jboss.ejb3.proxy.impl.handler.session.SessionP roxyInvocationHandlerBase.invoke(SessionProxyInvoc ationHandlerBase.java:188)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web841

  • via blackberry.com by Unknown author, 10 months ago
    ceptor.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInte rceptorv2.invoke(RoleBasedAuthorizationInterceptor v2.java:201) at
  • via blackberry.com by Unknown author, 1 year ago
    ceptor.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInte rceptorv2.invoke(RoleBasedAuthorizationInterceptor v2.java:201) at
  • javax.persistence.PersistenceException: org.hibernate.type.SerializationException: could not serialize at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu rTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli cy.java:83
  • Stack trace

    • javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu rTx(Ejb3TxPolicy.java:77) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli cy.java:83) at org.jboss.aspects.tx.TxInterceptor$RequiresNew.inv oke(TxInterceptor.java:252) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPropagationInterceptor.invo ke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.BASExceptionStackInterceptor.invok e(BASExceptionStackInterceptor.java:85) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.remoting.ReplicantsManagerInterc eptor.invoke(ReplicantsManagerInterceptor.java:52) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RunAsSecurityInterceptorv2 .invoke(RunAsSecurityInterceptorv2.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.securitymanager.BASEJB3UserRoleCle anupInterceptor.invoke(BASEJB3UserRoleCleanupInter ceptor.java:94) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.RoleBasedAuthorizationInte rceptorv2.invoke(RoleBasedAuthorizationInterceptor v2.java:201) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.securitymanager.BASEJB3SecurityInt erceptor.invoke(BASEJB3SecurityInterceptor.java:14 4) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationIntercep torv2.invoke(Ejb3AuthenticationInterceptorv2.java: 182) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at com.rim.bes.bas.BASRemoteExceptionHandlerIntercept or.invoke(BASRemoteExceptionHandlerInterceptor.jav a:130) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(EN CPropagationInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.i nvoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.core.context.CurrentInvocationConte xtInterceptor.invoke(CurrentInvocationContextInter ceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocat ionInterceptor.invoke(CurrentInvocationInterceptor .java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.inv oke(EJB3TCCLInterceptor.java:86) at org.jboss.aop.joinpoint.MethodInvocation.invokeNex t(MethodInvocation.java:102) at org.jboss.ejb3.session.SessionSpecContainer.invoke (SessionSpecContainer.java:193) at org.jboss.ejb3.session.SessionSpecContainer.invoke (SessionSpecContainer.java:250) at org.jboss.ejb3.proxy.impl.handler.session.SessionP roxyInvocationHandlerBase.invoke(SessionProxyInvoc ationHandlerBase.java:188) at $Proxy1363.setDeviceModelInNewTransactionLocal(Unknown Source) at com.rim.bes.bas.devicemanager.DeviceManagerBean.setDeviceModelsLocal(DeviceManagerBean.java:5668) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.