Uploaded image for project: 'Gazelle Test Management'
  1. Gazelle Test Management
  2. GZL-3631

TM crashes when generating an ATNA questionnaire for IASI's system

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Urgent
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Gazelle TM 5.3.0
    • Component/s: None
    • Labels:
      None
    • Account:
      Maintenance 2016 (MAINTENANCE2016)

      Description

      Generating a questionnaire for that system http://gazelle.ihe.net/EU-CAT/systemInSession.seam?systemId=1502 raises an hibernate error and as a consequence the generated questionnaire is empty (no inbound/outbound communications, no audit messages).
      I have created a new system in Dummy testing session with exactly the same AIPOs and managed to generate the questionnaire:
      http://gazelle.ihe.net/tls/questionnaire/editor.seam?id=67

      gazelle-tm.ear/gazelle-tm.war/ 10:49:26,919 ERROR [Exceptions] handled and logged exception
      ******* org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2038.listInboundsForSystemInSession(Unknown Source)
         (20) at net.ihe.gazelle.tm.configurations.ws.SystemConfigurationsWs.listInboundsForSystemInSession(SystemConfigurationsWs.java:231)
         (21) at net.ihe.gazelle.tm.configurations.ws.SystemConfigurationsWs.listNetworkCommunicationsForSystemInSession(SystemConfigurationsWs.java:288)
         (22) at net.ihe.gazelle.hql.HQLQueryBuilder.getList(HQLQueryBuilder.java:331)
         (23) at net.ihe.gazelle.hql.HQLQueryBuilder.getListClassic(HQLQueryBuilder.java:337)
         (24) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:391)
         (25) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:413)
         (26) at net.ihe.gazelle.hql.HQLQueryBuilder.createRealQuery(HQLQueryBuilder.java:249)
         (27) at com.sun.proxy.$Proxy2047.createQuery(Unknown Source)
         (28) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93)
         (29) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
         (30) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
         (31) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
         (32) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
         (33) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
         (34) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
         (35) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
         (36) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183)
         (37) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:258)
         (38) at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82)
         (39) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
         (40) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
      Caught by :
                  Same first 27 lines
         (28) org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:96)
         (29) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:601)
      Rethrow java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      Caught by :
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2038.listInboundsForSystemInSession(Unknown Source)
      Rethrow javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      Caught by :
                  Same first 13 lines
         (14) org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:501)
         (15) at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:172)
         (16) at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:195)
         (17) at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:295)
      Rethrow org.jboss.resteasy.spi.UnhandledException: javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      seam.jboss.org:loader=TestManagement 10:49:26,935 ERROR [PARSER] <AST>:0:0: unexpected AST node: query
      gazelle-tm.ear/gazelle-tm.war/ 10:49:26,942 ERROR [Exceptions] handled and logged exception
      ******* org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2038.listOutboundsForSystemInSession(Unknown Source)
         (20) at net.ihe.gazelle.tm.configurations.ws.SystemConfigurationsWs.listOutboundsForSystemInSession(SystemConfigurationsWs.java:236)
         (21) at net.ihe.gazelle.tm.configurations.ws.SystemConfigurationsWs.listNetworkCommunicationsForSystemInSession(SystemConfigurationsWs.java:288)
         (22) at net.ihe.gazelle.hql.HQLQueryBuilder.getList(HQLQueryBuilder.java:331)
         (23) at net.ihe.gazelle.hql.HQLQueryBuilder.getListClassic(HQLQueryBuilder.java:337)
         (24) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:391)
         (25) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:413)
         (26) at net.ihe.gazelle.hql.HQLQueryBuilder.createRealQuery(HQLQueryBuilder.java:249)
         (27) at com.sun.proxy.$Proxy2047.createQuery(Unknown Source)
         (28) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93)
         (29) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
         (30) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
         (31) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
         (32) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
         (33) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
         (34) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
         (35) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
         (36) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183)
         (37) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:258)
         (38) at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82)
         (39) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
         (40) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
      Caught by :
                  Same first 27 lines
         (28) org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:96)
         (29) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:601)
      Rethrow java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      Caught by :
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2038.listOutboundsForSystemInSession(Unknown Source)
      Rethrow javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      Caught by :
                  Same first 13 lines
         (14) org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:501)
         (15) at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:172)
         (16) at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:195)
         (17) at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:295)
      Rethrow org.jboss.resteasy.spi.UnhandledException: javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       left join this_.transaction as transaction_
       left join transaction_.transactionStatusType as transactionStatusType_
       where
      () and
      transactionStatusType_.keyword != :restriction_0]
      gazelle-tm.ear/gazelle-tm.war/ 10:50:38,695 WARN [Component] Exception calling component @Destroy method: userManagerExtraBean
      ******* javax.ejb.NoSuchEJBException: Could not find stateful bean: 2mn6v30-q57guj-i7lha1q1-1-i7pz5nvg-7xt
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at com.sun.proxy.$Proxy2045.destroy(Unknown Source)
      seam.jboss.org:loader=TestManagement 10:52:53,866 ERROR [PARSER] <AST>:0:0: unexpected AST node: query
      gazelle-tm.ear/gazelle-tm.war/ 10:52:53,870 ERROR [Exceptions] handled and logged exception
      ******* org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       where
      ()]
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2036.getAuditMessagesToBeProducedBySystemInSession(Unknown Source)
         (20) at net.ihe.gazelle.tf.ws.AuditMessageWs.getAuditMessagesToBeProducedBySystemInSession(AuditMessageWs.java:96)
         (21) at net.ihe.gazelle.tf.ws.AuditMessageWs.getHQLRestrictionOnTransactionLinksForSystem(AuditMessageWs.java:130)
         (22) at net.ihe.gazelle.hql.HQLQueryBuilder.getList(HQLQueryBuilder.java:331)
         (23) at net.ihe.gazelle.hql.HQLQueryBuilder.getListClassic(HQLQueryBuilder.java:337)
         (24) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:391)
         (25) at net.ihe.gazelle.hql.HQLQueryBuilder.getListWithProvidedFrom(HQLQueryBuilder.java:413)
         (26) at net.ihe.gazelle.hql.HQLQueryBuilder.createRealQuery(HQLQueryBuilder.java:249)
         (27) at com.sun.proxy.$Proxy2047.createQuery(Unknown Source)
         (28) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:93)
         (29) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
         (30) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
         (31) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
         (32) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
         (33) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
         (34) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
         (35) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
         (36) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:183)
         (37) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:258)
         (38) at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82)
         (39) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
         (40) at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
      Caught by :
                  Same first 27 lines
         (28) org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:96)
         (29) at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:601)
      Rethrow java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       where
      ()]
      Caught by :
          (1) java.lang.Thread.run(Thread.java:662)
          (2) at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85)
          (3) at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50)
          (4) at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74)
          (5) at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87)
          (6) at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62)
          (7) at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56)
          (8) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
          (9) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:43)
         (10) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:48)
         (11) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:198)
         (12) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:117)
         (13) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:463)
         (14) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:486)
         (15) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:204)
         (16) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:214)
         (17) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:246)
         (18) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
         (19) at com.sun.proxy.$Proxy2036.getAuditMessagesToBeProducedBySystemInSession(Unknown Source)
      Rethrow javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       where
      ()]
      Caught by :
                  Same first 13 lines
         (14) org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:501)
         (15) at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:172)
         (16) at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:195)
         (17) at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:295)
      Rethrow org.jboss.resteasy.spi.UnhandledException: javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select distinct this_
       from net.ihe.gazelle.tf.model.TransactionLink as this_
       where
      ()]

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aberge Anne-Gaelle Berge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  Potential Duplicates