m.baf.action.EmpleadoList_$$_javassist_seam_3

Hibernate JIRA | azael espinosa | 7 years ago
  1. 0

    The project was created by seam-gen EAR format I think it's a bug, but do not know how to fix it. I hope I can help regards 11:25:54,610 WARN [JDBCExceptionReporter] SQL Error: 102, SQLState: S0001 11:25:54,610 ERROR [JDBCExceptionReporter] Incorrect syntax near '-'. 11:25:54,641 SEVERE [viewhandler] Error Rendering View[/EmpleadoList.xhtml] javax.el.ELException: /EmpleadoList.xhtml: Error reading 'resultList' on type co m.baf.action.EmpleadoList_$$_javassist_seam_3 at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java: 48) at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.j ava:39) at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:275 ) at org.richfaces.renderkit.html.PanelRenderer.doEncodeBegin(PanelRendere r.java:189) at org.richfaces.renderkit.html.PanelRenderer.doEncodeBegin(PanelRendere r.java:148) at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:100 ) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav a:813) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav a:592) at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWra pper.java:100) at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.j ava:176) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha se.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFil ter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:190) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:433) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce ss(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok e(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGr ammarException: could not execute query at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException (AbstractEntityManagerImpl.java:614) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) at org.jboss.seam.framework.EntityQuery.initResultList(EntityQuery.java: 80) at org.jboss.seam.framework.EntityQuery.getResultList(EntityQuery.java:7 1) 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 org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocation Context.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackI nterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionI nterceptor.java:97) at org.jboss.seam.util.Work.workInTransaction(Work.java:47) at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(Transa ctionInterceptor.java:91) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodConte xtInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java: 107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(Java BeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanIntercept or.java:103) at com.baf.action.EmpleadoList_$$_javassist_seam_3.getResultList(Emplead oList_$$_javassist_seam_3.java) 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 javax.el.BeanELResolver.getValue(BeanELResolver.java:62) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:72) at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java :53) at org.jboss.el.parser.AstValue.getValue(AstValue.java:67) at org.jboss.el.parser.AstEmpty.getValue(AstEmpty.java:29) at org.jboss.el.parser.AstChoice.getValue(AstChoice.java:27) at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:18 6) at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184) at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108) at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java: 45) ... 58 more Caused by: org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j ava:90) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:66) at org.hibernate.loader.Loader.doList(Loader.java:2231) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125) at org.hibernate.loader.Loader.list(Loader.java:2120) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja va:361) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java :196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67) ... 94 more Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax nea r '-'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError (Unknown Source) at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.sendExecute(Unknown S ource) at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteQuery(Unknow n Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery( Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery (WrappedPreparedStatement.java:342) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java: 208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1808) at org.hibernate.loader.Loader.doQuery(Loader.java:697) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo ader.java:259) at org.hibernate.loader.Loader.doList(Loader.java:2228) ... 102 more 11:25:54,797 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,797 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,797 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,797 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,813 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,813 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,813 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,813 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,860 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,860 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >)

    Hibernate JIRA | 7 years ago | azael espinosa
    m.baf.action.EmpleadoList_$$_javassist_seam_3
  2. 0

    The project was created by seam-gen EAR format I think it's a bug, but do not know how to fix it. I hope I can help regards 11:25:54,610 WARN [JDBCExceptionReporter] SQL Error: 102, SQLState: S0001 11:25:54,610 ERROR [JDBCExceptionReporter] Incorrect syntax near '-'. 11:25:54,641 SEVERE [viewhandler] Error Rendering View[/EmpleadoList.xhtml] javax.el.ELException: /EmpleadoList.xhtml: Error reading 'resultList' on type co m.baf.action.EmpleadoList_$$_javassist_seam_3 at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java: 48) at com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.j ava:39) at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:275 ) at org.richfaces.renderkit.html.PanelRenderer.doEncodeBegin(PanelRendere r.java:189) at org.richfaces.renderkit.html.PanelRenderer.doEncodeBegin(PanelRendere r.java:148) at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:100 ) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.jav a:813) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.jav a:592) at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWra pper.java:100) at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.j ava:176) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePha se.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:83) at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFil ter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:190) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:433) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce ss(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok e(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Unknown Source) Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGr ammarException: could not execute query at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException (AbstractEntityManagerImpl.java:614) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76) at org.jboss.seam.framework.EntityQuery.initResultList(EntityQuery.java: 80) at org.jboss.seam.framework.EntityQuery.getResultList(EntityQuery.java:7 1) 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 org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocation Context.java:32) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:56) at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackI nterceptor.java:28) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionI nterceptor.java:97) at org.jboss.seam.util.Work.workInTransaction(Work.java:47) at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(Transa ctionInterceptor.java:91) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodConte xtInterceptor.java:44) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation Context.java:68) at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java: 107) at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(Java BeanInterceptor.java:185) at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanIntercept or.java:103) at com.baf.action.EmpleadoList_$$_javassist_seam_3.getResultList(Emplead oList_$$_javassist_seam_3.java) 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 javax.el.BeanELResolver.getValue(BeanELResolver.java:62) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe solver.java:72) at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java :53) at org.jboss.el.parser.AstValue.getValue(AstValue.java:67) at org.jboss.el.parser.AstEmpty.getValue(AstEmpty.java:29) at org.jboss.el.parser.AstChoice.getValue(AstChoice.java:27) at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:18 6) at com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184) at com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108) at com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java: 45) ... 58 more Caused by: org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j ava:90) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp er.java:66) at org.hibernate.loader.Loader.doList(Loader.java:2231) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125) at org.hibernate.loader.Loader.list(Loader.java:2120) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja va:361) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java :196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67) ... 94 more Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax nea r '-'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError (Unknown Source) at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerStatement.sendExecute(Unknown S ource) at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteQuery(Unknow n Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery( Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery (WrappedPreparedStatement.java:342) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java: 208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1808) at org.hibernate.loader.Loader.doQuery(Loader.java:697) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo ader.java:259) at org.hibernate.loader.Loader.doList(Loader.java:2228) ... 102 more 11:25:54,797 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,797 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,797 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,797 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,813 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,813 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,813 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,813 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >) 11:25:54,860 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null 11:25:54,860 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac tionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e status: ActionStatus.ABOR T_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eef31e:fb0:4b50a295:7e sta tus: ActionStatus.ABORT_ONLY >)

    Hibernate JIRA | 7 years ago | azael espinosa
    m.baf.action.EmpleadoList_$$_javassist_seam_3
  3. 0

    You are trying to use a connection factory that has been shut down

    developpez.net | 1 year ago
    javax.faces.FacesException: javax.el.ELException: /ClientList.xhtml @87,59 rendered="#{empty clientList.resultList}": Error reading 'resultList' on type org.domain.mycrm.session.ClientList_$$_javassist_6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Is it a missing implementation with JPA implementation of hibernate?

    Stack Overflow | 7 years ago | Jegan Kunniya
    javax.persistence.PersistenceException: org.hibernate.InstantiationException: No default constructor for entity: com.expt.hibernate.jpa.Student
  6. 0

    H2 Database - java.lang.ArrayIndexOutOfBoundsException: 0 in 1.2.124

    nabble.com | 4 months ago
    javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      org.hibernate.exception.SQLGr ammarException: could not execute query

      at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException()
    2. Hibernate EJB
      QueryImpl.getResultList
      1. org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
      2. org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:76)
      2 frames
    3. org.jboss.seam
      EntityQuery.getResultList
      1. org.jboss.seam.framework.EntityQuery.initResultList(EntityQuery.java:80)
      2. org.jboss.seam.framework.EntityQuery.getResultList(EntityQuery.java:71)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. org.jboss.seam
      JavaBeanInterceptor.invoke
      1. org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      2. org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      3. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      4. org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      5. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      6. org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97)
      7. org.jboss.seam.util.Work.workInTransaction(Work.java:47)
      8. org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91)
      9. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      10. org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      11. org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      12. org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      13. org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
      14. org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
      14 frames
    6. com.baf.action
      EmpleadoList_$$_javassist_seam_3.getResultList
      1. com.baf.action.EmpleadoList_$$_javassist_seam_3.getResultList(EmpleadoList_$$_javassist_seam_3.java)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    8. EL
      CompositeELResolver.getValue
      1. javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
      2. javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
      2 frames
    9. JSF
      FacesCompositeELResolver.getValue
      1. com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
      1 frame
    10. org.jboss.el
      ValueExpressionImpl.getValue
      1. org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      2. org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      3. org.jboss.el.parser.AstEmpty.getValue(AstEmpty.java:29)
      4. org.jboss.el.parser.AstChoice.getValue(AstChoice.java:27)
      5. org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      5 frames
    11. Facelets
      ELText$ELTextComposite.writeText
      1. com.sun.facelets.el.ELText$ELTextVariable.writeText(ELText.java:184)
      2. com.sun.facelets.el.ELText$ELTextComposite.writeText(ELText.java:108)
      2 frames