1 Reply Latest reply on Apr 6, 2006 4:39 PM by Tom Elrod

    Bug in org.jboss.remoting.InvokerLocator

    Anders Hedstrom Novice


      I'm using JBoss 4.0.4RC1.

      In a SLSB a call a web service that has the following endpoint: http://host:port/services/uri:Test

      When I try to execute the call, I get a StringIndexOutOfBoundsException. I've looked at the source code and located the problem to the class InvokerLocator at line 135:

      int p = tmp.lastIndexOf(":");

      To fix this a changed ti code to the following:

      int p = tmp.indexOf(":");
      if(i != -1)
       p = (p < i ? p : -1);

      Then it all works fine.