• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Incorrect Colum/Size Error while converting from java to excel

 
Shyam Kasthala
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am trying to convert java to excel but i am getting the following error :

java.lang.IndexOutOfBoundsException : reserve - Incorrect column/size

Please help me out as soon as possible.Thanks in advance.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ajith George
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please print the exception stack trace and find where exactly it is occuring. if possible post the trace here.
 
Shyam Kasthala
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The following is my Stack trace.


Select query for deposit =select decode(trdh_sds_typ,'T', decode(sign(trdh_sw_effective_from - TO_DATE('31/03/2006','DD/MM/YYYY')), 1 , to_char(trdh_sw_effective_from,'DD-MON-YYYY'), to_char(nvl(trdh_repaid_dt,trdh_mat_dt),'DD-MON-YYYY') ), decode(trdh_repaid_dt, TO_DATE('31/03/2006','DD/MM/YYYY'), to_char(trdh_repaid_dt,'DD-MON-YYYY'), decode(sign(trdh_repaid_dt - TO_DATE('31/03/2006','DD/MM/YYYY')) , -1, to_char(trdh_repaid_dt,'DD-MON-YYYY'), to_char(trdh_mat_dt,'DD-MON-YYYY') ) ) ) TRDH_MAT_DT, to_char(TRDH_REPAID_DT, 'DD-MON-YYYY') TRDH_REPAID_DT from dealhdr_view where trdh_dl_no = getMaxDealNoAsOnDate ('B990004522', TO_DATE('31/03/2006','DD/MM/YYYY') )
2006-11-08 16:26:54:640 ERROR: lbs.reports.LBSRepCostBorrow: Exception while writting pdf =java.lang.IndexOutOfBoundsException: reserve - incorrect column/size
2006-11-08 16:26:54:718 DEBUG: lbs.reports.LBSRepCostBorrow: PDF123
2006-11-08 16:26:54:734 DEBUG: lbs.reports.LBSRepCostBorrowSearch: depositType =null
2006-11-08 16:26:54:734 DEBUG: lbs.reports.LBSRepCostBorrowSearch: dealType =null
2006-11-08 16:26:55:078 DEBUG: LBSREPServlet : inside REPMISPRN reports/LBSRepCostBorrowSearch.jsp


Thanks in advance.
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is not a stack trace. My suggestion would be to contact the developer of the program and show them that log.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if he can explain how a query that generates a pdf has an excel problem. I want to hear that one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic