
|
If you were logged in you would be able to see more operations.
|
|
|
I have 2 patients in my system called KNAPP and GNAPP (both are linked together). If I use a PDQ query and search for *NAPP I get the following exception:
2011-01-20 14:26:30,894 ERROR [STDERR] Exception in thread "Thread-29"
2011-01-20 14:26:30,894 ERROR [STDERR] java.lang.IllegalAccessError: tried to access method ca.uhn.hl7v2.model.AbstractGroup.add(Ljava/lang/Class;ZZ)Ljava/lang/String; from class org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.popluatePIDGroup(PdQueryHandler.java:478)
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.processQuery(PdQueryHandler.java:336)
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.processMessage(PdQueryHandler.java:157)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)
|
|
Description
|
I have 2 patients in my system called KNAPP and GNAPP (both are linked together). If I use a PDQ query and search for *NAPP I get the following exception:
2011-01-20 14:26:30,894 ERROR [STDERR] Exception in thread "Thread-29"
2011-01-20 14:26:30,894 ERROR [STDERR] java.lang.IllegalAccessError: tried to access method ca.uhn.hl7v2.model.AbstractGroup.add(Ljava/lang/Class;ZZ)Ljava/lang/String; from class org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.popluatePIDGroup(PdQueryHandler.java:478)
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.processQuery(PdQueryHandler.java:336)
2011-01-20 14:26:30,894 ERROR [STDERR] at org.openhealthexchange.openpixpdq.ihe.impl_v2.PdQueryHandler.processMessage(PdQueryHandler.java:157)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.MessageTypeRouter.processMessage(MessageTypeRouter.java:52)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:159)
2011-01-20 14:26:30,894 ERROR [STDERR] at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121) |
Show » |
Sort Order:
|
Arnold,
This looks to me like a class library issue. It seems like the hapi library version that is being loaded at runtime does not match the version of the library that the code was compiled against. The hapi-0.5.1.jar file that I am using does have a public version of the add method that matches the expected signature.
// Method descriptor #135 (Ljava/lang/Class;ZZ)Ljava/lang/String;
// Stack: 6, Locals: 5
public java.lang.String add(java.lang.Class c, boolean required, boolean repeating) throws ca.uhn.hl7v2.HL7Exception;