Re: [appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
I'm getting this when I should be getting a list of records. I wouldn't have thought that an empty string in a record would make it go boom. Jason Brice wrote: Looks like you have an empty string. For example, the following code will throw a StringIndexOutOfBoundsException: String

Re: [appfuse-user] String index out of range: 0

2007-12-02 Thread Jason Brice
Looks like you have an empty string. For example, the following code will throw a StringIndexOutOfBoundsException: String myString = ""; System.out.println("char at 0 is: " + myString.charAt(0)); hth, Jason On Dec 2, 2007 9:16 AM, Fred Forester <[EMAIL PROTECTED]> wrote: > > Hi All, >

[appfuse-user] String index out of range: 0

2007-12-02 Thread Fred Forester
Hi All, not sure why this is happening? any help appreciated. Thanx. Fred java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:558) at org.hibernate.type.CharacterType.get(CharacterType.java:29) at org.hibernat