Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » java.lang.IllegalArgumentException
java.lang.IllegalArgumentException [message #47201] Thu, 04 September 2008 21:15 Go to next message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hello,
I’m trying to set up bridge on new box and getting following error when
doing PDQ.
Same exact configuration works good on another box. Looks like I need to
change some configuration. Any Idea what needs to be changed?

DEBUG][2008-09-04T19:54:29.362+0000][se.ohf.bridge.conf.rhio .IheUri]
Returning unsecured connection: mllp://................
[DEBUG][2008-09-04T19:54:29.461+0000][f.ihe.pdq.consumer.Pdq Consumer]
PdqConsumer: createDemographicQuery - Entry
[DEBUG][2008-09-04T19:54:29.468+0000][se.ohf.ihe.pdq.consume r.PdqMsg]
PdqConsumerQuery: createQueryMsg - Entry
[ERROR][2008-09-04T19:54:29.481+0000][clipse.ohf.bridge.ws.O HFBridge]
failed at SearchPatient
java.lang.IllegalArgumentException
at sun.util.calendar.ZoneInfo.getOffset(Unknown Source)
at org.eclipse.ohf.utilities.Iso8601Date.setAsDate(Iso8601Date. java:493)
at
org.eclipse.ohf.utilities.Iso8601Date.renderFromDate(Iso8601 Date.java:631)
at
org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:780)
at
org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
at
org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
at
org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:507)
at
org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:488)
at org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.createQueryMsg(PdqMs g.java:599)
at org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.<init>(PdqMsg.java:109)
at
org.eclipse.ohf.ihe.pdq.consumer.PdqConsumerDemographicQuery . <init>(PdqConsumerDemographicQuery.java:46)
at
org.eclipse.ohf.ihe.pdq.consumer.PdqConsumer.createDemograph icQuery(PdqConsumer.java:103)
at
org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.c reatePdqConsumerQuery(IhePatientConsumerBridge.java:148)
at
org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatientUsingPDQ(IhePatientConsumerBridge.java:83)
at
org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatient(IhePatientConsumerBridge.java:62)
at org.eclipse.ohf.bridge.ws.OHFBridge.SearchPatient(OHFBridge. java:463)
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.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:95)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)


