This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IndexOutOfBoundsException: Index: 0, Size: 0 thrown from custom validator

 
sam White
Ranch Hand
Posts: 229
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why I am having the following exception:

13:15:49,666 ERROR [ForestsurfClient.validators.ForestsurfEmailValidator] (http--192.168.1.20-8080-2) ====ForestsurfEmailValidator exceptoin:javax.ejb.EJBException: java.lang.RuntimeException:
javax.xml.ws.soap.SOAPFaultException: javax.ejb.EJBException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0


My validator:



Any suggestion is very appreciated.
Thanks
sam
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic