Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException [message #47310] Fri, 05 September 2008 13:30 Go to next message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hello,
I'm trying to execute document query against registry and bridge getting
this exception:
[ERROR][2008-09-05T17:17:58.995+0000][clipse.ohf.bridge.ws.O HFBridge]
failed at QueryDocumentsByPatientId
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.getMAC(UUI DGenerator.java:163)
at
org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generate(U UIDGenerator.java:132)
at
org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generateUR N(UUIDGenerator.java:240)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.configur eAddressing(AbstractOHFSOAPSender.java:134)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:359)
at
org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
at
org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
at org.eclipse.ohf.ihe.xds.consumer.Consumer.sendQuery(Consumer .java:533)
at
org.eclipse.ohf.ihe.xds.consumer.Consumer.invokeStoredQuery( Consumer.java:314)
at
org.eclipse.ohf.bridge.ihe.IheXdsBridge.goQueryDocumentsByPa tientId(IheXdsBridge.java:152)
at
org.eclipse.ohf.bridge.xds.AbstractXdsBridge.queryDocumentsB yPatientId(AbstractXdsBridge.java:49)
at
org.eclipse.ohf.bridge.ws.OHFBridge.QueryDocumentsByPatientI d(OHFBridge.java:97)
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)

Is this known problem? Any help will be greatly appreciated.

