Uploaded image for project: 'OrderManager'
  1. OrderManager
  2. OM-57

Problem with the Initiator class of Hapi for the ORL_O34 HL7 v2.5.1 message.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-GA
    • Fix Version/s: 2.0-GA
    • Component/s: Analyzer Manager
    • Labels:
      None

      Description

      When the Analyzer Manager Simulator receives the ORL_O34 message response, Hapi tries to parse the response (in the sendAndReceive method of the Initiator class of Hapi). Unfortunately, for the version 2.5.1 of HL7, Hapi can't parse the ORL_O34 message (probably an Hapi bug) and return the error below :

      16:11:24,878 ERROR [AWOSSender] Error occurred during the transaction with 127.0.0.1: ca.uhn.hl7v2.HL7Exception: Can't instantiate class ca.uhn.hl7v2.model.v2
      51.group.ORL_O34_OBSERVATION_REQUEST
      16:11:24,882 ERROR [STDERR] ca.uhn.hl7v2.HL7Exception: Error occurred during the transaction with 127.0.0.1: ca.uhn.hl7v2.HL7Exception: Can't instantiate clas
      s ca.uhn.hl7v2.model.v251.group.ORL_O34_OBSERVATION_REQUEST
      16:11:24,885 ERROR [STDERR] at net.ihe.gazelle.ordermanager.hl7.initiators.AWOSSender.sendMessageAndGetTheHL7Message(AWOSSender.java:455)
      16:11:24,886 ERROR [STDERR] at net.ihe.gazelle.ordermanager.hl7.initiators.AWOSSender.sendMessage(AWOSSender.java:343)
      16:11:24,888 ERROR [STDERR] at net.ihe.gazelle.ordermanager.hl7.initiators.AWOSSender.addOrderToSpecimenAndSendMessage(AWOSSender.java:646)
      16:11:24,890 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:11:24,892 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      16:11:24,894 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16:11:24,896 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      16:11:24,897 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      16:11:24,899 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      16:11:24,901 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      16:11:24,903 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      16:11:24,905 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      16:11:24,907 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      16:11:24,909 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      16:11:24,910 ERROR [STDERR] at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
      16:11:24,913 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      16:11:24,915 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      16:11:24,917 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
      16:11:24,918 ERROR [STDERR] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
      16:11:24,920 ERROR [STDERR] at net.ihe.gazelle.ordermanager.hl7.initiators.AWOSSender_$$_javassist_seam_10.addOrderToSpecimenAndSendMessage(AWOSSender_$$_
      javassist_seam_10.java)
      16:11:24,922 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      16:11:24,924 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      16:11:24,925 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      16:11:24,927 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
      16:11:24,929 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335)
      16:11:24,931 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280)
      16:11:24,933 ERROR [STDERR] at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
      16:11:24,935 ERROR [STDERR] at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
      16:11:24,936 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      16:11:24,938 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      16:11:24,939 ERROR [STDERR] at org.jboss.seam.el.OptionalParameterMethodExpression.invoke(OptionalParameterMethodExpression.java:39)
      16:11:24,941 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      16:11:24,943 ERROR [STDERR] at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:99)
      16:11:24,946 ERROR [STDERR] at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      16:11:24,947 ERROR [STDERR] at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771)
      16:11:24,949 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:372)
      16:11:24,950 ERROR [STDERR] at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
      16:11:24,952 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
      16:11:24,953 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
      16:11:24,955 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
      16:11:24,956 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
      16:11:24,958 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
      16:11:24,960 ERROR [STDERR] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      16:11:24,961 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      16:11:24,963 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      16:11:24,965 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      16:11:24,966 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:11:24,969 ERROR [STDERR] at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:62)
      16:11:24,970 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      16:11:24,972 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:11:24,974 ERROR [STDERR] at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:167)
      16:11:24,976 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      16:11:24,977 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:11:24,979 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      16:11:24,981 ERROR [STDERR] at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
      16:11:24,983 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:24,984 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
      16:11:24,986 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:24,988 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      16:11:24,990 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:24,992 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
      16:11:24,994 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:24,996 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
      16:11:24,997 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:295)
      16:11:24,999 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:393)
      16:11:25,001 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:520)
      16:11:25,002 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
      16:11:25,004 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:25,006 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
      16:11:25,007 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:25,009 ERROR [STDERR] at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)
      16:11:25,011 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      16:11:25,012 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      16:11:25,015 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      16:11:25,017 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:11:25,019 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      16:11:25,021 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      16:11:25,022 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      16:11:25,024 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      16:11:25,026 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      16:11:25,028 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      16:11:25,030 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      16:11:25,031 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      16:11:25,033 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      16:11:25,034 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      16:11:25,036 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      16:11:25,037 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      16:11:25,039 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      16:11:25,040 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      16:11:25,042 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      16:11:25,043 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      16:11:25,045 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      16:11:25,048 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      16:11:25,049 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)


      See the jira below :
      http://gazelle.ihe.net/jira/browse/HLSEVENCMN-30

        Attachments

          Activity

            People

            • Assignee:
              nlefebvr Nicolas Lefebvre
              Reporter:
              nlefebvr Nicolas Lefebvre
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h

                  Potential Duplicates