mittim - 2006-08-10

Hi ! I've a big problem with using the JXL-api

I create a workbook and then I want to create a worksheet for each row in my Vector. the index of the vector is "p".
WritableSheet sheet = workbook.createSheet(codeetude, p);

Here is the problem, the following exception is thrown :

java.lang.StringIndexOutOfBoundsException: String index out of range: 0
java.lang.String.charAt(String.java:444)
jxl.write.biff.WritableSheetImpl.validateName(WritableSheetImpl.java:2391)
jxl.write.biff.WritableSheetImpl.<init>(WritableSheetImpl.java:291)
jxl.write.biff.WritableWorkbookImpl.createSheet(WritableWorkbookImpl.java:460)
jxl.write.biff.WritableWorkbookImpl.createSheet(WritableWorkbookImpl.java:512)
org.apache.jsp.marketing.event.etiquette_005fjxl_jsp._jspService(org.apache.jsp.marketing.event.etiquette_005fjxl_jsp:186)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)