Thanks,
Dmitry
Re: java.lang.ArrayIndexOutOfBoundsException [message #47354 is a reply to message #47310] Fri, 05 September 2008 14:04 Go to previous messageGo to next message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Never run into this before. What operating system are you using?

-Matt


Dmitry Shalimov wrote:
> Hello,
> I'm trying to execute document query against registry and bridge getting
> this exception:
> [ERROR][2008-09-05T17:17:58.995+0000][clipse.ohf.bridge.ws.O HFBridge]
> failed at QueryDocumentsByPatientId
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.getMAC(UUI DGenerator.java:163)
>
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generate(U UIDGenerator.java:132)
>
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generateUR N(UUIDGenerator.java:240)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.configur eAddressing(AbstractOHFSOAPSender.java:134)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:359)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at
> org.eclipse.ohf.ihe.xds.consumer.Consumer.sendQuery(Consumer .java:533)
> at
> org.eclipse.ohf.ihe.xds.consumer.Consumer.invokeStoredQuery( Consumer.java:314)
>
> at
> org.eclipse.ohf.bridge.ihe.IheXdsBridge.goQueryDocumentsByPa tientId(IheXdsBridge.java:152)
>
> at
> org.eclipse.ohf.bridge.xds.AbstractXdsBridge.queryDocumentsB yPatientId(AbstractXdsBridge.java:49)
>
> at
> org.eclipse.ohf.bridge.ws.OHFBridge.QueryDocumentsByPatientI d(OHFBridge.java:97)
>
> 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)
>
> Is this known problem? Any help will be greatly appreciated.
>
> Thanks,
> Dmitry
>
Re: java.lang.ArrayIndexOutOfBoundsException [message #47368 is a reply to message #47354] Fri, 05 September 2008 15:50 Go to previous messageGo to next message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Windows Vista.
Sorry for not mentioning this before.
I had no problem running it on Vista at last year Connectathon.
Re: java.lang.ArrayIndexOutOfBoundsException [message #47396 is a reply to message #47368] Fri, 05 September 2008 16:42 Go to previous messageGo to next message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Actually I'm gettign same exact message on win 2003 server
Re: java.lang.ArrayIndexOutOfBoundsException [message #47426 is a reply to message #47396] Fri, 05 September 2008 17:17 Go to previous messageGo to next message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Hi Dmitry, this is actually a really weird request on my part. Can you
please post the output of "ipconfig /all" from a command prompt?

Basically what's happening is it's attempting to determine your system's
MAC address as a seed to generate the UUID's. The fall back when it
cannot determine the IP address will work and I'll fix a bug to properly
catch the exception. I'd just like to know how your output is
differing. (probably has to do with multiple interfaces).

-Matt


Dmitry Shalimov wrote:
> Actually I'm gettign same exact message on win 2003 server
>
Re: java.lang.ArrayIndexOutOfBoundsException [message #47455 is a reply to message #47426] Mon, 08 September 2008 10:53 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hi Matt,
This error is hard to repro as it is going on and off. Restarting PC makes
it going away.
I think it has something to do with IP conflicts when using VPN. But this
is a requirement for the project that I’m working on to use VPN to
connect to reg/ epository.

I'm going to email you ipconfig/all

Thanks,
Dmitry
Re: java.lang.ArrayIndexOutOfBoundsException [message #587400 is a reply to message #47310] Fri, 05 September 2008 14:04 Go to previous message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Never run into this before. What operating system are you using?

-Matt


Dmitry Shalimov wrote:
> Hello,
> I'm trying to execute document query against registry and bridge getting
> this exception:
> [ERROR][2008-09-05T17:17:58.995+0000][clipse.ohf.bridge.ws.O HFBridge]
> failed at QueryDocumentsByPatientId
> java.lang.ArrayIndexOutOfBoundsException: 1
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.getMAC(UUI DGenerator.java:163)
>
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generate(U UIDGenerator.java:132)
>
> at
> org.eclipse.ohf.ihe.common.ws.utils.UUIDGenerator.generateUR N(UUIDGenerator.java:240)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.configur eAddressing(AbstractOHFSOAPSender.java:134)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:359)
>
> at
> org.eclipse.ohf.ihe.common.ws.AbstractOHFSOAPSender.send(Abs tractOHFSOAPSender.java:384)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:148)
>
> at
> org.eclipse.ohf.ihe.xds.soap.AbstractXDSSoapClient.send(Abst ractXDSSoapClient.java:104)
>
> at
> org.eclipse.ohf.ihe.xds.consumer.Consumer.sendQuery(Consumer .java:533)
> at
> org.eclipse.ohf.ihe.xds.consumer.Consumer.invokeStoredQuery( Consumer.java:314)
>
> at
> org.eclipse.ohf.bridge.ihe.IheXdsBridge.goQueryDocumentsByPa tientId(IheXdsBridge.java:152)
>
> at
> org.eclipse.ohf.bridge.xds.AbstractXdsBridge.queryDocumentsB yPatientId(AbstractXdsBridge.java:49)
>
> at
> org.eclipse.ohf.bridge.ws.OHFBridge.QueryDocumentsByPatientI d(OHFBridge.java:97)
>
> 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)
>
> Is this known problem? Any help will be greatly appreciated.
>
> Thanks,
> Dmitry
>
Re: java.lang.ArrayIndexOutOfBoundsException [message #587414 is a reply to message #47354] Fri, 05 September 2008 15:50 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Windows Vista.
Sorry for not mentioning this before.
I had no problem running it on Vista at last year Connectathon.
Re: java.lang.ArrayIndexOutOfBoundsException [message #587422 is a reply to message #47368] Fri, 05 September 2008 16:42 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Actually I'm gettign same exact message on win 2003 server
Re: java.lang.ArrayIndexOutOfBoundsException [message #587434 is a reply to message #47396] Fri, 05 September 2008 17:17 Go to previous message
Matthew Davis
Messages: 269
Registered: July 2009
Senior Member
Hi Dmitry, this is actually a really weird request on my part. Can you
please post the output of "ipconfig /all" from a command prompt?

Basically what's happening is it's attempting to determine your system's
MAC address as a seed to generate the UUID's. The fall back when it
cannot determine the IP address will work and I'll fix a bug to properly
catch the exception. I'd just like to know how your output is
differing. (probably has to do with multiple interfaces).

-Matt


Dmitry Shalimov wrote:
> Actually I'm gettign same exact message on win 2003 server
>
Re: java.lang.ArrayIndexOutOfBoundsException [message #587444 is a reply to message #47426] Mon, 08 September 2008 10:53 Go to previous message
Dmitry Shalimov is currently offline Dmitry Shalimov
Messages: 24
Registered: July 2009
Junior Member
Hi Matt,
This error is hard to repro as it is going on and off. Restarting PC makes
it going away.
I think it has something to do with IP conflicts when using VPN. But this
is a requirement for the project that I’m working on to use VPN to
connect to reg/ epository.

I'm going to email you ipconfig/all

Thanks,
Dmitry
Previous Topic:java.lang.ArrayIndexOutOfBoundsException
Next Topic:HIMSS workshop this year
Goto Forum:
  


Current Time: Fri Aug 01 03:54:08 EDT 2014

Powered by FUDForum. Page generated in 0.04611 seconds