my dog learned polymorphism
The moose likes GWT and the fly likes SEVERE: Exception while dispatching incoming RPC call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "SEVERE: Exception while dispatching incoming RPC call" Watch "SEVERE: Exception while dispatching incoming RPC call" New topic

SEVERE: Exception while dispatching incoming RPC call

Mark Wallace

Joined: Nov 05, 2011
Posts: 1
I have a GWT web app that connects to an LDAP server on port 386. It has a simple input box and when a user starts typing it returns selections in a list below the input box much like a Google search box does. The app works fine from my local host. It returns the suggestion names of those that the search string in the input box is %like. When I moved the app to a different server everything shows up as it should, but when the RPC call is made something goes wrong and no or bad data is returned from the LDAP. The new server is https: as opposed to the localhost server which is http. Has anyone encountered this? I am primarily a user layer programmer but I need help getting this working so I can continue to do what I need to do. Thanks for any help!

SEVERE: Exception while dispatching incoming RPC call
Service method 'public abstract,
' threw an unexpected exception: java.lang.ArrayIndexOutOfBoundsException: 1

at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10826

Welcome to the Ranch.
With the (limited) information you have provided, most probably, somewhere in your code, you have assumed the the suggestion oracle will contain at least two entries. You might want to check that piece and put in a check for zero number of suggestions

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: SEVERE: Exception while dispatching incoming RPC call
It's not a secret anymore!