wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes IndexOutOfBoundsException: Index: 0, Size: 0 thrown from custom validator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "IndexOutOfBoundsException: Index: 0, Size: 0 thrown from custom validator" Watch "IndexOutOfBoundsException: Index: 0, Size: 0 thrown from custom validator" New topic
Author

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

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
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.
 
subject: IndexOutOfBoundsException: Index: 0, Size: 0 thrown from custom validator
 
Similar Threads
Nested Try Catch
Some ArrayList issues
How many prime Exist between two numbers?
powermock and easy mock not working
JSR 303 Custom validation annotation is not firing