Thanks,
Dmitry
Re: java.lang.IllegalArgumentException [message #47247 is a reply to message #47201] Thu, 04 September 2008 21:42 Go to previous messageGo to next message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Hi Dmitry,

Nice to hear from you. I think you've stumbled on to a known bug. For
the background see here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243409

And for an attachment to fix, see here:
https://bugs.eclipse.org/bugs/attachment.cgi?id=109441

Delete your existing org.eclipse.ohf.utilities JAR in the Bridge
installation location (tomcat/bridge/WEB-INF/eclipse/plugins) and
replace with the one from the bugzilla site.

-Matt


Dmitry Shalimov wrote:
> Hello,
> I�m trying to set up bridge on new box and getting following error when
> doing PDQ.
> Same exact configuration works good on another box. Looks like I need to
> change some configuration. Any Idea what needs to be changed?
>
> DEBUG][2008-09-04T19:54:29.362+0000][se.ohf.bridge.conf.rhio .IheUri]
> Returning unsecured connection: mllp://................
> [DEBUG][2008-09-04T19:54:29.461+0000][f.ihe.pdq.consumer.Pdq Consumer]
> PdqConsumer: createDemographicQuery - Entry
> [DEBUG][2008-09-04T19:54:29.468+0000][se.ohf.ihe.pdq.consume r.PdqMsg]
> PdqConsumerQuery: createQueryMsg - Entry
> [ERROR][2008-09-04T19:54:29.481+0000][clipse.ohf.bridge.ws.O HFBridge]
> failed at SearchPatient
> java.lang.IllegalArgumentException
> at sun.util.calendar.ZoneInfo.getOffset(Unknown Source)
> at
> org.eclipse.ohf.utilities.Iso8601Date.setAsDate(Iso8601Date. java:493)
> at
> org.eclipse.ohf.utilities.Iso8601Date.renderFromDate(Iso8601 Date.java:631)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:780)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:507)
>
> at
> org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:488)
>
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.createQueryMsg(PdqMs g.java:599)
> at org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.<init>(PdqMsg.java:109)
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqConsumerDemographicQuery . <init>(PdqConsumerDemographicQuery.java:46)
>
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqConsumer.createDemograph icQuery(PdqConsumer.java:103)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.c reatePdqConsumerQuery(IhePatientConsumerBridge.java:148)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatientUsingPDQ(IhePatientConsumerBridge.java:83)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatient(IhePatientConsumerBridge.java:62)
>
> at
> org.eclipse.ohf.bridge.ws.OHFBridge.SearchPatient(OHFBridge. java:463)
> 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.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
>
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
>
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
> at
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:68)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:95)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:174)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:874)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:689)
>
> at java.lang.Thread.run(Unknown Source)
>
>
> Thanks,
> Dmitry
>
>
Re: java.lang.IllegalArgumentException [message #47295 is a reply to message #47247] Fri, 05 September 2008 16:02 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hi Matthew,
Thank you so much.
Dmitry
Re: java.lang.IllegalArgumentException [message #587364 is a reply to message #47201] Thu, 04 September 2008 21:42 Go to previous message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Hi Dmitry,

Nice to hear from you. I think you've stumbled on to a known bug. For
the background see here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243409

And for an attachment to fix, see here:
https://bugs.eclipse.org/bugs/attachment.cgi?id=109441

Delete your existing org.eclipse.ohf.utilities JAR in the Bridge
installation location (tomcat/bridge/WEB-INF/eclipse/plugins) and
replace with the one from the bugzilla site.

-Matt


Dmitry Shalimov wrote:
> Hello,
> I�m trying to set up bridge on new box and getting following error when
> doing PDQ.
> Same exact configuration works good on another box. Looks like I need to
> change some configuration. Any Idea what needs to be changed?
>
> DEBUG][2008-09-04T19:54:29.362+0000][se.ohf.bridge.conf.rhio .IheUri]
> Returning unsecured connection: mllp://...............
> [DEBUG][2008-09-04T19:54:29.461+0000][f.ihe.pdq.consumer.Pdq Consumer]
> PdqConsumer: createDemographicQuery - Entry
> [DEBUG][2008-09-04T19:54:29.468+0000][se.ohf.ihe.pdq.consume r.PdqMsg]
> PdqConsumerQuery: createQueryMsg - Entry
> [ERROR][2008-09-04T19:54:29.481+0000][clipse.ohf.bridge.ws.O HFBridge]
> failed at SearchPatient
> java.lang.IllegalArgumentException
> at sun.util.calendar.ZoneInfo.getOffset(Unknown Source)
> at
> org.eclipse.ohf.utilities.Iso8601Date.setAsDate(Iso8601Date. java:493)
> at
> org.eclipse.ohf.utilities.Iso8601Date.renderFromDate(Iso8601 Date.java:631)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:780)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Cell.setAsDateTime( Cell.java:777)
> at
> org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:507)
>
> at
> org.eclipse.ohf.hl7v2.core.message.model.Message.addMSHFromF ields(Message.java:488)
>
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.createQueryMsg(PdqMs g.java:599)
> at org.eclipse.ohf.ihe.pdq.consumer.PdqMsg.<init>(PdqMsg.java:109)
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqConsumerDemographicQuery . <init>(PdqConsumerDemographicQuery.java:46)
>
> at
> org.eclipse.ohf.ihe.pdq.consumer.PdqConsumer.createDemograph icQuery(PdqConsumer.java:103)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.c reatePdqConsumerQuery(IhePatientConsumerBridge.java:148)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatientUsingPDQ(IhePatientConsumerBridge.java:83)
>
> at
> org.eclipse.ohf.bridge.ihe.pixpdq.IhePatientConsumerBridge.s earchPatient(IhePatientConsumerBridge.java:62)
>
> at
> org.eclipse.ohf.bridge.ws.OHFBridge.SearchPatient(OHFBridge. java:463)
> 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.apache.axis.providers.java.RPCProvider.invokeMethod(RPCP rovider.java:397)
>
> at
> org.apache.axis.providers.java.RPCProvider.processMessage(RP CProvider.java:186)
>
> at
> org.apache.axis.providers.java.JavaProvider.invoke(JavaProvi der.java:323)
> at
> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService .java:453)
> at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281 )
> at
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:699)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:68)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.eclipse.equinox.servletbridge.BridgeServlet.service(Brid geServlet.java:95)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:188)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:213)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:174)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:127)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:117)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:108)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:174)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:874)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11Connection Handler.processConnection(Http11BaseProtocol.java:665)
>
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Poo lTcpEndpoint.java:528)
>
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:81)
>
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:689)
>
> at java.lang.Thread.run(Unknown Source)
>
>
> Thanks,
> Dmitry
>
>
Re: java.lang.IllegalArgumentException [message #587378 is a reply to message #47247] Fri, 05 September 2008 16:02 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hi Matthew,
Thank you so much.
Dmitry
Previous Topic:java.lang.IllegalArgumentException
Next Topic:java.lang.ArrayIndexOutOfBoundsException
Goto Forum:
  


Current Time: Mon Sep 22 00:21:50 GMT 2014

Powered by FUDForum. Page generated in 0.01742 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software